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 
4 
5 //DDRootDef::pointer_type DDRootDef::instance_ = 0;
6 
8 { }
9 
10 
12 { }
13 
14 
15 void DDRoot::set(const DDName & name)
16 {
17  DCOUT('C',"DDRoot::set() root=" << name);
18  root_ = DDLogicalPart(name);
19 }
20 
21 
23 {
24  DCOUT('C',"DDRoot::set() root=" << root);
25  root_ = root;
26 }
27 
40 DDLogicalPart DDRoot::root() const { return root_; }
41 /*
42 const DDLogicalPart & DDRoot::root() const
43 {
44  return root_;
45 }
46 */
void set(const DDName &rootName)
set the root by using its qualified name DDName
Definition: DDRoot.cc:15
DDRoot()
Definition: DDRoot.cc:7
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:11
DDLogicalPart root() const
returns the root of the geometrical hierarchy
Definition: DDRoot.cc:40
#define DCOUT(M_v_Y, M_v_S)
Definition: DDdebug.h:53
DDLogicalPart root_
Definition: DDRoot.h:31
string root
initialization
Definition: dbtoconf.py:70