![]() |
DD4hep
1.31.0
Detector Description Toolkit for High Energy Physics
|
Concrete implementation class of the Detector interface. More...
#include <DetectorImp.h>
Public Member Functions | |
void | imp_loadVolumeManager () |
Local method (no interface): Load volume manager. More... | |
DetectorImp () | |
Default constructor used by ROOT I/O. More... | |
DetectorImp (const std::string &name) | |
Initializing constructor. More... | |
virtual | ~DetectorImp () |
Standard destructor. More... | |
virtual State | state () const override |
Access the state of the geometry. More... | |
virtual DetectorBuildType | buildType () const override |
Access flag to steer the detail of building of the geometry/detector description. More... | |
virtual void | fromCompact (const std::string &fname, DetectorBuildType type=BUILD_DEFAULT) override |
Read compact geometry description or alignment file. More... | |
virtual void | fromXML (const std::string &fname, DetectorBuildType type=BUILD_DEFAULT) override |
Read any XML file. More... | |
virtual void | fromXML (const std::string &fname, xml::UriReader *entity_resolver, DetectorBuildType type=BUILD_DEFAULT) override |
Read any geometry description or alignment file with external XML entity resolution. More... | |
virtual void | dump () const override |
Stupid legacy method. More... | |
virtual long | apply (const char *factory, int argc, char **argv) const override |
Manipulate geometry using facroy converter. More... | |
virtual void | init () override |
Open the geometry at startup. More... | |
virtual void | endDocument (bool close_geometry) override |
Close the geometry. More... | |
virtual void * | addUserExtension (unsigned long long int key, ExtensionEntry *entry) override |
Add an extension object to the Detector instance. More... | |
virtual void * | removeUserExtension (unsigned long long int key, bool destroy=true) override |
Remove an existing extension object from the Detector instance. If not destroyed, the instance is returned. More... | |
virtual void * | userExtension (unsigned long long int key, bool alert=true) const override |
Access an existing extension object from the Detector instance. More... | |
virtual Handle< NamedObject > | getRefChild (const HandleMap &e, const std::string &name, bool throw_if_not=true) const |
virtual void | declareParent (const std::string &detector_name, const DetElement &parent) override |
Register new mother volume using the detector name. More... | |
virtual Volume | pickMotherVolume (const DetElement &sd) const override |
Access mother volume by detector element. More... | |
virtual TGeoManager & | manager () const override |
Access the geometry manager of this instance. More... | |
Properties & | properties () const override |
Access to properties. More... | |
virtual Material | air () const override |
Return handle to material describing air. More... | |
virtual Material | vacuum () const override |
Return handle to material describing vacuum. More... | |
virtual VisAttr | invisible () const override |
Return handle to "invisible" visualization attributes. More... | |
virtual DetElement | world () const override |
Return reference to the top-most (world) detector element. More... | |
virtual DetElement | trackers () const override |
Return reference to detector element with all tracker devices. More... | |
virtual Volume | worldVolume () const override |
Return handle to the world volume containing everything. More... | |
virtual Volume | parallelWorldVolume () const override |
Return handle to the world volume containing the volume with the tracking devices. More... | |
virtual Volume | trackingVolume () const override |
Return handle to the world volume containing the volume with the tracking devices. More... | |
virtual void | setTrackingVolume (Volume vol) override |
Set the tracking volume of the detector. More... | |
virtual VolumeManager | volumeManager () const override |
Return handle to the VolumeManager. More... | |
virtual OpticalSurfaceManager | surfaceManager () const override |
Access the optical surface manager. More... | |
virtual OverlayedField | field () const override |
Return handle to the combined electromagentic field description. More... | |
virtual const STD_Conditions & | stdConditions () const override |
Access default conditions (temperature and pressure. More... | |
virtual void | setStdConditions (double temp, double pressure) override |
Set the STD temperature and pressure. More... | |
virtual void | setStdConditions (const std::string &type) override |
Set the STD conditions according to defined types (STP or NTP) More... | |
virtual Header | header () const override |
Accessor to the header entry. More... | |
virtual void | setHeader (Header h) override |
Accessor to the header entry. More... | |
virtual std::string | constantAsString (const std::string &name) const override |
Typed access to constants: access string values. More... | |
virtual long | constantAsLong (const std::string &name) const override |
Typed access to constants: long values. More... | |
virtual double | constantAsDouble (const std::string &name) const override |
Typed access to constants: double values. More... | |
virtual Constant | constant (const std::string &name) const override |
Retrieve a constant by its name from the detector description. More... | |
virtual LimitSet | limitSet (const std::string &name) const override |
Retrieve a limitset by its name from the detector description. More... | |
virtual VisAttr | visAttributes (const std::string &name) const override |
Retrieve a visualization attribute by its name from the detector description. More... | |
virtual Material | material (const std::string &name) const override |
Retrieve a matrial by its name from the detector description. More... | |
virtual Region | region (const std::string &name) const override |
Retrieve a region object by its name from the detector description. More... | |
virtual IDDescriptor | idSpecification (const std::string &name) const override |
Retrieve a id descriptor by its name from the detector description. More... | |
virtual Readout | readout (const std::string &name) const override |
Retrieve a readout object by its name from the detector description. More... | |
virtual DetElement | detector (const std::string &name) const override |
Retrieve a subdetector element by its name from the detector description. More... | |
virtual SensitiveDetector | sensitiveDetector (const std::string &name) const override |
Retrieve a sensitive detector by its name from the detector description. More... | |
virtual CartesianField | field (const std::string &name) const override |
Retrieve a subdetector element by its name from the detector description. More... | |
virtual const HandleMap & | constants () const override |
Accessor to the map of constants. More... | |
virtual const HandleMap & | visAttributes () const override |
Accessor to the map of visualisation attributes. More... | |
virtual const HandleMap & | limitsets () const override |
Accessor to the map of limit settings. More... | |
virtual const HandleMap & | regions () const override |
Accessor to the map of region settings. More... | |
virtual const HandleMap & | readouts () const override |
Accessor to the map of readout structures. More... | |
virtual const HandleMap & | detectors () const override |
Accessor to the map of sub-detectors. More... | |
virtual const HandleMap & | sensitiveDetectors () const override |
Retrieve a sensitive detector by its name from the detector description. More... | |
virtual const HandleMap & | fields () const override |
Accessor to the map of field entries, which together form the global field. More... | |
virtual const HandleMap & | idSpecifications () const override |
Accessor to the map of ID specifications. More... | |
virtual const std::vector< DetElement > & | detectors (const std::string &type, bool throw_exc) const override |
Access a set of subdetectors according to the sensitive type. More... | |
virtual std::vector< DetElement > | detectors (const std::string &type1, const std::string &type2, const std::string &type3="", const std::string &type4="", const std::string &type5="") override |
Access a set of subdetectors according to several sensitive types. More... | |
virtual std::vector< std::string > | detectorTypes () const override |
Access the availible detector types. More... | |
virtual std::vector< DetElement > | detectors (unsigned int includeFlag, unsigned int excludeFlag=0) const override |
virtual Detector & | add (Constant x) override |
Add a new constant to the detector description. More... | |
virtual Detector & | add (LimitSet x) override |
Add a new limit set to the detector description. More... | |
virtual Detector & | add (Region x) override |
Add a new detector region to the detector description. More... | |
virtual Detector & | add (VisAttr x) override |
Add a new visualisation attribute to the detector description. More... | |
virtual Detector & | add (IDDescriptor x) override |
Add a new id descriptor to the detector description. More... | |
virtual Detector & | add (Readout x) override |
Add a new detector readout to the detector description. More... | |
virtual Detector & | add (SensitiveDetector x) override |
Add a new sensitive detector to the detector description. More... | |
virtual Detector & | add (DetElement x) override |
Add a new subdetector to the detector description. More... | |
virtual Detector & | add (CartesianField x) override |
Add a field component to the detector description. More... | |
virtual Detector & | addConstant (const Handle< NamedObject > &x) override |
Add a new constant by named reference to the detector description. More... | |
virtual Detector & | addLimitSet (const Handle< NamedObject > &x) override |
Add a new limit set by named reference to the detector description. More... | |
virtual Detector & | addRegion (const Handle< NamedObject > &x) override |
Add a new detector region by named reference to the detector description. More... | |
virtual Detector & | addIDSpecification (const Handle< NamedObject > &x) override |
Add a new id descriptor by named reference to the detector description. More... | |
virtual Detector & | addReadout (const Handle< NamedObject > &x) override |
Add a new detector readout by named reference to the detector description. More... | |
virtual Detector & | addVisAttribute (const Handle< NamedObject > &x) override |
Add a new visualisation attribute by named reference to the detector description. More... | |
virtual Detector & | addSensitiveDetector (const Handle< NamedObject > &x) override |
Add a new sensitive detector by named reference to the detector description. More... | |
virtual Detector & | addDetector (const Handle< NamedObject > &x) override |
Add a new subdetector by named reference to the detector description. More... | |
virtual Detector & | addField (const Handle< NamedObject > &x) override |
Add a field component by named reference to the detector description. More... | |
virtual Int_t | Write (const char *name=0, Int_t option=0, Int_t bufsize=0) override |
TObject overload: We need to set the Volume and PlacedVolume extensions to be persistent. More... | |
virtual Int_t | Write (const char *name=0, Int_t option=0, Int_t bufsize=0) const override |
TObject overload: We need to set the Volume and PlacedVolume extensions to be persistent. More... | |
ClassDefOverride (DetectorImp, 100) | |
![]() | |
virtual | ~Detector ()=default |
Destructor. More... | |
template<class T > | |
T | constant (const std::string &name) const |
Typed access to constants: access any type values. More... | |
template<typename IFACE , typename CONCRETE > | |
IFACE * | addExtension (CONCRETE *c) |
Extend the sensitive detector element with an arbitrary structure accessible by the type. More... | |
template<class IFACE > | |
IFACE * | removeExtension (bool destroy=true) |
Remove an existing extension object from the Detector instance. If not destroyed, the instance is returned. More... | |
template<class IFACE > | |
IFACE * | extension (bool alert=true) const |
Access extension element by the type. More... | |
template<> | |
short | constant (const std::string &name) const |
Typed access to constants: short values. More... | |
template<> | |
unsigned short | constant (const std::string &name) const |
Typed access to constants: unsigned short values. More... | |
template<> | |
int | constant (const std::string &name) const |
Typed access to constants: integer values. More... | |
template<> | |
unsigned int | constant (const std::string &name) const |
Typed access to constants: unsigned integer values. More... | |
template<> | |
long | constant (const std::string &name) const |
Typed access to constants: long values. More... | |
template<> | |
unsigned long | constant (const std::string &name) const |
Typed access to constants: unsigned long values. More... | |
template<> | |
float | constant (const std::string &name) const |
Typed access to constants: float values. More... | |
template<> | |
double | constant (const std::string &name) const |
Typed access to constants: double values. More... | |
![]() | |
DetectorData () | |
Default constructor. More... | |
virtual | ~DetectorData () |
Default destructor. More... | |
DetectorData (DetectorData &©)=delete | |
Move constructor. More... | |
DetectorData (const DetectorData ©)=delete | |
Copy constructor. More... | |
void | destroyData (bool destroy_mgr=true) |
Clear data content: releases all allocated resources. More... | |
void | clearData () |
Clear data content: DOES NOT RELEASEW ALLOCATED RESOURCES! More... | |
void | adoptData (DetectorData &source, bool CLR=true) |
Adopt all data from source structure. More... | |
TGeoManager & | manager () const |
Access the geometry manager of this instance. More... | |
dd4hep::Material | air () const |
Return handle to material describing air. More... | |
dd4hep::Material | vacuum () const |
Return handle to material describing vacuum. More... | |
dd4hep::VisAttr | invisible () const |
Return handle to "invisible" visualization attributes. More... | |
dd4hep::DetElement | world () const |
Return reference to the top-most (world) detector element. More... | |
dd4hep::DetElement | trackers () const |
Return reference to detector element with all tracker devices. More... | |
dd4hep::Volume | worldVolume () const |
Return handle to the world volume containing everything. More... | |
dd4hep::Volume | parallelWorldVolume () const |
Return handle to the world volume containing the volume with the tracking devices. More... | |
dd4hep::Volume | trackingVolume () const |
Return handle to the world volume containing the volume with the tracking devices. More... | |
dd4hep::VolumeManager | volumeManager () const |
Return handle to the VolumeManager. More... | |
dd4hep::OverlayedField | field () const |
Return handle to the combined electromagentic field description. More... | |
dd4hep::Header | header () const |
Accessor to the header entry. More... | |
const Detector::HandleMap & | constants () const |
Accessor to the map of constants. More... | |
const Detector::HandleMap & | visAttributes () const |
Accessor to the map of visualisation attributes. More... | |
const Detector::HandleMap & | limitsets () const |
Accessor to the map of limit settings. More... | |
const Detector::HandleMap & | regions () const |
Accessor to the map of region settings. More... | |
const Detector::HandleMap & | readouts () const |
Accessor to the map of readout structures. More... | |
const Detector::HandleMap & | detectors () const |
Accessor to the map of sub-detectors. More... | |
const Detector::HandleMap & | sensitiveDetectors () const |
Retrieve a sensitive detector by its name from the detector description. More... | |
const Detector::HandleMap & | fields () const |
Accessor to the map of field entries, which together form the global field. More... | |
const Detector::HandleMap & | idSpecifications () const |
Accessor to the map of ID specifications. More... | |
![]() | |
DetectorLoad ()=delete | |
No defautl constructor. More... | |
DetectorLoad (DetectorLoad &©)=delete | |
No move constructor. More... | |
DetectorLoad (const DetectorLoad ©)=default | |
Default copy constructor. More... | |
DetectorLoad (Detector &description) | |
Default constructor (public, if used as a handle) More... | |
virtual | ~DetectorLoad () |
Default destructor. More... | |
DetectorLoad & | operator= (const DetectorLoad ©)=default |
Copy assignment constructor. More... | |
DetectorLoad & | operator= (DetectorLoad &©)=delete |
No move assignment. More... | |
virtual void | processXML (const std::string &fname, xml::UriReader *entity_resolver=0) |
Process XML unit and adopt all data from source structure. More... | |
virtual void | processXML (const xml::Handle_t &base, const std::string &fname, xml::UriReader *entity_resolver=0) |
Process XML unit and adopt all data from source structure. More... | |
virtual void | processXMLString (const char *xmldata) |
Process XML unit and adopt all data from source string in momory. More... | |
virtual void | processXMLString (const char *xmldata, xml::UriReader *entity_resolver) |
Process XML unit and adopt all data from source string in momory. More... | |
virtual void | processXMLElement (const std::string &msg_source, const xml::Handle_t &root) |
Process a given DOM (sub-) tree. More... | |
virtual void | processXMLElement (const xml::Handle_t &root, DetectorBuildType type) |
Process a given DOM (sub-) tree. More... | |
Protected Types | |
typedef std::map< std::string, std::vector< DetElement > > | DetectorTypeMap |
Cached map with detector types: More... | |
Protected Attributes | |
STD_Conditions | m_std_conditions |
Standard conditions. More... | |
DetectorTypeMap | m_detectorTypes |
Inventory of detector types. More... | |
DetectorBuildType | m_buildType |
VolumeManager m_volManager;. More... | |
detail::OpticalSurfaceManagerObject * | m_surfaceManager {nullptr} |
Optical surface manager. More... | |
![]() | |
Detector * | m_detDesc = 0 |
Reference to the Detector instance. More... | |
Private Member Functions | |
DetectorImp (DetectorImp &©)=delete | |
not persistent More... | |
DetectorImp (const DetectorImp ©)=delete | |
Disable copy constructor. More... | |
DetectorImp & | operator= (const DetectorImp ©)=delete |
Disable assignment operator. More... | |
void | mapDetectorTypes () |
Internal helper to map detector types once the geometry is closed. More... | |
Int_t | saveObject (const char *name=0, Int_t option=0, Int_t bufsize=0) const |
ROOT I/O call. More... | |
Additional Inherited Members | |
![]() | |
enum | State { NOT_READY = 1<<0, LOADING = 1<<1, READY = 1<<2 } |
The detector description states. More... | |
typedef std::map< std::string, Handle< NamedObject > > | HandleMap |
Type definition of a map of named handles. More... | |
typedef std::map< std::string, std::string > | PropertyValues |
typedef std::map< std::string, PropertyValues > | Properties |
![]() | |
static Detector & | getInstance (const std::string &name="default") |
—Factory method----— More... | |
static void | destroyInstance (const std::string &name="default") |
Destroy the singleton instance. More... | |
static std::unique_ptr< Detector > | make_unique (const std::string &name) |
Unique creation without internal registration. More... | |
![]() | |
static void | patchRootStreamer (TClass *cl) |
Assignment operator. More... | |
static void | unpatchRootStreamer (TClass *cl) |
UNPatch the ROOT streamers to adapt for DD4hep (set fUserExtension transient) More... | |
![]() | |
TGeoManager * | m_manager |
Reference to the geometry manager object from ROOT. More... | |
ObjectHandleMap | m_idDict |
Map of readout IDDescriptors indexed by hit collection name. More... | |
ObjectHandleMap | m_limits |
Map of limit sets. More... | |
ObjectHandleMap | m_regions |
Map of regions settings for the simulation. More... | |
ObjectHandleMap | m_readouts |
Map of readout descriptors indexed by subdetector name. More... | |
ObjectHandleMap | m_sensitive |
The map of top level sub-detector sensitive detector objects indexed by the detector name. More... | |
ObjectHandleMap | m_detectors |
The map of top level sub-detector objects indexed by name. More... | |
ObjectHandleMap | m_display |
The map of display attributes in use. More... | |
ObjectHandleMap | m_fields |
The map of electro magnet field components for the global overlay field. More... | |
ObjectHandleMap | m_define |
std::map< std::string, DetElement > | m_detectorParents |
DetElement | m_world |
DetElement | m_trackers |
Volume | m_worldVol |
Volume | m_parallelWorldVol |
Volume | m_trackingVol |
Material | m_materialAir |
Material | m_materialVacuum |
VisAttr | m_invisibleVis |
OverlayedField | m_field |
Header | m_header |
Detector::Properties | m_properties |
DetectorBuildType | m_buildType |
ObjectExtensions | m_extensions |
Definition of the extension type. More... | |
VolumeManager | m_volManager |
Volume manager reference. More... | |
Detector::State | m_state = Detector::NOT_READY |
Detector description state. More... | |
bool | m_inhibitConstants |
Flag to inhibit the access to global constants. Value set by constants section 'Detector_InhibitConstants'. More... | |
![]() | |
DetectorLoad (Detector *description) | |
Default constructor (protected, for sub-classes) More... | |
Concrete implementation class of the Detector interface.
The main entry point to the DD4hep detector description
Please note: The inheritance of the TNamed is necessary to properly access the object when loaded from ROOT.
Definition at line 59 of file DetectorImp.h.
|
protected |
Cached map with detector types:
Definition at line 62 of file DetectorImp.h.
|
privatedelete |
not persistent
Disable move constructor
|
privatedelete |
Disable copy constructor.
DetectorImp::DetectorImp | ( | ) |
Default constructor used by ROOT I/O.
Definition at line 170 of file DetectorImp.cpp.
DetectorImp::DetectorImp | ( | const std::string & | name | ) |
Initializing constructor.
Definition at line 180 of file DetectorImp.cpp.
|
virtual |
Standard destructor.
Definition at line 236 of file DetectorImp.cpp.
|
inlineoverridevirtual |
Add a field component to the detector description.
Implements dd4hep::Detector.
Definition at line 374 of file DetectorImp.h.
Add a new constant to the detector description.
Implements dd4hep::Detector.
Definition at line 342 of file DetectorImp.h.
|
inlineoverridevirtual |
Add a new subdetector to the detector description.
Implements dd4hep::Detector.
Definition at line 370 of file DetectorImp.h.
|
inlineoverridevirtual |
Add a new id descriptor to the detector description.
Implements dd4hep::Detector.
Definition at line 358 of file DetectorImp.h.
Add a new limit set to the detector description.
Implements dd4hep::Detector.
Definition at line 346 of file DetectorImp.h.
Add a new detector readout to the detector description.
Implements dd4hep::Detector.
Definition at line 362 of file DetectorImp.h.
Add a new detector region to the detector description.
Implements dd4hep::Detector.
Definition at line 350 of file DetectorImp.h.
|
inlineoverridevirtual |
Add a new sensitive detector to the detector description.
Implements dd4hep::Detector.
Definition at line 366 of file DetectorImp.h.
Add a new visualisation attribute to the detector description.
Implements dd4hep::Detector.
Definition at line 354 of file DetectorImp.h.
|
overridevirtual |
Add a new constant by named reference to the detector description.
Implements dd4hep::Detector.
Definition at line 472 of file DetectorImp.cpp.
|
overridevirtual |
Add a new subdetector by named reference to the detector description.
Check if the parent is part of the compounds
Implements dd4hep::Detector.
Definition at line 416 of file DetectorImp.cpp.
|
overridevirtual |
Add a field component by named reference to the detector description.
Implements dd4hep::Detector.
Definition at line 518 of file DetectorImp.cpp.
|
inlineoverridevirtual |
Add a new id descriptor by named reference to the detector description.
Implements dd4hep::Detector.
Definition at line 392 of file DetectorImp.h.
|
inlineoverridevirtual |
Add a new limit set by named reference to the detector description.
Implements dd4hep::Detector.
Definition at line 382 of file DetectorImp.h.
|
inlineoverridevirtual |
Add a new detector readout by named reference to the detector description.
Implements dd4hep::Detector.
Definition at line 397 of file DetectorImp.h.
|
inlineoverridevirtual |
Add a new detector region by named reference to the detector description.
Implements dd4hep::Detector.
Definition at line 387 of file DetectorImp.h.
|
inlineoverridevirtual |
Add a new sensitive detector by named reference to the detector description.
Implements dd4hep::Detector.
Definition at line 407 of file DetectorImp.h.
|
overridevirtual |
Add an extension object to the Detector instance.
Implements dd4hep::Detector.
Definition at line 288 of file DetectorImp.cpp.
|
inlineoverridevirtual |
Add a new visualisation attribute by named reference to the detector description.
Implements dd4hep::Detector.
Definition at line 402 of file DetectorImp.h.
|
inlineoverridevirtual |
Return handle to material describing air.
Implements dd4hep::Detector.
Definition at line 163 of file DetectorImp.h.
|
overridevirtual |
Manipulate geometry using facroy converter.
Implements dd4hep::Detector.
Definition at line 840 of file DetectorImp.cpp.
|
overridevirtual |
Access flag to steer the detail of building of the geometry/detector description.
Implements dd4hep::Detector.
Definition at line 303 of file DetectorImp.cpp.
dd4hep::DetectorImp::ClassDefOverride | ( | DetectorImp | , |
100 | |||
) |
|
overridevirtual |
Retrieve a constant by its name from the detector description.
Implements dd4hep::Detector.
Definition at line 483 of file DetectorImp.cpp.
|
overridevirtual |
Typed access to constants: double values.
Implements dd4hep::Detector.
Definition at line 510 of file DetectorImp.cpp.
|
overridevirtual |
Typed access to constants: long values.
Implements dd4hep::Detector.
Definition at line 502 of file DetectorImp.cpp.
|
overridevirtual |
Typed access to constants: access string values.
Implements dd4hep::Detector.
Definition at line 491 of file DetectorImp.cpp.
|
inlineoverridevirtual |
Accessor to the map of constants.
Implements dd4hep::Detector.
Definition at line 276 of file DetectorImp.h.
|
overridevirtual |
Register new mother volume using the detector name.
Implements dd4hep::Detector.
Definition at line 310 of file DetectorImp.cpp.
|
overridevirtual |
Retrieve a subdetector element by its name from the detector description.
Implements dd4hep::Detector.
Definition at line 407 of file DetectorImp.cpp.
|
inlineoverridevirtual |
Accessor to the map of sub-detectors.
Implements dd4hep::Detector.
Definition at line 296 of file DetectorImp.h.
|
overridevirtual |
Access a set of subdetectors according to the sensitive type.
Please note:
Implements dd4hep::Detector.
Definition at line 567 of file DetectorImp.cpp.
|
overridevirtual |
Access a set of subdetectors according to several sensitive types.
Implements dd4hep::Detector.
Definition at line 603 of file DetectorImp.cpp.
|
overridevirtual |
return a vector with all detectors that have all the type properties in includeFlag set but none of the properties given in excludeFlag
Implements dd4hep::Detector.
Definition at line 580 of file DetectorImp.cpp.
|
overridevirtual |
Access the availible detector types.
Implements dd4hep::Detector.
Definition at line 555 of file DetectorImp.cpp.
|
overridevirtual |
|
overridevirtual |
Close the geometry.
Finalize/close the geometry.
Implements dd4hep::Detector.
Definition at line 719 of file DetectorImp.cpp.
|
inlineoverridevirtual |
Return handle to the combined electromagentic field description.
Implements dd4hep::Detector.
Definition at line 208 of file DetectorImp.h.
|
inlineoverridevirtual |
Retrieve a subdetector element by its name from the detector description.
Implements dd4hep::Detector.
Definition at line 271 of file DetectorImp.h.
|
inlineoverridevirtual |
Accessor to the map of field entries, which together form the global field.
Implements dd4hep::Detector.
Definition at line 304 of file DetectorImp.h.
|
inlineoverridevirtual |
Read compact geometry description or alignment file.
Implements dd4hep::Detector.
Definition at line 114 of file DetectorImp.h.
|
overridevirtual |
Read any XML file.
Read any geometry description or alignment file.
Implements dd4hep::Detector.
Definition at line 819 of file DetectorImp.cpp.
|
overridevirtual |
Read any geometry description or alignment file with external XML entity resolution.
Implements dd4hep::Detector.
Definition at line 826 of file DetectorImp.cpp.
|
virtual |
Definition at line 626 of file DetectorImp.cpp.
|
inlineoverridevirtual |
Accessor to the header entry.
Implements dd4hep::Detector.
Definition at line 220 of file DetectorImp.h.
|
inlineoverridevirtual |
Retrieve a id descriptor by its name from the detector description.
Implements dd4hep::Detector.
Definition at line 256 of file DetectorImp.h.
|
inlineoverridevirtual |
Accessor to the map of ID specifications.
Implements dd4hep::Detector.
Definition at line 308 of file DetectorImp.h.
void DetectorImp::imp_loadVolumeManager | ( | ) |
Local method (no interface): Load volume manager.
Definition at line 282 of file DetectorImp.cpp.
|
overridevirtual |
Open the geometry at startup.
Initialize the geometry and set the bounding box of the world volume.
Construct the top level world element
Set the world volume to invisible.
Set the top level volume to the TGeomanager
Construct the parallel world
Construct the field envelope
Implements dd4hep::Detector.
Definition at line 757 of file DetectorImp.cpp.
|
inlineoverridevirtual |
Return handle to "invisible" visualization attributes.
Implements dd4hep::Detector.
Definition at line 171 of file DetectorImp.h.
|
inlineoverridevirtual |
Retrieve a limitset by its name from the detector description.
Implements dd4hep::Detector.
Definition at line 241 of file DetectorImp.h.
|
inlineoverridevirtual |
Accessor to the map of limit settings.
Implements dd4hep::Detector.
Definition at line 284 of file DetectorImp.h.
|
inlineoverridevirtual |
Access the geometry manager of this instance.
Implements dd4hep::Detector.
Definition at line 155 of file DetectorImp.h.
|
private |
Internal helper to map detector types once the geometry is closed.
Definition at line 534 of file DetectorImp.cpp.
|
overridevirtual |
Retrieve a matrial by its name from the detector description.
Implements dd4hep::Detector.
Definition at line 525 of file DetectorImp.cpp.
|
privatedelete |
Disable assignment operator.
|
inlineoverridevirtual |
Return handle to the world volume containing the volume with the tracking devices.
Implements dd4hep::Detector.
Definition at line 187 of file DetectorImp.h.
|
overridevirtual |
Access mother volume by detector element.
Implements dd4hep::Detector.
Definition at line 336 of file DetectorImp.cpp.
|
inlineoverridevirtual |
|
inlineoverridevirtual |
Retrieve a readout object by its name from the detector description.
Implements dd4hep::Detector.
Definition at line 260 of file DetectorImp.h.
|
inlineoverridevirtual |
Accessor to the map of readout structures.
Implements dd4hep::Detector.
Definition at line 292 of file DetectorImp.h.
|
inlineoverridevirtual |
Retrieve a region object by its name from the detector description.
Implements dd4hep::Detector.
Definition at line 252 of file DetectorImp.h.
|
inlineoverridevirtual |
Accessor to the map of region settings.
Implements dd4hep::Detector.
Definition at line 288 of file DetectorImp.h.
|
overridevirtual |
Remove an existing extension object from the Detector instance. If not destroyed, the instance is returned.
Remove an existing extension object from the Detector instance.
Implements dd4hep::Detector.
Definition at line 293 of file DetectorImp.cpp.
|
private |
ROOT I/O call.
Definition at line 258 of file DetectorImp.cpp.
|
inlineoverridevirtual |
Retrieve a sensitive detector by its name from the detector description.
Implements dd4hep::Detector.
Definition at line 267 of file DetectorImp.h.
|
inlineoverridevirtual |
Retrieve a sensitive detector by its name from the detector description.
Implements dd4hep::Detector.
Definition at line 300 of file DetectorImp.h.
|
inlineoverridevirtual |
Accessor to the header entry.
Implements dd4hep::Detector.
Definition at line 224 of file DetectorImp.h.
|
overridevirtual |
Set the STD conditions according to defined types (STP or NTP)
Implements dd4hep::Detector.
Definition at line 388 of file DetectorImp.cpp.
|
overridevirtual |
Set the STD temperature and pressure.
Implements dd4hep::Detector.
Definition at line 375 of file DetectorImp.cpp.
|
inlineoverridevirtual |
Set the tracking volume of the detector.
Implements dd4hep::Detector.
Definition at line 195 of file DetectorImp.h.
|
inlineoverridevirtual |
Access the state of the geometry.
Implements dd4hep::Detector.
Definition at line 106 of file DetectorImp.h.
|
overridevirtual |
Access default conditions (temperature and pressure.
Implements dd4hep::Detector.
Definition at line 365 of file DetectorImp.cpp.
|
inlineoverridevirtual |
Access the optical surface manager.
Implements dd4hep::Detector.
Definition at line 203 of file DetectorImp.h.
|
inlineoverridevirtual |
Return reference to detector element with all tracker devices.
Implements dd4hep::Detector.
Definition at line 179 of file DetectorImp.h.
|
inlineoverridevirtual |
Return handle to the world volume containing the volume with the tracking devices.
Implements dd4hep::Detector.
Definition at line 191 of file DetectorImp.h.
|
overridevirtual |
Access an existing extension object from the Detector instance.
Implements dd4hep::Detector.
Definition at line 298 of file DetectorImp.cpp.
|
inlineoverridevirtual |
Return handle to material describing vacuum.
Implements dd4hep::Detector.
Definition at line 167 of file DetectorImp.h.
|
inlineoverridevirtual |
Accessor to the map of visualisation attributes.
Implements dd4hep::Detector.
Definition at line 280 of file DetectorImp.h.
|
inlineoverridevirtual |
Retrieve a visualization attribute by its name from the detector description.
Implements dd4hep::Detector.
Definition at line 245 of file DetectorImp.h.
|
inlineoverridevirtual |
Return handle to the VolumeManager.
Implements dd4hep::Detector.
Definition at line 199 of file DetectorImp.h.
|
inlineoverridevirtual |
Return reference to the top-most (world) detector element.
Implements dd4hep::Detector.
Definition at line 175 of file DetectorImp.h.
|
inlineoverridevirtual |
Return handle to the world volume containing everything.
Implements dd4hep::Detector.
Definition at line 183 of file DetectorImp.h.
|
inlineoverridevirtual |
TObject overload: We need to set the Volume and PlacedVolume extensions to be persistent.
Definition at line 421 of file DetectorImp.h.
|
inlineoverridevirtual |
TObject overload: We need to set the Volume and PlacedVolume extensions to be persistent.
Definition at line 417 of file DetectorImp.h.
|
protected |
VolumeManager m_volManager;.
Definition at line 71 of file DetectorImp.h.
|
protected |
Inventory of detector types.
Definition at line 68 of file DetectorImp.h.
|
mutableprotected |
Standard conditions.
Definition at line 65 of file DetectorImp.h.
|
protected |
Optical surface manager.
Definition at line 74 of file DetectorImp.h.