![]() |
ATLAS Offline Software
|
#include <SiGeometryManagerTool.h>
Public Member Functions | |
| SiGeometryManagerTool (const std::string &type, const std::string &name, const IInterface *parent) | |
| virtual | ~SiGeometryManagerTool () |
| 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 | |
| Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &) |
| specialization for handling Gaudi::Property<SG::VarHandleKey> | |
Private Attributes | |
| const InDetDD::PixelDetectorManager * | m_pixelDetManager |
| pointer to PIX detector manager | |
| const InDetDD::SCT_DetectorManager * | m_sctDetManager |
| pointer to SCT detector manager | |
| const PixelID * | m_pixHelper |
| pointer to PIX detector manager | |
| const SCT_ID * | m_sctHelper |
| pointer to SCT detector manager | |
| const SiliconID * | m_idHelper |
| pointer to Silicon detector manager | |
| ToolHandle< Trk::IGeometryManagerTool > | m_pixelGeoManager |
| pointer to Pixel geometry manager | |
| ToolHandle< Trk::IGeometryManagerTool > | m_sctGeoManager |
| pointer to SCT geometry manager | |
| ToolHandle< Trk::IAlignModuleTool > | m_alignModuleTool |
| pointer to AlignModuleTool | |
| Trk::AlignModuleList | m_alignModuleList |
| Trk::AlignModuleList | m_idHashToAlignModuleMap |
| std::vector< Trk::AlignModuleList * > | m_idHashToAlignModuleMaps |
| DataVector< DataVector< Trk::AlignPar > > * | m_alignParList |
| DataVector< DataVector< Trk::AlignPar > > * | m_fullAlignParList |
| bool | m_alignX |
| bool | m_alignY |
| bool | m_alignZ |
| bool | m_alignRotX |
| bool | m_alignRotY |
| bool | m_alignRotZ |
| double | m_sigmaX |
| double | m_sigmaY |
| double | m_sigmaZ |
| double | m_sigmaRotX |
| double | m_sigmaRotY |
| double | m_sigmaRotZ |
| bool | m_alignPixel |
| bool | m_alignSCT |
| bool | m_doModuleSelection |
| std::vector< unsigned long long > | m_moduleSelection |
| bool | m_dumpGeometry |
| bool | m_actualGeom |
| Gaudi::Property< std::string > | m_pixelDetManagerName {this,"PixelDetectorManager","Pixel","Name of the Pixel Detector Manager to attempt to retrieve"} |
| Gaudi::Property< std::string > | m_stripDetManagerName {this,"StripDetectorManager","SCT","Name of the Strip Detector Manager to attempt to retrieve"} |
| StoreGateSvc_t | m_evtStore |
| Pointer to StoreGate (event store by default) | |
| StoreGateSvc_t | m_detStore |
| Pointer to StoreGate (detector store by default) | |
| std::vector< SG::VarHandleKeyArray * > | m_vhka |
| bool | m_varHandleArraysDeclared |
Definition at line 49 of file SiGeometryManagerTool.h.
|
privateinherited |
Definition at line 388 of file AthCommonDataStore.h.
| InDet::SiGeometryManagerTool::SiGeometryManagerTool | ( | const std::string & | type, |
| const std::string & | name, | ||
| const IInterface * | parent ) |
Definition at line 30 of file SiGeometryManagerTool.cxx.
|
virtual |
Definition at line 84 of file SiGeometryManagerTool.cxx.
|
virtual |
adds alignment parameters for the module checks for active parameters and calls setSigmas()
Reimplemented from Trk::IGeometryManagerTool.
Definition at line 422 of file SiGeometryManagerTool.cxx.
|
inlinevirtualinherited |
|
inlinevirtualinherited |
get alignment level
Definition at line 86 of file IGeometryManagerTool.h.
|
inlinevirtualinherited |
get alignment level
Definition at line 95 of file IGeometryManagerTool.h.
|
virtual |
builds geometry for Silicon alignment
Reimplemented from Trk::IGeometryManagerTool.
Definition at line 262 of file SiGeometryManagerTool.cxx.
|
private |
creates L0 AlignModules for Silicon
Definition at line 297 of file SiGeometryManagerTool.cxx.
|
virtual |
check whether the alignment level is correct
Reimplemented from Trk::IGeometryManagerTool.
Definition at line 160 of file SiGeometryManagerTool.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 523 of file SiGeometryManagerTool.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 152 of file SiGeometryManagerTool.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 97 of file SiGeometryManagerTool.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 756 of file SiGeometryManagerTool.cxx.
|
private |
check wheather module is selected for module pointer
Definition at line 517 of file SiGeometryManagerTool.cxx.
|
private |
check wheather module is selected for module id
Definition at line 474 of file SiGeometryManagerTool.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 |
|
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 217 of file SiGeometryManagerTool.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 207 of file SiGeometryManagerTool.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 488 of file SiGeometryManagerTool.cxx.
|
inlinevirtual |
|
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.
|
private |
Definition at line 144 of file SiGeometryManagerTool.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 113 of file SiGeometryManagerTool.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 111 of file SiGeometryManagerTool.h.
|
private |
Definition at line 118 of file SiGeometryManagerTool.h.
|
private |
Definition at line 137 of file SiGeometryManagerTool.h.
|
private |
Definition at line 125 of file SiGeometryManagerTool.h.
|
private |
Definition at line 126 of file SiGeometryManagerTool.h.
|
private |
Definition at line 127 of file SiGeometryManagerTool.h.
|
private |
Definition at line 138 of file SiGeometryManagerTool.h.
|
private |
Definition at line 122 of file SiGeometryManagerTool.h.
|
private |
Definition at line 123 of file SiGeometryManagerTool.h.
|
private |
Definition at line 124 of file SiGeometryManagerTool.h.
|
privateinherited |
Pointer to StoreGate (detector store by default)
Definition at line 393 of file AthCommonDataStore.h.
|
private |
Definition at line 140 of file SiGeometryManagerTool.h.
|
private |
Definition at line 143 of file SiGeometryManagerTool.h.
|
privateinherited |
Pointer to StoreGate (event store by default)
Definition at line 390 of file AthCommonDataStore.h.
|
private |
Definition at line 119 of file SiGeometryManagerTool.h.
|
protectedinherited |
variable for setting the idHash of the AlignModules
Definition at line 111 of file IGeometryManagerTool.h.
|
private |
Definition at line 114 of file SiGeometryManagerTool.h.
|
private |
Definition at line 116 of file SiGeometryManagerTool.h.
|
protectedinherited |
pointer to vector of hashMaps to which the elements are added
Definition at line 109 of file IGeometryManagerTool.h.
|
private |
pointer to Silicon detector manager
Definition at line 106 of file SiGeometryManagerTool.h.
|
protectedinherited |
logfile output stream
Definition at line 113 of file IGeometryManagerTool.h.
|
private |
Definition at line 141 of file SiGeometryManagerTool.h.
|
private |
pointer to PIX detector manager
Definition at line 101 of file SiGeometryManagerTool.h.
|
private |
Definition at line 146 of file SiGeometryManagerTool.h.
|
private |
pointer to Pixel geometry manager
Definition at line 108 of file SiGeometryManagerTool.h.
|
private |
pointer to PIX detector manager
Definition at line 104 of file SiGeometryManagerTool.h.
|
private |
pointer to SCT detector manager
Definition at line 102 of file SiGeometryManagerTool.h.
|
private |
pointer to SCT geometry manager
Definition at line 109 of file SiGeometryManagerTool.h.
|
private |
pointer to SCT detector manager
Definition at line 105 of file SiGeometryManagerTool.h.
|
private |
Definition at line 132 of file SiGeometryManagerTool.h.
|
private |
Definition at line 133 of file SiGeometryManagerTool.h.
|
private |
Definition at line 134 of file SiGeometryManagerTool.h.
|
private |
Definition at line 129 of file SiGeometryManagerTool.h.
|
private |
Definition at line 130 of file SiGeometryManagerTool.h.
|
private |
Definition at line 131 of file SiGeometryManagerTool.h.
|
private |
Definition at line 147 of file SiGeometryManagerTool.h.
|
privateinherited |
Definition at line 399 of file AthCommonDataStore.h.
|
privateinherited |
Definition at line 398 of file AthCommonDataStore.h.