![]() |
ATLAS Offline Software
|
#include <TRTGeometryManagerTool.h>
Public Member Functions | |
| TRTGeometryManagerTool (const std::string &type, const std::string &name, const IInterface *parent) | |
| virtual | ~TRTGeometryManagerTool () |
| 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 TRT 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 | |
| bool | checkAlignLevelBarrel () |
| check whether the Barrel alignment level is correct | |
| bool | checkAlignLevelEndcaps () |
| check whether the Endcap alignment level is correct | |
| void | setAlignLevel (int level) |
| set alignment level | |
| virtual void | setNtuple (TFile *) |
| Sets output ntuple file, to be implemented if needed for detector-specific implementation. | |
| virtual void | setLogStream (std::ostream *os) |
| sets the output stream for the logfile | |
| 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 int | alignLevelBarrel () |
| get alignment level | |
| virtual void | setAlignLevelBarrel (int level) |
| set alignment level | |
| virtual int | alignLevelEndcaps () |
| get alignment level | |
| virtual void | setAlignLevelEndcaps (int level) |
| set alignment level | |
| 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 () |
| builds geometry for L1 TRT alignment Creates 1 module - the whole TRT | |
| void | buildL1Barrel () |
| builds geometry for L1 TRT Barrel alignment Creates single module for barrel | |
| void | buildL1Endcaps () |
| builds geometry for L1 TRT Endcap alignment Creates 2 modules, one for each endcap | |
| void | buildL2Barrel () |
| builds geometry for L2 TRT Barrel alignment Creates 96 modules - 3 layers with 32 modules per layer | |
| void | buildL2Endcaps () |
| builds geometry for L2 TRT Endcapalignment Creates 80 modules - 40 rings per endcap | |
| void | buildL2EndcapsOLD () |
| builds geometry for L2 TRT Endcapalignment Creates 28 modules - 14 wheels per endcap | |
| void | buildL3Barrel () |
| builds geometry for L3 TRT Barrel alignment Creates many modules - one module per straw | |
| void | buildL3Endcap () |
| builds geometry for L3 TRT Endcap alignment Creates many modules - one module per straw | |
| 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 | |
| bool | moduleSelectedBarrel (unsigned int iLayer, unsigned int iPhi) |
| check wheather barrel module is selected by layer and phi | |
| bool | moduleSelectedEndcap (unsigned int iwheel, unsigned int iphi) |
| check wheather we are aligning the different endcaps and sectors | |
| void | dumpGeometry () |
| print basic geometry info to screen | |
| Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &) |
| specialization for handling Gaudi::Property<SG::VarHandleKey> | |
Definition at line 42 of file TRTGeometryManagerTool.h.
|
privateinherited |
Definition at line 388 of file AthCommonDataStore.h.
| InDet::TRTGeometryManagerTool::TRTGeometryManagerTool | ( | const std::string & | type, |
| const std::string & | name, | ||
| const IInterface * | parent ) |
Definition at line 30 of file TRTGeometryManagerTool.cxx.
|
virtual |
Definition at line 109 of file TRTGeometryManagerTool.cxx.
|
virtual |
adds alignment parameters for the module checks for active parameters and calls setSigmas()
Reimplemented from Trk::IGeometryManagerTool.
Definition at line 1169 of file TRTGeometryManagerTool.cxx.
|
inlinevirtualinherited |
|
inlinevirtualinherited |
|
inlinevirtualinherited |
|
virtual |
builds geometry for TRT alignment
Reimplemented from Trk::IGeometryManagerTool.
Definition at line 285 of file TRTGeometryManagerTool.cxx.
|
private |
builds geometry for L1 TRT alignment Creates 1 module - the whole TRT
Definition at line 331 of file TRTGeometryManagerTool.cxx.
|
private |
builds geometry for L1 TRT Barrel alignment Creates single module for barrel
Definition at line 408 of file TRTGeometryManagerTool.cxx.
|
private |
builds geometry for L1 TRT Endcap alignment Creates 2 modules, one for each endcap
Definition at line 483 of file TRTGeometryManagerTool.cxx.
|
private |
builds geometry for L2 TRT Barrel alignment Creates 96 modules - 3 layers with 32 modules per layer
Definition at line 569 of file TRTGeometryManagerTool.cxx.
|
private |
builds geometry for L2 TRT Endcapalignment Creates 80 modules - 40 rings per endcap
Definition at line 718 of file TRTGeometryManagerTool.cxx.
|
private |
builds geometry for L2 TRT Endcapalignment Creates 28 modules - 14 wheels per endcap
Definition at line 849 of file TRTGeometryManagerTool.cxx.
|
private |
builds geometry for L3 TRT Barrel alignment Creates many modules - one module per straw
Definition at line 947 of file TRTGeometryManagerTool.cxx.
|
private |
builds geometry for L3 TRT Endcap alignment Creates many modules - one module per straw
Definition at line 1052 of file TRTGeometryManagerTool.cxx.
|
virtual |
check whether the alignment level is correct
Reimplemented from Trk::IGeometryManagerTool.
Definition at line 181 of file TRTGeometryManagerTool.cxx.
|
virtual |
check whether the Barrel alignment level is correct
Reimplemented from Trk::IGeometryManagerTool.
Definition at line 209 of file TRTGeometryManagerTool.cxx.
|
virtual |
check whether the Endcap alignment level is correct
Reimplemented from Trk::IGeometryManagerTool.
Definition at line 226 of file TRTGeometryManagerTool.cxx.
|
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 1377 of file TRTGeometryManagerTool.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 166 of file TRTGeometryManagerTool.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 123 of file TRTGeometryManagerTool.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 wheather module is selected for module pointer
Definition at line 1309 of file TRTGeometryManagerTool.cxx.
|
private |
check wheather module is selected for module id
Definition at line 1294 of file TRTGeometryManagerTool.cxx.
|
private |
check wheather barrel module is selected by layer and phi
Definition at line 1316 of file TRTGeometryManagerTool.cxx.
|
private |
check wheather we are aligning the different endcaps and sectors
Definition at line 1346 of file TRTGeometryManagerTool.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 243 of file TRTGeometryManagerTool.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.
|
virtual |
set alignment level
Reimplemented from Trk::IGeometryManagerTool.
Definition at line 174 of file TRTGeometryManagerTool.cxx.
|
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.
|
inlinevirtualinherited |
sets the output stream for the logfile
Reimplemented in InDet::InDetGeometryManagerTool, and InDet::SiGeometryManagerTool.
Definition at line 55 of file IGeometryManagerTool.h.
|
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 1226 of file TRTGeometryManagerTool.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 145 of file TRTGeometryManagerTool.h.
|
private |
Definition at line 151 of file TRTGeometryManagerTool.h.
|
private |
Definition at line 152 of file TRTGeometryManagerTool.h.
|
private |
Definition at line 153 of file TRTGeometryManagerTool.h.
|
private |
Definition at line 148 of file TRTGeometryManagerTool.h.
|
private |
Definition at line 149 of file TRTGeometryManagerTool.h.
|
private |
Definition at line 150 of file TRTGeometryManagerTool.h.
|
private |
Definition at line 158 of file TRTGeometryManagerTool.h.
|
private |
Definition at line 159 of file TRTGeometryManagerTool.h.
|
private |
Definition at line 160 of file TRTGeometryManagerTool.h.
|
private |
Definition at line 146 of file TRTGeometryManagerTool.h.
|
private |
Definition at line 155 of file TRTGeometryManagerTool.h.
|
private |
Definition at line 156 of file TRTGeometryManagerTool.h.
|
private |
Definition at line 157 of file TRTGeometryManagerTool.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 137 of file TRTGeometryManagerTool.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 135 of file TRTGeometryManagerTool.h.
|
private |
Definition at line 142 of file TRTGeometryManagerTool.h.
|
private |
list of barrel layers to align (if empty, align everything)
Definition at line 191 of file TRTGeometryManagerTool.h.
|
private |
list of barrel phi sectors to align (if empty, align everything)
Definition at line 190 of file TRTGeometryManagerTool.h.
|
privateinherited |
Pointer to StoreGate (detector store by default)
Definition at line 393 of file AthCommonDataStore.h.
|
private |
Definition at line 197 of file TRTGeometryManagerTool.h.
|
private |
Definition at line 200 of file TRTGeometryManagerTool.h.
|
private |
endcap_id of the endcap to align (-2 or 2 for endcap A or C, 0 for both)
Definition at line 193 of file TRTGeometryManagerTool.h.
|
private |
list of endcap phi sectors to align (if empty, align everything)
Definition at line 194 of file TRTGeometryManagerTool.h.
|
private |
list of endcap wheels to align (if empty, align everything)
Definition at line 195 of file TRTGeometryManagerTool.h.
|
privateinherited |
Pointer to StoreGate (event store by default)
Definition at line 390 of file AthCommonDataStore.h.
|
private |
Definition at line 143 of file TRTGeometryManagerTool.h.
|
protectedinherited |
variable for setting the idHash of the AlignModules
Definition at line 111 of file IGeometryManagerTool.h.
|
private |
Definition at line 138 of file TRTGeometryManagerTool.h.
|
private |
Definition at line 140 of file TRTGeometryManagerTool.h.
|
protectedinherited |
pointer to vector of hashMaps to which the elements are added
Definition at line 109 of file IGeometryManagerTool.h.
|
private |
Definition at line 133 of file TRTGeometryManagerTool.h.
|
protectedinherited |
logfile output stream
Definition at line 113 of file IGeometryManagerTool.h.
|
private |
Definition at line 198 of file TRTGeometryManagerTool.h.
|
private |
Definition at line 165 of file TRTGeometryManagerTool.h.
|
private |
Definition at line 166 of file TRTGeometryManagerTool.h.
|
private |
Definition at line 167 of file TRTGeometryManagerTool.h.
|
private |
Definition at line 162 of file TRTGeometryManagerTool.h.
|
private |
Definition at line 163 of file TRTGeometryManagerTool.h.
|
private |
Definition at line 164 of file TRTGeometryManagerTool.h.
|
private |
Definition at line 172 of file TRTGeometryManagerTool.h.
|
private |
Definition at line 173 of file TRTGeometryManagerTool.h.
|
private |
Definition at line 174 of file TRTGeometryManagerTool.h.
|
private |
Definition at line 169 of file TRTGeometryManagerTool.h.
|
private |
Definition at line 170 of file TRTGeometryManagerTool.h.
|
private |
Definition at line 171 of file TRTGeometryManagerTool.h.
|
private |
Definition at line 179 of file TRTGeometryManagerTool.h.
|
private |
Definition at line 180 of file TRTGeometryManagerTool.h.
|
private |
Definition at line 181 of file TRTGeometryManagerTool.h.
|
private |
Definition at line 176 of file TRTGeometryManagerTool.h.
|
private |
Definition at line 177 of file TRTGeometryManagerTool.h.
|
private |
Definition at line 178 of file TRTGeometryManagerTool.h.
|
private |
Definition at line 186 of file TRTGeometryManagerTool.h.
|
private |
Definition at line 187 of file TRTGeometryManagerTool.h.
|
private |
Definition at line 188 of file TRTGeometryManagerTool.h.
|
private |
Definition at line 183 of file TRTGeometryManagerTool.h.
|
private |
Definition at line 184 of file TRTGeometryManagerTool.h.
|
private |
Definition at line 185 of file TRTGeometryManagerTool.h.
|
private |
pointer to TRT detector manager
Definition at line 131 of file TRTGeometryManagerTool.h.
|
privateinherited |
Definition at line 399 of file AthCommonDataStore.h.
|
privateinherited |
Definition at line 398 of file AthCommonDataStore.h.