CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DDRoot.cc
Go to the documentation of this file.
3 
5 { }
6 
8 { }
9 
10 void DDRoot::set(const DDName & name)
11 {
12  DCOUT('C',"DDRoot::set() root=" << name);
13  root_ = DDLogicalPart(name);
14 }
15 
17 {
18  DCOUT('C',"DDRoot::set() root=" << root);
19  root_ = root;
20 }
21 
34 DDLogicalPart DDRoot::root() const { return root_; }
void set(const DDName &rootName)
set the root by using its qualified name DDName
Definition: DDRoot.cc:10
DDRoot()
Definition: DDRoot.cc:4
DDName is used to identify DDD entities uniquely.
Definition: DDName.h:18
A DDLogicalPart aggregates information concerning material, solid and sensitveness ...
Definition: DDLogicalPart.h:88
~DDRoot()
Definition: DDRoot.cc:7
DDLogicalPart root() const
returns the root of the geometrical hierarchy
Definition: DDRoot.cc:34
#define DCOUT(M_v_Y, M_v_S)
Definition: DDdebug.h:53
DDLogicalPart root_
Definition: DDRoot.h:29
string root
initialization
Definition: dbtoconf.py:70