DetectorDescription
Core
interface
DDRoot.h
Go to the documentation of this file.
1
#ifndef DDRoot_h
2
#define DDRoot_h
3
4
#include "
DetectorDescription/Core/interface/DDLogicalPart.h
"
5
#include "
DetectorDescription/Core/interface/Singleton.h
"
6
8
14
class
DDRoot
{
15
public
:
16
DDRoot
();
17
~DDRoot
();
19
void
set
(
const
DDName
& rootName);
20
22
void
set
(
const
DDLogicalPart
&
root
);
23
25
DDLogicalPart
root
()
const
;
26
27
private
:
28
DDLogicalPart
root_
;
29
};
30
31
typedef
DDI::Singleton<DDRoot>
DDRootDef
;
32
#endif
DDName
DDName is used to identify DDD entities uniquely.
Definition:
DDName.h:17
DDRoot
Defines the root of the CompactView.
Definition:
DDRoot.h:14
DDI::Singleton
Definition:
Singleton.h:6
DDRoot::root_
DDLogicalPart root_
Definition:
DDRoot.h:28
DDRoot::root
DDLogicalPart root() const
returns the root of the geometrical hierarchy
Definition:
DDRoot.cc:26
DDRoot::~DDRoot
~DDRoot()
Definition:
DDRoot.cc:8
DDRoot::set
void set(const DDName &rootName)
set the root by using its qualified name DDName
Definition:
DDRoot.cc:10
DDLogicalPart
A DDLogicalPart aggregates information concerning material, solid and sensitveness ....
Definition:
DDLogicalPart.h:93
root
Definition:
RooFitFunction.h:10
DDRootDef
DDI::Singleton< DDRoot > DDRootDef
Definition:
DDRoot.h:31
DDLogicalPart.h
Singleton.h
DDRoot::DDRoot
DDRoot()
Definition:
DDRoot.cc:6
Generated for CMSSW Reference Manual by
1.8.16