Defines the root of the CompactView. More...
#include <DDRoot.h>
Public Member Functions | |
DDLogicalPart | root () const |
returns the root of the geometrical hierarchy More... | |
void | set (const DDName &rootName) |
set the root by using its qualified name DDName More... | |
void | set (const DDLogicalPart &root) |
set DDLogicalPart root to the root More... | |
Protected Member Functions | |
DDRoot () | |
~DDRoot () | |
Private Attributes | |
DDLogicalPart | root_ |
Friends | |
class | DDI::Singleton< DDRoot > |
Defines the root of the CompactView.
DDRoot will define the root of the geometrical hierarchy. The root also defines the base of the global coordinates. /todo provide possibility to have different roots for different parallel geometries /todo prohibit multiple calls for one geometry (the root can only be defined once!)
DDLogicalPart DDRoot::root | ( | ) | const |
void DDRoot::set | ( | const DDName & | rootName | ) |
set the root by using its qualified name DDName
Definition at line 15 of file DDRoot.cc.
Referenced by betterConfigParser.BetterConfigParser::getGeneral().
void DDRoot::set | ( | const DDLogicalPart & | root | ) |
set DDLogicalPart root to the root
Definition at line 22 of file DDRoot.cc.
References DCOUT, root(), and root_.
Referenced by betterConfigParser.BetterConfigParser::getGeneral().
|
friend |
|
private |