Newer
Older
Markus Frank
committed
//==========================================================================
// AIDA Detector description implementation for LCD
Markus Frank
committed
//--------------------------------------------------------------------------
// Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
Markus Frank
committed
// All rights reserved.
Markus Frank
committed
// For the licensing terms see $DD4hepINSTALL/LICENSE.
// For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
Markus Frank
committed
// Author : M.Frank
//
//==========================================================================
#include "DD4hep/Handle.inl"
#include "TObject.h"
using namespace std;
using namespace DD4hep;
using namespace DD4hep::Geometry;
DD4HEP_INSTANTIATE_HANDLE_NAMED(NamedObject);
/// Initializing constructor
Markus Frank
committed
NamedObject::NamedObject(const char* nam, const char* typ)
: name(nam ? nam : ""), type(typ ? typ : "")
{
}
/// Initializing constructor
NamedObject::NamedObject(const std::string& nam)
: name(nam), type()
{
}
/// Initializing constructor
NamedObject::NamedObject(const std::string& nam, const std::string& typ)
: name(nam), type(typ)
{
}