![]() |
ATLAS Offline Software
|
#include <InDetGeometryManagerTool.h>
Public Member Functions | |
| InDetGeometryManagerTool (const std::string &type, const std::string &name, const IInterface *parent) | |
| virtual | ~InDetGeometryManagerTool () |
| StatusCode | initialize () |
| StatusCode | finalize () |
| int | ReadGeometry (int solveLevel) |
| read the geometry Method is called from the main AlignAlg to build the geometry based on the requested level of alignment. | |
| void | PrintModPositions () |
| void | StoreModPositions (std::string) |
| void | buildGeometry () |
| builds geometry for Silicon alignment | |
| void | addModuleParameters (Trk::AlignModule *module, DataVector< DataVector< Trk::AlignPar > > *allFullModPars, DataVector< DataVector< Trk::AlignPar > > *allActiveModPars) |
| adds alignment parameters for the module checks for active parameters and calls setSigmas() | |
| bool | checkAlignLevel () |
| check whether the alignment level is correct | |
| void | setLogStream (std::ostream *os) |
| sets the output stream for the logfile | |
| virtual void | setNtuple (TFile *) |
| Sets output ntuple file, to be implemented if needed for detector-specific implementation. | |
| virtual int | getNextIDHash () |
| get next free IDHash usable for new AlignModule | |
| virtual void | setFirstIDHash (unsigned int idhash) |
| set first free IDHash usable for new AlignModule | |
| virtual void | setModuleList (Trk::AlignModuleList *list) |
| set pointer to module list to which the modules should be added to | |
| virtual void | setHashMaps (std::vector< Trk::AlignModuleList * > *maps) |
| set pointer to vector of hashMaps to which the elements should be added to | |
| virtual int | alignLevel () |
| get alignment level | |
| virtual void | setAlignLevel (int level) |
| set alignment level | |
| virtual int | alignLevelBarrel () |
| get alignment level | |
| virtual void | setAlignLevelBarrel (int level) |
| set alignment level | |
| virtual bool | checkAlignLevelBarrel () |
| check whether the alignment level is allowed | |
| virtual int | alignLevelEndcaps () |
| get alignment level | |
| virtual void | setAlignLevelEndcaps (int level) |
| set alignment level | |
| virtual bool | checkAlignLevelEndcaps () |
| check whether the alignment level is allowed | |
| ServiceHandle< StoreGateSvc > & | evtStore () |
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc. | |
| const ServiceHandle< StoreGateSvc > & | detStore () const |
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc. | |
| virtual StatusCode | sysInitialize () override |
| Perform system initialization for an algorithm. | |
| virtual StatusCode | sysStart () override |
| Handle START transition. | |
| virtual std::vector< Gaudi::DataHandle * > | inputHandles () const override |
| Return this algorithm's input handles. | |
| virtual std::vector< Gaudi::DataHandle * > | outputHandles () const override |
| Return this algorithm's output handles. | |
| Gaudi::Details::PropertyBase & | declareProperty (Gaudi::Property< T, V, H > &t) |
| void | updateVHKA (Gaudi::Details::PropertyBase &) |
| MsgStream & | msg () const |
| bool | msgLvl (const MSG::Level lvl) const |
Static Public Member Functions | |
| static const InterfaceID & | interfaceID () |
Protected Member Functions | |
| void | renounceArray (SG::VarHandleKeyArray &handlesArray) |
| remove all handles from I/O resolution | |
| std::enable_if_t< std::is_void_v< std::result_of_t< decltype(&T::renounce)(T)> > &&!std::is_base_of_v< SG::VarHandleKeyArray, T > &&std::is_base_of_v< Gaudi::DataHandle, T >, void > | renounce (T &h) |
| void | extraDeps_update_handler (Gaudi::Details::PropertyBase &ExtraDeps) |
| Add StoreName to extra input/output deps as needed. | |
Protected Attributes | |
| Trk::AlignModuleList * | m_alignModuleListPtr = nullptr |
| pointer to module list to which the modules are added | |
| std::vector< Trk::AlignModuleList * > * | m_idHashToAlignModuleMapsPtr = nullptr |
| pointer to vector of hashMaps to which the elements are added | |
| int | m_hashCounter = 0 |
| variable for setting the idHash of the AlignModules | |
| std::ostream * | m_logStream = nullptr |
| logfile output stream | |
| int | m_alignLevel = 0 |
| alignment level | |
| int | m_alignLevelBarrel = 0 |
| alignment level | |
| int | m_alignLevelEndcaps = 0 |
| alignment level | |
Private Types | |
| typedef ServiceHandle< StoreGateSvc > | StoreGateSvc_t |
Private Member Functions | |
| void | buildL0 () |
| creates L0 AlignModules for Silicon | |
| void | setSigmas (Trk::AlignModule *mod, DataVector< Trk::AlignPar > *modPars) |
| sets sigmas for modules | |
| bool | moduleSelected (Trk::AlignModule *mod) |
| check wheather module is selected for module pointer | |
| bool | moduleSelected (unsigned long long modId) |
| check wheather module is selected for module id | |
| void | dumpGeometry () |
| print basic geometry info to screen | |
| bool | isOneDetOnly (const Trk::AlignModule *mod, Trk::AlignModule::DetectorType dettype) const |
| check whether the module is of a single detector type | |
| bool | isSiOnly (const Trk::AlignModule *mod) const |
| check whether the module is Silicon only | |
| Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &) |
| specialization for handling Gaudi::Property<SG::VarHandleKey> | |
Definition at line 47 of file InDetGeometryManagerTool.h.
|
privateinherited |
Definition at line 388 of file AthCommonDataStore.h.
| InDet::InDetGeometryManagerTool::InDetGeometryManagerTool | ( | const std::string & | type, |
| const std::string & | name, | ||
| const IInterface * | parent ) |
Definition at line 34 of file InDetGeometryManagerTool.cxx.
|
virtual |
Definition at line 93 of file InDetGeometryManagerTool.cxx.
|
virtual |
adds alignment parameters for the module checks for active parameters and calls setSigmas()
Reimplemented from Trk::IGeometryManagerTool.
Definition at line 480 of file InDetGeometryManagerTool.cxx.
|
inlinevirtualinherited |
|
inlinevirtualinherited |
|
inlinevirtualinherited |
|
virtual |
builds geometry for Silicon alignment
Reimplemented from Trk::IGeometryManagerTool.
Definition at line 277 of file InDetGeometryManagerTool.cxx.
|
private |
creates L0 AlignModules for Silicon
Definition at line 312 of file InDetGeometryManagerTool.cxx.
|
virtual |
check whether the alignment level is correct
Reimplemented from Trk::IGeometryManagerTool.
Definition at line 177 of file InDetGeometryManagerTool.cxx.
|
inlinevirtualinherited |
check whether the alignment level is allowed
Reimplemented in InDet::PixelGeometryManagerTool, InDet::SCTGeometryManagerTool, and InDet::TRTGeometryManagerTool.
Definition at line 92 of file IGeometryManagerTool.h.
|
inlinevirtualinherited |
check whether the alignment level is allowed
Reimplemented in InDet::PixelGeometryManagerTool, InDet::SCTGeometryManagerTool, and InDet::TRTGeometryManagerTool.
Definition at line 101 of file IGeometryManagerTool.h.
|
inlineprivateinherited |
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition at line 156 of file AthCommonDataStore.h.
|
inlineinherited |
Definition at line 145 of file AthCommonDataStore.h.
|
inlineinherited |
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
Definition at line 95 of file AthCommonDataStore.h.
|
private |
print basic geometry info to screen
Definition at line 575 of file InDetGeometryManagerTool.cxx.
|
inlineinherited |
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
Definition at line 85 of file AthCommonDataStore.h.
|
protectedinherited |
Add StoreName to extra input/output deps as needed.
use the logic of the VarHandleKey to parse the DataObjID keys supplied via the ExtraInputs and ExtraOuputs Properties to add the StoreName if it's not explicitly given
|
virtual |
Implements Trk::IGeometryManagerTool.
Definition at line 169 of file InDetGeometryManagerTool.cxx.
|
inlinevirtualinherited |
get next free IDHash usable for new AlignModule
Definition at line 65 of file IGeometryManagerTool.h.
|
virtual |
Implements Trk::IGeometryManagerTool.
Definition at line 108 of file InDetGeometryManagerTool.cxx.
|
overridevirtualinherited |
Return this algorithm's input handles.
We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.
|
inlinestaticinherited |
Definition at line 121 of file IGeometryManagerTool.h.
|
private |
check whether the module is of a single detector type
Definition at line 618 of file InDetGeometryManagerTool.cxx.
|
private |
check whether the module is Silicon only
Definition at line 642 of file InDetGeometryManagerTool.cxx.
|
private |
check wheather module is selected for module pointer
Definition at line 569 of file InDetGeometryManagerTool.cxx.
|
private |
check wheather module is selected for module id
Definition at line 561 of file InDetGeometryManagerTool.cxx.
|
inlineinherited |
Definition at line 24 of file AthCommonMsg.h.
|
inlineinherited |
Definition at line 30 of file AthCommonMsg.h.
|
overridevirtualinherited |
Return this algorithm's output handles.
We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.
|
inlinevirtual |
Implements Trk::IGeometryManagerTool.
Definition at line 63 of file InDetGeometryManagerTool.h.
|
virtual |
read the geometry Method is called from the main AlignAlg to build the geometry based on the requested level of alignment.
It calls the other build() methods based on that.
Implements Trk::IGeometryManagerTool.
Definition at line 234 of file InDetGeometryManagerTool.cxx.
|
inlineprotectedinherited |
Definition at line 380 of file AthCommonDataStore.h.
|
inlineprotectedinherited |
remove all handles from I/O resolution
Definition at line 364 of file AthCommonDataStore.h.
|
inlinevirtualinherited |
set alignment level
Reimplemented in InDet::PixelGeometryManagerTool, InDet::SCTGeometryManagerTool, and InDet::TRTGeometryManagerTool.
Definition at line 83 of file IGeometryManagerTool.h.
|
inlinevirtualinherited |
|
inlinevirtualinherited |
|
inlinevirtualinherited |
set first free IDHash usable for new AlignModule
Definition at line 68 of file IGeometryManagerTool.h.
|
inlinevirtualinherited |
set pointer to vector of hashMaps to which the elements should be added to
Definition at line 74 of file IGeometryManagerTool.h.
|
virtual |
sets the output stream for the logfile
Reimplemented from Trk::IGeometryManagerTool.
Definition at line 224 of file InDetGeometryManagerTool.cxx.
|
inlinevirtualinherited |
set pointer to module list to which the modules should be added to
Definition at line 71 of file IGeometryManagerTool.h.
|
inlinevirtualinherited |
Sets output ntuple file, to be implemented if needed for detector-specific implementation.
Definition at line 52 of file IGeometryManagerTool.h.
|
private |
sets sigmas for modules
Definition at line 532 of file InDetGeometryManagerTool.cxx.
|
inlinevirtual |
Implements Trk::IGeometryManagerTool.
Definition at line 64 of file InDetGeometryManagerTool.h.
|
overridevirtualinherited |
Perform system initialization for an algorithm.
We override this to declare all the elements of handle key arrays at the end of initialization. See comments on updateVHKA.
Reimplemented in asg::AsgMetadataTool, AthCheckedComponent< AthAlgTool >, AthCheckedComponent<::AthAlgTool >, and DerivationFramework::CfAthAlgTool.
|
overridevirtualinherited |
Handle START transition.
We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.
|
inlineinherited |
Definition at line 308 of file AthCommonDataStore.h.
|
protectedinherited |
alignment level
Definition at line 115 of file IGeometryManagerTool.h.
|
protectedinherited |
alignment level
Definition at line 116 of file IGeometryManagerTool.h.
|
protectedinherited |
alignment level
Definition at line 117 of file IGeometryManagerTool.h.
|
private |
Definition at line 116 of file InDetGeometryManagerTool.h.
|
protectedinherited |
pointer to module list to which the modules are added
Definition at line 106 of file IGeometryManagerTool.h.
|
private |
pointer to AlignModuleTool
Definition at line 114 of file InDetGeometryManagerTool.h.
|
private |
Definition at line 121 of file InDetGeometryManagerTool.h.
|
private |
Definition at line 128 of file InDetGeometryManagerTool.h.
|
private |
Definition at line 129 of file InDetGeometryManagerTool.h.
|
private |
Definition at line 130 of file InDetGeometryManagerTool.h.
|
private |
Definition at line 140 of file InDetGeometryManagerTool.h.
|
private |
Definition at line 141 of file InDetGeometryManagerTool.h.
|
private |
Definition at line 125 of file InDetGeometryManagerTool.h.
|
private |
Definition at line 126 of file InDetGeometryManagerTool.h.
|
private |
Definition at line 127 of file InDetGeometryManagerTool.h.
|
privateinherited |
Pointer to StoreGate (detector store by default)
Definition at line 393 of file AthCommonDataStore.h.
|
private |
Definition at line 143 of file InDetGeometryManagerTool.h.
|
private |
Definition at line 146 of file InDetGeometryManagerTool.h.
|
privateinherited |
Pointer to StoreGate (event store by default)
Definition at line 390 of file AthCommonDataStore.h.
|
private |
Definition at line 122 of file InDetGeometryManagerTool.h.
|
protectedinherited |
variable for setting the idHash of the AlignModules
Definition at line 111 of file IGeometryManagerTool.h.
|
private |
Definition at line 117 of file InDetGeometryManagerTool.h.
|
private |
Definition at line 119 of file InDetGeometryManagerTool.h.
|
protectedinherited |
pointer to vector of hashMaps to which the elements are added
Definition at line 109 of file IGeometryManagerTool.h.
|
protectedinherited |
logfile output stream
Definition at line 113 of file IGeometryManagerTool.h.
|
private |
Definition at line 144 of file InDetGeometryManagerTool.h.
|
private |
pointer to PIX detector manager
Definition at line 102 of file InDetGeometryManagerTool.h.
|
private |
pointer to PIX detector manager
Definition at line 106 of file InDetGeometryManagerTool.h.
|
private |
pointer to SCT detector manager
Definition at line 103 of file InDetGeometryManagerTool.h.
|
private |
pointer to SCT detector manager
Definition at line 107 of file InDetGeometryManagerTool.h.
|
private |
pointer to Silicon geometry manager
Definition at line 111 of file InDetGeometryManagerTool.h.
|
private |
Definition at line 135 of file InDetGeometryManagerTool.h.
|
private |
Definition at line 136 of file InDetGeometryManagerTool.h.
|
private |
Definition at line 137 of file InDetGeometryManagerTool.h.
|
private |
Definition at line 132 of file InDetGeometryManagerTool.h.
|
private |
Definition at line 133 of file InDetGeometryManagerTool.h.
|
private |
Definition at line 134 of file InDetGeometryManagerTool.h.
|
private |
pointer to Silicon detector manager
Definition at line 108 of file InDetGeometryManagerTool.h.
|
private |
pointer to TRT detector manager
Definition at line 104 of file InDetGeometryManagerTool.h.
|
private |
pointer to TRT geometry manager
Definition at line 112 of file InDetGeometryManagerTool.h.
|
private |
pointer to TRT detector manager
Definition at line 109 of file InDetGeometryManagerTool.h.
|
privateinherited |
Definition at line 399 of file AthCommonDataStore.h.
|
privateinherited |
Definition at line 398 of file AthCommonDataStore.h.