![]() |
ATLAS Offline Software
|
#include <TRTGeometryManagerTool.h>
Public Member Functions | |
| 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) |
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 | |
Private Attributes | |
| const InDetDD::TRT_DetectorManager * | m_trtDetManager {nullptr} |
| pointer to TRT detector manager | |
| const TRT_ID * | m_idHelper {nullptr} |
| PublicToolHandle< Trk::IAlignModuleTool > | m_alignModuleTool {this, "AlignModuleTool", "Trk::AlignModuleTool/AlignModuleTool"} |
| pointer to AlignModuleTool | |
| Trk::AlignModuleList | m_alignModuleList |
| Trk::AlignModuleList | m_idHashToAlignModuleMap |
| std::vector< Trk::AlignModuleList * > | m_idHashToAlignModuleMaps {std::vector<Trk::AlignModuleList *>(Trk::AlignModule::NDetectorTypes, nullptr)} |
| DataVector< DataVector< Trk::AlignPar > > * | m_alignParList {nullptr} |
| DataVector< DataVector< Trk::AlignPar > > * | m_fullAlignParList {nullptr} |
| Gaudi::Property< bool > | m_alignBarrel {this, "AlignBarrel", true} |
| Gaudi::Property< bool > | m_alignEndcaps {this, "AlignEndcaps", true} |
| Gaudi::Property< bool > | m_alignBarrelX {this, "AlignBarrelX", true} |
| Gaudi::Property< bool > | m_alignBarrelY {this, "AlignBarrelY", true} |
| Gaudi::Property< bool > | m_alignBarrelZ {this, "AlignBarrelZ", false} |
| Gaudi::Property< bool > | m_alignBarrelRotX {this, "AlignBarrelRotX", true} |
| Gaudi::Property< bool > | m_alignBarrelRotY {this, "AlignBarrelRotY", true} |
| Gaudi::Property< bool > | m_alignBarrelRotZ {this, "AlignBarrelRotZ", true} |
| Gaudi::Property< bool > | m_alignEndcapX {this, "AlignEndcapX", true} |
| Gaudi::Property< bool > | m_alignEndcapY {this, "AlignEndcapY", true} |
| Gaudi::Property< bool > | m_alignEndcapZ {this, "AlignEndcapZ", true} |
| Gaudi::Property< bool > | m_alignEndcapRotX {this, "AlignEndcapRotX", true} |
| Gaudi::Property< bool > | m_alignEndcapRotY {this, "AlignEndcapRotY", true} |
| Gaudi::Property< bool > | m_alignEndcapRotZ {this, "AlignEndcapRotZ", true} |
| Gaudi::Property< double > | m_sigmaBarrelX {this, "SetSigmaBarrelX", 1.} |
| Gaudi::Property< double > | m_sigmaBarrelY {this, "SetSigmaBarrelY", 1.} |
| Gaudi::Property< double > | m_sigmaBarrelZ {this, "SetSigmaBarrelZ", 1.} |
| Gaudi::Property< double > | m_sigmaBarrelRotX {this, "SetSigmaBarrelRotX", 0.001} |
| Gaudi::Property< double > | m_sigmaBarrelRotY {this, "SetSigmaBarrelRotY", 0.001} |
| Gaudi::Property< double > | m_sigmaBarrelRotZ {this, "SetSigmaBarrelRotZ", 0.001} |
| Gaudi::Property< double > | m_sigmaEndcapX {this, "SetSigmaEndcapX", 1.} |
| Gaudi::Property< double > | m_sigmaEndcapY {this, "SetSigmaEndcapY", 1.} |
| Gaudi::Property< double > | m_sigmaEndcapZ {this, "SetSigmaEndcapZ", 1.} |
| Gaudi::Property< double > | m_sigmaEndcapRotX {this, "SetSigmaEndcapRotX", 0.001} |
| Gaudi::Property< double > | m_sigmaEndcapRotY {this, "SetSigmaEndcapRotY", 0.001} |
| Gaudi::Property< double > | m_sigmaEndcapRotZ {this, "SetSigmaEndcapRotZ", 0.001} |
| Gaudi::Property< double > | m_softcutBarrelX {this, "SetSoftCutBarrelX", 1.} |
| Gaudi::Property< double > | m_softcutBarrelY {this, "SetSoftCutBarrelY", 1.} |
| Gaudi::Property< double > | m_softcutBarrelZ {this, "SetSoftCutBarrelZ", 1.} |
| Gaudi::Property< double > | m_softcutBarrelRotX {this, "SetSoftCutBarrelRotX", 1.} |
| Gaudi::Property< double > | m_softcutBarrelRotY {this, "SetSoftCutBarrelRotY", 1.} |
| Gaudi::Property< double > | m_softcutBarrelRotZ {this, "SetSoftCutBarrelRotZ", 1.} |
| Gaudi::Property< double > | m_softcutEndcapX {this, "SetSoftCutEndcapX", 1.} |
| Gaudi::Property< double > | m_softcutEndcapY {this, "SetSoftCutEndcapY", 1.} |
| Gaudi::Property< double > | m_softcutEndcapZ {this, "SetSoftCutEndcapZ", 1.} |
| Gaudi::Property< double > | m_softcutEndcapRotX {this, "SetSoftCutEndcapRotX", 1.} |
| Gaudi::Property< double > | m_softcutEndcapRotY {this, "SetSoftCutEndcapRotY", 1.} |
| Gaudi::Property< double > | m_softcutEndcapRotZ {this, "SetSoftCutEndcapRotZ", 1.} |
| Gaudi::Property< std::vector< int > > | m_barrelPhiSectors {this, "AlignBarrelPhiSectors", {}} |
| list of barrel phi sectors to align (if empty, align everything) | |
| Gaudi::Property< std::vector< int > > | m_barrelLayers {this, "AlignBarrelLayers", {}} |
| list of barrel layers to align (if empty, align everything) | |
| Gaudi::Property< int > | m_endcap {this, "AlignSingleEndcap", 0} |
| endcap_id of the endcap to align (-2 or 2 for endcap A or C, 0 for both) | |
| Gaudi::Property< std::vector< int > > | m_endcapPhiSectors {this, "AlignEndcapPhiSectors", {}} |
| list of endcap phi sectors to align (if empty, align everything) | |
| Gaudi::Property< std::vector< int > > | m_endcapWheels {this, "AlignEndcapWheels", {}} |
| list of endcap wheels to align (if empty, align everything) | |
| Gaudi::Property< int > | m_alignLevelProp {this, "AlignmentLevel", 1} |
| property, copied to m_alignLevel in initialize() | |
| Gaudi::Property< int > | m_alignLevelBarrelProp {this, "AlignmentLevelBarrel", -1} |
| property, copied to m_alignLevelBarrel in initialize() | |
| Gaudi::Property< int > | m_alignLevelEndcapsProp {this, "AlignmentLevelEndcaps", -1} |
| property, copied to m_alignLevelEndcaps in initialize() | |
| Gaudi::Property< bool > | m_doModuleSelection {this, "doModuleSelection", false} |
| Gaudi::Property< std::vector< unsigned long long > > | m_moduleSelection {this, "ModuleSelection", {}} |
| Gaudi::Property< bool > | m_dumpGeometry {this, "DumpGeometry", true} |
Definition at line 43 of file TRTGeometryManagerTool.h.
|
virtual |
Definition at line 31 of file TRTGeometryManagerTool.cxx.
| void InDet::TRTGeometryManagerTool::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()
Definition at line 1095 of file TRTGeometryManagerTool.cxx.
| void InDet::TRTGeometryManagerTool::buildGeometry | ( | ) |
builds geometry for TRT alignment
Definition at line 212 of file TRTGeometryManagerTool.cxx.
|
private |
builds geometry for L1 TRT alignment Creates 1 module - the whole TRT
Definition at line 258 of file TRTGeometryManagerTool.cxx.
|
private |
builds geometry for L1 TRT Barrel alignment Creates single module for barrel
Definition at line 335 of file TRTGeometryManagerTool.cxx.
|
private |
builds geometry for L1 TRT Endcap alignment Creates 2 modules, one for each endcap
Definition at line 410 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 496 of file TRTGeometryManagerTool.cxx.
|
private |
builds geometry for L2 TRT Endcapalignment Creates 80 modules - 40 rings per endcap
Definition at line 645 of file TRTGeometryManagerTool.cxx.
|
private |
builds geometry for L2 TRT Endcapalignment Creates 28 modules - 14 wheels per endcap
Definition at line 775 of file TRTGeometryManagerTool.cxx.
|
private |
builds geometry for L3 TRT Barrel alignment Creates many modules - one module per straw
Definition at line 873 of file TRTGeometryManagerTool.cxx.
|
private |
builds geometry for L3 TRT Endcap alignment Creates many modules - one module per straw
Definition at line 978 of file TRTGeometryManagerTool.cxx.
| bool InDet::TRTGeometryManagerTool::checkAlignLevel | ( | ) |
check whether the alignment level is correct
Definition at line 108 of file TRTGeometryManagerTool.cxx.
| bool InDet::TRTGeometryManagerTool::checkAlignLevelBarrel | ( | ) |
check whether the Barrel alignment level is correct
Definition at line 136 of file TRTGeometryManagerTool.cxx.
| bool InDet::TRTGeometryManagerTool::checkAlignLevelEndcaps | ( | ) |
check whether the Endcap alignment level is correct
Definition at line 153 of file TRTGeometryManagerTool.cxx.
|
private |
print basic geometry info to screen
Definition at line 1303 of file TRTGeometryManagerTool.cxx.
| StatusCode InDet::TRTGeometryManagerTool::finalize | ( | ) |
Definition at line 93 of file TRTGeometryManagerTool.cxx.
| StatusCode InDet::TRTGeometryManagerTool::initialize | ( | ) |
Definition at line 45 of file TRTGeometryManagerTool.cxx.
|
private |
check wheather module is selected for module pointer
Definition at line 1235 of file TRTGeometryManagerTool.cxx.
|
private |
check wheather module is selected for module id
Definition at line 1220 of file TRTGeometryManagerTool.cxx.
|
private |
check wheather barrel module is selected by layer and phi
Definition at line 1242 of file TRTGeometryManagerTool.cxx.
|
private |
check wheather we are aligning the different endcaps and sectors
Definition at line 1272 of file TRTGeometryManagerTool.cxx.
|
inline |
Definition at line 59 of file TRTGeometryManagerTool.h.
| int InDet::TRTGeometryManagerTool::ReadGeometry | ( | int | solveLevel | ) |
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.
Definition at line 170 of file TRTGeometryManagerTool.cxx.
| void InDet::TRTGeometryManagerTool::setAlignLevel | ( | int | level | ) |
Definition at line 101 of file TRTGeometryManagerTool.cxx.
|
private |
sets sigmas for modules
Definition at line 1152 of file TRTGeometryManagerTool.cxx.
|
inline |
Definition at line 60 of file TRTGeometryManagerTool.h.
|
private |
Definition at line 146 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 154 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 151 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 161 of file TRTGeometryManagerTool.h.
|
private |
Definition at line 147 of file TRTGeometryManagerTool.h.
|
private |
Definition at line 156 of file TRTGeometryManagerTool.h.
|
private |
Definition at line 157 of file TRTGeometryManagerTool.h.
|
private |
Definition at line 158 of file TRTGeometryManagerTool.h.
|
private |
property, copied to m_alignLevelBarrel in initialize()
Definition at line 199 of file TRTGeometryManagerTool.h.
|
private |
property, copied to m_alignLevelEndcaps in initialize()
Definition at line 200 of file TRTGeometryManagerTool.h.
|
private |
property, copied to m_alignLevel in initialize()
Definition at line 198 of file TRTGeometryManagerTool.h.
|
private |
Definition at line 138 of file TRTGeometryManagerTool.h.
|
private |
pointer to AlignModuleTool
Definition at line 136 of file TRTGeometryManagerTool.h.
|
private |
Definition at line 143 of file TRTGeometryManagerTool.h.
|
private |
list of barrel layers to align (if empty, align everything)
Definition at line 192 of file TRTGeometryManagerTool.h.
|
private |
list of barrel phi sectors to align (if empty, align everything)
Definition at line 191 of file TRTGeometryManagerTool.h.
|
private |
Definition at line 201 of file TRTGeometryManagerTool.h.
|
private |
Definition at line 204 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 194 of file TRTGeometryManagerTool.h.
|
private |
list of endcap phi sectors to align (if empty, align everything)
Definition at line 195 of file TRTGeometryManagerTool.h.
|
private |
list of endcap wheels to align (if empty, align everything)
Definition at line 196 of file TRTGeometryManagerTool.h.
|
private |
Definition at line 144 of file TRTGeometryManagerTool.h.
|
private |
Definition at line 139 of file TRTGeometryManagerTool.h.
|
private |
Definition at line 141 of file TRTGeometryManagerTool.h.
Definition at line 134 of file TRTGeometryManagerTool.h.
|
private |
Definition at line 202 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 168 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 165 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 175 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 172 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 182 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 179 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 189 of file TRTGeometryManagerTool.h.
|
private |
Definition at line 184 of file TRTGeometryManagerTool.h.
|
private |
Definition at line 185 of file TRTGeometryManagerTool.h.
|
private |
Definition at line 186 of file TRTGeometryManagerTool.h.
|
private |
pointer to TRT detector manager
Definition at line 132 of file TRTGeometryManagerTool.h.