CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DDRoot.h
Go to the documentation of this file.
1 #ifndef DDRoot_h
2 #define DDRoot_h
3 
6 
8 
14 class DDRoot
15 {
16  friend class DDI::Singleton<DDRoot>; //FIXME: should not be, because DDSingleton inherits from DDRoot!
17 public:
19  void set(const DDName & rootName);
20 
22  void set(const DDLogicalPart & root);
23 
25  DDLogicalPart root() const;
26  //const DDLogicalPart & root() const;
27 protected:
28  DDRoot();
29  ~DDRoot();
30 private:
32 };
33 
35 #endif
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
DDI::Singleton< DDRoot > DDRootDef
Definition: DDRoot.h:34
Defines the root of the CompactView.
Definition: DDRoot.h:14
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
DDLogicalPart root_
Definition: DDRoot.h:31