CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_3/src/DetectorDescription/Core/src/DDRoot.cc

Go to the documentation of this file.
00001 #include "DetectorDescription/Base/interface/DDdebug.h"
00002 #include "DetectorDescription/Core/interface/DDRoot.h"
00003 
00004 
00005 //DDRootDef::pointer_type DDRootDef::instance_ = 0;
00006 
00007 DDRoot::DDRoot()
00008 { }
00009 
00010 
00011 DDRoot::~DDRoot()
00012 { }
00013 
00014 
00015 void DDRoot::set(const DDName & name)
00016 {
00017    DCOUT('C',"DDRoot::set() root=" << name);
00018    root_ = DDLogicalPart(name);
00019 }
00020 
00021 
00022 void DDRoot::set(const DDLogicalPart & root)
00023 {
00024    DCOUT('C',"DDRoot::set() root=" << root);
00025    root_ = root;
00026 }
00027 
00040 DDLogicalPart DDRoot::root() const { return root_; } 
00041 /*
00042 const DDLogicalPart & DDRoot::root() const      
00043 {
00044    return root_;
00045 }
00046 */