DD4hep  1.30.0
Detector Description Toolkit for High Energy Physics
Public Member Functions | Public Attributes | List of all members
DD4hepRootCheck Class Reference

Helper class to check various ingredients of the Detector object after loaded from ROOT. More...

#include <DD4hepRootPersistency.h>

Public Member Functions

 DD4hepRootCheck ()=default
 Default constructor. More...
 
 DD4hepRootCheck (const DD4hepRootCheck &copy)=default
 Copy constructor. More...
 
 DD4hepRootCheck (dd4hep::Detector *o)
 Initializing constructor. More...
 
virtual ~DD4hepRootCheck ()=default
 Default destructor. More...
 
DD4hepRootCheckoperator= (const DD4hepRootCheck &copy)=default
 Assignment operator. More...
 
size_t checkMaterials () const
 Call to check a Material object. More...
 
size_t checkConstants () const
 Check the collection of define statements. More...
 
size_t checkProperties () const
 Check detector description properties (string defines) More...
 
size_t checkFields () const
 Call to theck the DD4hep fields. More...
 
std::pair< std::size_t, std::size_t > checkRegions () const
 Call to check a Region object. More...
 
std::pair< std::size_t, std::size_t > checkReadouts () const
 Call to check a Readout object. More...
 
std::pair< std::size_t, std::size_t > checkIdSpecs () const
 Call to check an ID specification. More...
 
std::pair< std::size_t, std::size_t > checkSensitives () const
 Call to check a sensitive detector. More...
 
std::pair< std::size_t, std::size_t > checkLimitSets () const
 Call to check a limit-set object. More...
 
std::pair< std::size_t, std::size_t > checkVolManager () const
 Call to check the volume manager hierarchy. More...
 
std::pair< std::size_t, std::size_t > checkNominals () const
 Call to check the nominal alignments in the DetElement hierarchy. More...
 
std::pair< std::size_t, std::size_t > checkDetectors () const
 Call to check a top level Detector element (subdetector) More...
 
std::pair< std::size_t, std::size_t > checkSegmentations () const
 Call to check segmentations starting from the top level Detector element. More...
 
size_t checkAll () const
 Check all of the above. More...
 

Public Attributes

dd4hep::Detectorobject =0
 Reference to the detector model object. More...
 

Detailed Description

Helper class to check various ingredients of the Detector object after loaded from ROOT.

Author
M.Frank
Version
1.0

Definition at line 100 of file DD4hepRootPersistency.h.

Constructor & Destructor Documentation

◆ DD4hepRootCheck() [1/3]

DD4hepRootCheck::DD4hepRootCheck ( )
default

Default constructor.

◆ DD4hepRootCheck() [2/3]

DD4hepRootCheck::DD4hepRootCheck ( const DD4hepRootCheck copy)
default

Copy constructor.

◆ DD4hepRootCheck() [3/3]

DD4hepRootCheck::DD4hepRootCheck ( dd4hep::Detector o)
inline

Initializing constructor.

Definition at line 109 of file DD4hepRootPersistency.h.

◆ ~DD4hepRootCheck()

virtual DD4hepRootCheck::~DD4hepRootCheck ( )
virtualdefault

Default destructor.

Member Function Documentation

◆ checkAll()

size_t DD4hepRootCheck::checkAll ( ) const

Check all of the above.

Definition at line 599 of file DD4hepRootPersistency.cpp.

◆ checkConstants()

size_t DD4hepRootCheck::checkConstants ( ) const

Check the collection of define statements.

Definition at line 452 of file DD4hepRootPersistency.cpp.

◆ checkDetectors()

std::pair< std::size_t, std::size_t > DD4hepRootCheck::checkDetectors ( ) const

Call to check a top level Detector element (subdetector)

Definition at line 532 of file DD4hepRootPersistency.cpp.

◆ checkFields()

size_t DD4hepRootCheck::checkFields ( ) const

Call to theck the DD4hep fields.

Definition at line 499 of file DD4hepRootPersistency.cpp.

◆ checkIdSpecs()

std::pair< std::size_t, std::size_t > DD4hepRootCheck::checkIdSpecs ( ) const

Call to check an ID specification.

Definition at line 521 of file DD4hepRootPersistency.cpp.

◆ checkLimitSets()

std::pair< std::size_t, std::size_t > DD4hepRootCheck::checkLimitSets ( ) const

Call to check a limit-set object.

Definition at line 554 of file DD4hepRootPersistency.cpp.

◆ checkMaterials()

size_t DD4hepRootCheck::checkMaterials ( ) const

Call to check a Material object.

Definition at line 474 of file DD4hepRootPersistency.cpp.

◆ checkNominals()

std::pair< std::size_t, std::size_t > DD4hepRootCheck::checkNominals ( ) const

Call to check the nominal alignments in the DetElement hierarchy.

Call to check the nominal alignments in the detector hierarchy (for sensitive detectors)

Definition at line 574 of file DD4hepRootPersistency.cpp.

◆ checkProperties()

size_t DD4hepRootCheck::checkProperties ( ) const

Check detector description properties (string defines)

Check detector description properties (string constants)

Definition at line 463 of file DD4hepRootPersistency.cpp.

◆ checkReadouts()

std::pair< std::size_t, std::size_t > DD4hepRootCheck::checkReadouts ( ) const

Call to check a Readout object.

Definition at line 481 of file DD4hepRootPersistency.cpp.

◆ checkRegions()

std::pair< std::size_t, std::size_t > DD4hepRootCheck::checkRegions ( ) const

Call to check a Region object.

Definition at line 510 of file DD4hepRootPersistency.cpp.

◆ checkSegmentations()

std::pair< std::size_t, std::size_t > DD4hepRootCheck::checkSegmentations ( ) const

Call to check segmentations starting from the top level Detector element.

Call to check the segmentations starting from the top level detector.

Definition at line 586 of file DD4hepRootPersistency.cpp.

◆ checkSensitives()

std::pair< std::size_t, std::size_t > DD4hepRootCheck::checkSensitives ( ) const

Call to check a sensitive detector.

Definition at line 543 of file DD4hepRootPersistency.cpp.

◆ checkVolManager()

std::pair< std::size_t, std::size_t > DD4hepRootCheck::checkVolManager ( ) const

Call to check the volume manager hierarchy.

Definition at line 565 of file DD4hepRootPersistency.cpp.

◆ operator=()

DD4hepRootCheck& DD4hepRootCheck::operator= ( const DD4hepRootCheck copy)
default

Assignment operator.

Member Data Documentation

◆ object

dd4hep::Detector* DD4hepRootCheck::object =0

Reference to the detector model object.

Definition at line 103 of file DD4hepRootPersistency.h.


The documentation for this class was generated from the following files: