 |
ATLAS Offline Software
|
#include <TRTGeometryManagerTool.h>
|
| 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. More...
|
|
void | PrintModPositions () |
|
void | StoreModPositions (std::string) |
|
void | buildGeometry () |
| builds geometry for TRT alignment More...
|
|
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() More...
|
|
bool | checkAlignLevel () |
| check whether the alignment level is correct More...
|
|
bool | checkAlignLevelBarrel () |
| check whether the Barrel alignment level is correct More...
|
|
bool | checkAlignLevelEndcaps () |
| check whether the Endcap alignment level is correct More...
|
|
void | setAlignLevel (int level) |
| set alignment level More...
|
|
virtual void | setNtuple (TFile *) |
| Sets output ntuple file, to be implemented if needed for detector-specific implementation. More...
|
|
virtual void | setLogStream (std::ostream *os) |
| sets the output stream for the logfile More...
|
|
virtual int | getNextIDHash () |
| get next free IDHash usable for new AlignModule More...
|
|
virtual void | setFirstIDHash (unsigned int idhash) |
| set first free IDHash usable for new AlignModule More...
|
|
virtual void | setModuleList (Trk::AlignModuleList *list) |
| set pointer to module list to which the modules should be added to More...
|
|
virtual void | setHashMaps (std::vector< Trk::AlignModuleList * > *maps) |
| set pointer to vector of hashMaps to which the elements should be added to More...
|
|
virtual int | alignLevel () |
| get alignment level More...
|
|
virtual int | alignLevelBarrel () |
| get alignment level More...
|
|
virtual void | setAlignLevelBarrel (int level) |
| set alignment level More...
|
|
virtual int | alignLevelEndcaps () |
| get alignment level More...
|
|
virtual void | setAlignLevelEndcaps (int level) |
| set alignment level More...
|
|
ServiceHandle< StoreGateSvc > & | evtStore () |
| The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc . More...
|
|
const ServiceHandle< StoreGateSvc > & | evtStore () const |
| The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc . More...
|
|
const ServiceHandle< StoreGateSvc > & | detStore () const |
| The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc . More...
|
|
virtual StatusCode | sysInitialize () override |
| Perform system initialization for an algorithm. More...
|
|
virtual StatusCode | sysStart () override |
| Handle START transition. More...
|
|
virtual std::vector< Gaudi::DataHandle * > | inputHandles () const override |
| Return this algorithm's input handles. More...
|
|
virtual std::vector< Gaudi::DataHandle * > | outputHandles () const override |
| Return this algorithm's output handles. More...
|
|
Gaudi::Details::PropertyBase & | declareProperty (Gaudi::Property< T, V, H > &t) |
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, SG::VarHandleKey &hndl, const std::string &doc, const SG::VarHandleKeyType &) |
| Declare a new Gaudi property. More...
|
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, SG::VarHandleBase &hndl, const std::string &doc, const SG::VarHandleType &) |
| Declare a new Gaudi property. More...
|
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, SG::VarHandleKeyArray &hndArr, const std::string &doc, const SG::VarHandleKeyArrayType &) |
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, T &property, const std::string &doc, const SG::NotHandleType &) |
| Declare a new Gaudi property. More...
|
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, T &property, const std::string &doc="none") |
| Declare a new Gaudi property. More...
|
|
void | updateVHKA (Gaudi::Details::PropertyBase &) |
|
MsgStream & | msg () const |
|
MsgStream & | msg (const MSG::Level lvl) const |
|
bool | msgLvl (const MSG::Level lvl) const |
|
|
void | buildL0 () |
| builds geometry for L1 TRT alignment Creates 1 module - the whole TRT More...
|
|
void | buildL1Barrel () |
| builds geometry for L1 TRT Barrel alignment Creates single module for barrel More...
|
|
void | buildL1Endcaps () |
| builds geometry for L1 TRT Endcap alignment Creates 2 modules, one for each endcap More...
|
|
void | buildL2Barrel () |
| builds geometry for L2 TRT Barrel alignment Creates 96 modules - 3 layers with 32 modules per layer More...
|
|
void | buildL2Endcaps () |
| builds geometry for L2 TRT Endcapalignment Creates 80 modules - 40 rings per endcap More...
|
|
void | buildL2EndcapsOLD () |
| builds geometry for L2 TRT Endcapalignment Creates 28 modules - 14 wheels per endcap More...
|
|
void | buildL3Barrel () |
| builds geometry for L3 TRT Barrel alignment Creates many modules - one module per straw More...
|
|
void | buildL3Endcap () |
| builds geometry for L3 TRT Endcap alignment Creates many modules - one module per straw More...
|
|
void | setSigmas (Trk::AlignModule *mod, DataVector< Trk::AlignPar > *modPars) |
| sets sigmas for modules More...
|
|
bool | moduleSelected (Trk::AlignModule *mod) |
| check wheather module is selected for module pointer More...
|
|
bool | moduleSelected (unsigned long long modId) |
| check wheather module is selected for module id More...
|
|
bool | moduleSelectedBarrel (unsigned int iLayer, unsigned int iPhi) |
| check wheather barrel module is selected by layer and phi More...
|
|
bool | moduleSelectedEndcap (unsigned int iwheel, unsigned int iphi) |
| check wheather we are aligning the different endcaps and sectors More...
|
|
void | dumpGeometry () |
| print basic geometry info to screen More...
|
|
Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &) |
| specialization for handling Gaudi::Property<SG::VarHandleKey> More...
|
|
Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyArrayType &) |
| specialization for handling Gaudi::Property<SG::VarHandleKeyArray> More...
|
|
Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleType &) |
| specialization for handling Gaudi::Property<SG::VarHandleBase> More...
|
|
Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T, V, H > &t, const SG::NotHandleType &) |
| specialization for handling everything that's not a Gaudi::Property<SG::VarHandleKey> or a <SG::VarHandleKeyArray> More...
|
|
Definition at line 42 of file TRTGeometryManagerTool.h.
◆ StoreGateSvc_t
◆ TRTGeometryManagerTool()
InDet::TRTGeometryManagerTool::TRTGeometryManagerTool |
( |
const std::string & |
type, |
|
|
const std::string & |
name, |
|
|
const IInterface * |
parent |
|
) |
| |
◆ ~TRTGeometryManagerTool()
InDet::TRTGeometryManagerTool::~TRTGeometryManagerTool |
( |
| ) |
|
|
virtual |
◆ addModuleParameters()
◆ alignLevel()
virtual int Trk::IGeometryManagerTool::alignLevel |
( |
| ) |
|
|
inlinevirtualinherited |
◆ alignLevelBarrel()
virtual int Trk::IGeometryManagerTool::alignLevelBarrel |
( |
| ) |
|
|
inlinevirtualinherited |
◆ alignLevelEndcaps()
virtual int Trk::IGeometryManagerTool::alignLevelEndcaps |
( |
| ) |
|
|
inlinevirtualinherited |
◆ buildGeometry()
void InDet::TRTGeometryManagerTool::buildGeometry |
( |
| ) |
|
|
virtual |
◆ buildL0()
void InDet::TRTGeometryManagerTool::buildL0 |
( |
| ) |
|
|
private |
builds geometry for L1 TRT alignment Creates 1 module - the whole TRT
Definition at line 331 of file TRTGeometryManagerTool.cxx.
333 ATH_MSG_INFO(
"Preparing the TRT geometry for L0: whole TRT");
373 IdentifierHash idHash =
index;
395 (*trtIdHashMap)[idHash] = trt;
404 ATH_MSG_DEBUG(
"TRT L0 module successfully added to the list");
◆ buildL1Barrel()
void InDet::TRTGeometryManagerTool::buildL1Barrel |
( |
| ) |
|
|
private |
builds geometry for L1 TRT Barrel alignment Creates single module for barrel
Definition at line 408 of file TRTGeometryManagerTool.cxx.
413 ATH_MSG_INFO(
"Preparing the TRT Barrelgeometry for L1: whole barrel");
425 unsigned int maxHash = 0;
460 for (
int iSide = 0; iSide < 2; iSide++) {
473 ATH_MSG_DEBUG(
"No TRT_BarrelElement with side-layer-phi-strawLayer:" <<iSide<<
"-"<<iLayer<<
"-"<<iPhiModule<<
"-"<<iStrawLayer);
◆ buildL1Endcaps()
void InDet::TRTGeometryManagerTool::buildL1Endcaps |
( |
| ) |
|
|
private |
builds geometry for L1 TRT Endcap alignment Creates 2 modules, one for each endcap
Definition at line 483 of file TRTGeometryManagerTool.cxx.
488 ATH_MSG_INFO(
"Preparing the TRT Endcap geometry for L1: 2 endcaps");
500 unsigned int maxHash = 0;
521 for (
int iSide=0;iSide<2;iSide++) {
526 trtEndCap[iSide]->setName(
"TRT EndCap C");
528 trtEndCap[iSide]->setName(
"TRT EndCap A");
530 int idSide = iSide ? 2 : -2;
553 ATH_MSG_DEBUG(
"No TRT_EndcapElement with side-wheel-strawLayer-phi:" <<iSide<<
"-"<<iWheel<<
"-"<<iStrawLayer<<
"-"<<
iPhi);
558 Amg::Transform3D localtoglobal = translation * Amg::RotationMatrix3D::Identity();
559 trtEndCap[iSide]->setGlobalFrameToAlignFrameTransform(localtoglobal.inverse());
◆ buildL2Barrel()
void InDet::TRTGeometryManagerTool::buildL2Barrel |
( |
| ) |
|
|
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.
574 ATH_MSG_INFO(
"Preparing the TRT Barrel geometry for L2: 3 layers with 32 modules each (96 modules)");
591 unsigned int maxHash = 0;
625 std::stringstream
name;
626 name<<
"TRT/Barrel/Module_-1_"<<iPhiModule<<
"_"<<iLayer;
638 std::vector<const Trk::TrkDetElementBase *> centralLayers;
642 for (
int iStrawLayer = 0; iStrawLayer < maxstrawlayer; iStrawLayer++) {
644 for (
int iSide = 0; iSide < 2; iSide++) {
666 if( iStrawLayer == maxstrawlayer/2 ) {
668 centralLayers.push_back(element);
672 ATH_MSG_DEBUG(
"No TRT_BarrelElement with side-layer-phi-strawLayer:" <<iSide<<
"-"<<iLayer<<
"-"<<iPhiModule<<
"-"<<iStrawLayer);
693 std::vector<std::vector<const Trk::TrkDetElementBase *> *> centralLayersVec;
694 centralLayersVec.push_back(¢ralLayers);
699 centralLayers.front()->transform().rotation() : centralLayers.back()->transform().rotation();
705 ATH_MSG_DEBUG(
"Prepared local to global transform : "<<std::setprecision(12)<<localToGlobal.translation()<<
" "<<localToGlobal.rotation());
707 mod->setGlobalFrameToAlignFrameTransform(localToGlobal.inverse());
◆ buildL2Endcaps()
void InDet::TRTGeometryManagerTool::buildL2Endcaps |
( |
| ) |
|
|
private |
builds geometry for L2 TRT Endcapalignment Creates 80 modules - 40 rings per endcap
Definition at line 718 of file TRTGeometryManagerTool.cxx.
723 ATH_MSG_INFO(
"Preparing the TRT Endcap geometry for L2: 2 x 40 rings");
740 unsigned int maxHash = 0;
751 for (
int iSide = 0; iSide < 2; iSide++) {
752 int idSide = iSide ? 2 : -2;
766 if(iStrawLayer%4==0) {
776 Amg::Transform3D localToGlobal = translation * Amg::RotationMatrix3D::Identity();
778 mod->setGlobalFrameToAlignFrameTransform(localToGlobal.inverse());
793 int strawLayerForRing = (iStrawLayer/4) * 4;
796 std::stringstream
name;
797 name<<
"TRT/Endcap/Module_"<<(iSide ? 2:-2)<<
"_"<<iRing;
824 ATH_MSG_DEBUG(
"No TRT_EndcapElement with side-wheel-strawLayer-phi:" <<iSide<<
"-"<<iWheel<<
"-"<<iStrawLayer<<
"-"<<
iPhi);
829 if (!
mod)
throw std::logic_error(
"No AlignmentModule");
838 Amg::Transform3D localToGlobal = translation * Amg::RotationMatrix3D::Identity();
840 mod->setGlobalFrameToAlignFrameTransform(localToGlobal.inverse());
◆ buildL2EndcapsOLD()
void InDet::TRTGeometryManagerTool::buildL2EndcapsOLD |
( |
| ) |
|
|
private |
builds geometry for L2 TRT Endcapalignment Creates 28 modules - 14 wheels per endcap
Definition at line 849 of file TRTGeometryManagerTool.cxx.
859 ATH_MSG_INFO(
"Preparing the _OLD_ TRT Endcap geometry for L2: 2 x 14 wheels");
876 unsigned int maxHash = 0;
887 for (
int iSide = 0; iSide < 2; iSide++) {
888 int idSide = iSide ? 2 : -2;
901 std::stringstream
name;
902 name<<
"TRT/Endcap/Module_"<<idSide<<
"_"<<iWheel;
928 ATH_MSG_DEBUG(
"No TRT_EndcapElement with side-wheel-strawLayer-phi:" <<iSide<<
"-"<<iWheel<<
"-"<<iStrawLayer<<
"-"<<
iPhi);
934 Amg::Transform3D localtoglobal = translation * Amg::RotationMatrix3D::Identity();
936 mod->setGlobalFrameToAlignFrameTransform(localtoglobal.inverse());
◆ buildL3Barrel()
void InDet::TRTGeometryManagerTool::buildL3Barrel |
( |
| ) |
|
|
private |
builds geometry for L3 TRT Barrel alignment Creates many modules - one module per straw
Definition at line 947 of file TRTGeometryManagerTool.cxx.
952 ATH_MSG_INFO(
"Preparing the TRT Barrel geometry for L3");
981 ATH_MSG_INFO(
"Skipping barrel layer "<<iLayer<<
" phi sector "<<iPhiModule);
987 for (
int iSide = 0; iSide < 2; iSide++) {
989 int idSide = iSide ? 1 : -1;
993 for (
unsigned int iStraw = 0; iStraw< element->
nStraws(); iStraw++)
1001 mod->setIdentifier(moduleId);
1003 std::stringstream
name;
1004 name<<
"TRT/Barrel/Straw_"<<idSide<<
"_"<<iPhiModule<<
"_"<<iLayer<<
"_"<<iStrawLayer<<
"_"<<iStraw;
1025 ATH_MSG_DEBUG(
"Prepared local to global transform : "<<std::setprecision(12)
1026 <<localToGlobal.translation()<<
" "<<localToGlobal.rotation());
1027 ATH_MSG_DEBUG(
" rotation = (" << lgrot(2,1) <<
"," << lgrot(0,2) <<
"," << lgrot(1,0) <<
")");
1029 mod->setGlobalFrameToAlignFrameTransform(localToGlobal.inverse());
1034 ATH_MSG_DEBUG(
"Straw layer transform : "<<std::setprecision(12)
1035 <<aatr.translation()<<
" "<<aatr.rotation());
1036 ATH_MSG_DEBUG(
" rotation = (" << aarot(2,1) <<
"," << aarot(0,2) <<
"," << aarot(1,0) <<
")");
1043 ATH_MSG_DEBUG(
"No TRT_BarrelElement with side-layer-phi-strawLayer:" <<iSide<<
"-"<<iLayer<<
"-"<<iPhiModule<<
"-"<<iStrawLayer);
◆ buildL3Endcap()
void InDet::TRTGeometryManagerTool::buildL3Endcap |
( |
| ) |
|
|
private |
builds geometry for L3 TRT Endcap alignment Creates many modules - one module per straw
Definition at line 1052 of file TRTGeometryManagerTool.cxx.
1057 ATH_MSG_INFO(
"Preparing the TRT Endcap geometry for L3");
1081 for (
int iSide = 0; iSide < 2; iSide++) {
1082 int idSide = iSide ? 2 : -2;
1099 ATH_MSG_INFO(
"Skipping endcap wheel "<<iWheel<<
" phi sector "<<iPhiModule);
1109 for (
unsigned int iStraw = 0; iStraw< element->
nStraws(); iStraw++) {
1116 mod->setIdentifier(moduleId);
1118 std::stringstream
name;
1119 name<<
"TRT/Endcap/Straw_"<<idSide<<
"_"<<iPhiModule<<
"_"<<iWheel<<
"_"<<iStrawLayer<<
"_"<<iStraw;
1141 ATH_MSG_DEBUG(
"Prepared local to global transform : "<<std::setprecision(12)
1142 <<localToGlobal.translation()<<
" "<<localToGlobal.rotation());
1144 ATH_MSG_DEBUG(
" rotation = (" << lgrot(2,1) <<
"," << lgrot(0,2) <<
"," << lgrot(1,0) <<
")");
1146 mod->setGlobalFrameToAlignFrameTransform(localToGlobal.inverse());
1151 ATH_MSG_DEBUG(
"Straw layer transform : "<<std::setprecision(12)
1152 <<aatr.translation()<<
" "<<aatr.rotation());
1153 ATH_MSG_DEBUG(
" rotation = (" << aarot(2,1) <<
"," << aarot(0,2) <<
"," << aarot(1,0) <<
")");
1160 ATH_MSG_DEBUG(
"No TRT_EndcapElement with endcap-wheel-strawLayer-phi:" <<iSide<<
"-"<<iWheel<<
"-"<<iStrawLayer<<
"-"<<iPhiModule);
◆ checkAlignLevel()
bool InDet::TRTGeometryManagerTool::checkAlignLevel |
( |
| ) |
|
|
virtual |
◆ checkAlignLevelBarrel()
bool InDet::TRTGeometryManagerTool::checkAlignLevelBarrel |
( |
| ) |
|
|
virtual |
◆ checkAlignLevelEndcaps()
bool InDet::TRTGeometryManagerTool::checkAlignLevelEndcaps |
( |
| ) |
|
|
virtual |
◆ declareGaudiProperty() [1/4]
specialization for handling Gaudi::Property<SG::VarHandleKeyArray>
Definition at line 170 of file AthCommonDataStore.h.
175 hndl.documentation());
◆ declareGaudiProperty() [2/4]
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition at line 156 of file AthCommonDataStore.h.
161 hndl.documentation());
◆ declareGaudiProperty() [3/4]
specialization for handling Gaudi::Property<SG::VarHandleBase>
Definition at line 184 of file AthCommonDataStore.h.
189 hndl.documentation());
◆ declareGaudiProperty() [4/4]
◆ declareProperty() [1/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
hndl | Object holding the property value. |
doc | Documentation string for the property. |
This is the version for types that derive from SG::VarHandleBase
. The property value object is put on the input and output lists as appropriate; then we forward to the base class.
Definition at line 245 of file AthCommonDataStore.h.
250 this->declare(hndl.
vhKey());
251 hndl.
vhKey().setOwner(
this);
253 return PBASE::declareProperty(
name,hndl,
doc);
◆ declareProperty() [2/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
hndl | Object holding the property value. |
doc | Documentation string for the property. |
This is the version for types that derive from SG::VarHandleKey
. The property value object is put on the input and output lists as appropriate; then we forward to the base class.
Definition at line 221 of file AthCommonDataStore.h.
229 return PBASE::declareProperty(
name,hndl,
doc);
◆ declareProperty() [3/6]
◆ declareProperty() [4/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
property | Object holding the property value. |
doc | Documentation string for the property. |
This is the generic version, for types that do not derive from SG::VarHandleKey
. It just forwards to the base class version of declareProperty
.
Definition at line 333 of file AthCommonDataStore.h.
338 return PBASE::declareProperty(
name, property,
doc);
◆ declareProperty() [5/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
property | Object holding the property value. |
doc | Documentation string for the property. |
This dispatches to either the generic declareProperty
or the one for VarHandle/Key/KeyArray.
Definition at line 352 of file AthCommonDataStore.h.
◆ declareProperty() [6/6]
◆ detStore()
◆ dumpGeometry()
void InDet::TRTGeometryManagerTool::dumpGeometry |
( |
| ) |
|
|
private |
print basic geometry info to screen
Definition at line 1377 of file TRTGeometryManagerTool.cxx.
1379 ATH_MSG_INFO(
"---------------------------------------------------");
1391 ATH_MSG_DEBUG(
" - local to global : "<<std::setprecision(12)<<localtoglobal.translation()<<
" "<<localtoglobal.rotation());
1394 int npars =
pars->size();
1395 ATH_MSG_DEBUG(
" - number of active transform parameters: "<<npars);
1396 for(
int j=0;j<npars;j++)
1399 ATH_MSG_INFO(
"---------------------------------------------------");
◆ evtStore() [1/2]
◆ evtStore() [2/2]
◆ extraDeps_update_handler()
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
◆ finalize()
StatusCode InDet::TRTGeometryManagerTool::finalize |
( |
| ) |
|
|
virtual |
◆ getNextIDHash()
virtual int Trk::IGeometryManagerTool::getNextIDHash |
( |
| ) |
|
|
inlinevirtualinherited |
◆ initialize()
StatusCode InDet::TRTGeometryManagerTool::initialize |
( |
| ) |
|
|
virtual |
◆ inputHandles()
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.
◆ interfaceID()
const InterfaceID & IGeometryManagerTool::interfaceID |
( |
| ) |
|
|
inlinestaticinherited |
◆ moduleSelected() [1/2]
◆ moduleSelected() [2/2]
bool InDet::TRTGeometryManagerTool::moduleSelected |
( |
unsigned long long |
modId | ) |
|
|
private |
◆ moduleSelectedBarrel()
bool InDet::TRTGeometryManagerTool::moduleSelectedBarrel |
( |
unsigned int |
iLayer, |
|
|
unsigned int |
iPhi |
|
) |
| |
|
private |
◆ moduleSelectedEndcap()
bool InDet::TRTGeometryManagerTool::moduleSelectedEndcap |
( |
unsigned int |
iwheel, |
|
|
unsigned int |
iphi |
|
) |
| |
|
private |
◆ msg() [1/2]
◆ msg() [2/2]
◆ msgLvl()
◆ outputHandles()
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.
◆ PrintModPositions()
void InDet::TRTGeometryManagerTool::PrintModPositions |
( |
| ) |
|
|
inlinevirtual |
◆ ReadGeometry()
int InDet::TRTGeometryManagerTool::ReadGeometry |
( |
int |
solveLevel | ) |
|
|
virtual |
◆ renounce()
◆ renounceArray()
◆ setAlignLevel()
void InDet::TRTGeometryManagerTool::setAlignLevel |
( |
int |
level | ) |
|
|
virtual |
◆ setAlignLevelBarrel()
virtual void Trk::IGeometryManagerTool::setAlignLevelBarrel |
( |
int |
level | ) |
|
|
inlinevirtualinherited |
◆ setAlignLevelEndcaps()
virtual void Trk::IGeometryManagerTool::setAlignLevelEndcaps |
( |
int |
level | ) |
|
|
inlinevirtualinherited |
◆ setFirstIDHash()
virtual void Trk::IGeometryManagerTool::setFirstIDHash |
( |
unsigned int |
idhash | ) |
|
|
inlinevirtualinherited |
◆ setHashMaps()
set pointer to vector of hashMaps to which the elements should be added to
Definition at line 74 of file IGeometryManagerTool.h.
◆ setLogStream()
virtual void Trk::IGeometryManagerTool::setLogStream |
( |
std::ostream * |
os | ) |
|
|
inlinevirtualinherited |
◆ setModuleList()
set pointer to module list to which the modules should be added to
Definition at line 71 of file IGeometryManagerTool.h.
◆ setNtuple()
virtual void Trk::IGeometryManagerTool::setNtuple |
( |
TFile * |
| ) |
|
|
inlinevirtualinherited |
Sets output ntuple file, to be implemented if needed for detector-specific implementation.
Definition at line 52 of file IGeometryManagerTool.h.
◆ setSigmas()
◆ StoreModPositions()
void InDet::TRTGeometryManagerTool::StoreModPositions |
( |
std::string |
| ) |
|
|
inlinevirtual |
◆ sysInitialize()
◆ sysStart()
Handle START transition.
We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.
◆ updateVHKA()
◆ m_alignBarrel
bool InDet::TRTGeometryManagerTool::m_alignBarrel |
|
private |
◆ m_alignBarrelRotX
bool InDet::TRTGeometryManagerTool::m_alignBarrelRotX |
|
private |
◆ m_alignBarrelRotY
bool InDet::TRTGeometryManagerTool::m_alignBarrelRotY |
|
private |
◆ m_alignBarrelRotZ
bool InDet::TRTGeometryManagerTool::m_alignBarrelRotZ |
|
private |
◆ m_alignBarrelX
bool InDet::TRTGeometryManagerTool::m_alignBarrelX |
|
private |
◆ m_alignBarrelY
bool InDet::TRTGeometryManagerTool::m_alignBarrelY |
|
private |
◆ m_alignBarrelZ
bool InDet::TRTGeometryManagerTool::m_alignBarrelZ |
|
private |
◆ m_alignEndcapRotX
bool InDet::TRTGeometryManagerTool::m_alignEndcapRotX |
|
private |
◆ m_alignEndcapRotY
bool InDet::TRTGeometryManagerTool::m_alignEndcapRotY |
|
private |
◆ m_alignEndcapRotZ
bool InDet::TRTGeometryManagerTool::m_alignEndcapRotZ |
|
private |
◆ m_alignEndcaps
bool InDet::TRTGeometryManagerTool::m_alignEndcaps |
|
private |
◆ m_alignEndcapX
bool InDet::TRTGeometryManagerTool::m_alignEndcapX |
|
private |
◆ m_alignEndcapY
bool InDet::TRTGeometryManagerTool::m_alignEndcapY |
|
private |
◆ m_alignEndcapZ
bool InDet::TRTGeometryManagerTool::m_alignEndcapZ |
|
private |
◆ m_alignLevel
int Trk::IGeometryManagerTool::m_alignLevel = 0 |
|
protectedinherited |
◆ m_alignLevelBarrel
int Trk::IGeometryManagerTool::m_alignLevelBarrel = 0 |
|
protectedinherited |
◆ m_alignLevelEndcaps
int Trk::IGeometryManagerTool::m_alignLevelEndcaps = 0 |
|
protectedinherited |
◆ m_alignModuleList
◆ m_alignModuleListPtr
◆ m_alignModuleTool
◆ m_alignParList
◆ m_barrelLayers
std::vector<int> InDet::TRTGeometryManagerTool::m_barrelLayers |
|
private |
◆ m_barrelPhiSectors
std::vector<int> InDet::TRTGeometryManagerTool::m_barrelPhiSectors |
|
private |
◆ m_detStore
◆ m_doModuleSelection
bool InDet::TRTGeometryManagerTool::m_doModuleSelection |
|
private |
◆ m_dumpGeometry
bool InDet::TRTGeometryManagerTool::m_dumpGeometry |
|
private |
◆ m_endcap
int InDet::TRTGeometryManagerTool::m_endcap |
|
private |
◆ m_endcapPhiSectors
std::vector<int> InDet::TRTGeometryManagerTool::m_endcapPhiSectors |
|
private |
◆ m_endcapWheels
std::vector<int> InDet::TRTGeometryManagerTool::m_endcapWheels |
|
private |
◆ m_evtStore
◆ m_fullAlignParList
◆ m_hashCounter
int Trk::IGeometryManagerTool::m_hashCounter = 0 |
|
protectedinherited |
◆ m_idHashToAlignModuleMap
◆ m_idHashToAlignModuleMaps
◆ m_idHashToAlignModuleMapsPtr
std::vector<Trk::AlignModuleList *>* Trk::IGeometryManagerTool::m_idHashToAlignModuleMapsPtr = nullptr |
|
protectedinherited |
◆ m_idHelper
const TRT_ID* InDet::TRTGeometryManagerTool::m_idHelper |
|
private |
◆ m_logStream
std::ostream* Trk::IGeometryManagerTool::m_logStream = nullptr |
|
protectedinherited |
◆ m_moduleSelection
std::vector<unsigned long long> InDet::TRTGeometryManagerTool::m_moduleSelection |
|
private |
◆ m_sigmaBarrelRotX
double InDet::TRTGeometryManagerTool::m_sigmaBarrelRotX |
|
private |
◆ m_sigmaBarrelRotY
double InDet::TRTGeometryManagerTool::m_sigmaBarrelRotY |
|
private |
◆ m_sigmaBarrelRotZ
double InDet::TRTGeometryManagerTool::m_sigmaBarrelRotZ |
|
private |
◆ m_sigmaBarrelX
double InDet::TRTGeometryManagerTool::m_sigmaBarrelX |
|
private |
◆ m_sigmaBarrelY
double InDet::TRTGeometryManagerTool::m_sigmaBarrelY |
|
private |
◆ m_sigmaBarrelZ
double InDet::TRTGeometryManagerTool::m_sigmaBarrelZ |
|
private |
◆ m_sigmaEndcapRotX
double InDet::TRTGeometryManagerTool::m_sigmaEndcapRotX |
|
private |
◆ m_sigmaEndcapRotY
double InDet::TRTGeometryManagerTool::m_sigmaEndcapRotY |
|
private |
◆ m_sigmaEndcapRotZ
double InDet::TRTGeometryManagerTool::m_sigmaEndcapRotZ |
|
private |
◆ m_sigmaEndcapX
double InDet::TRTGeometryManagerTool::m_sigmaEndcapX |
|
private |
◆ m_sigmaEndcapY
double InDet::TRTGeometryManagerTool::m_sigmaEndcapY |
|
private |
◆ m_sigmaEndcapZ
double InDet::TRTGeometryManagerTool::m_sigmaEndcapZ |
|
private |
◆ m_softcutBarrelRotX
double InDet::TRTGeometryManagerTool::m_softcutBarrelRotX |
|
private |
◆ m_softcutBarrelRotY
double InDet::TRTGeometryManagerTool::m_softcutBarrelRotY |
|
private |
◆ m_softcutBarrelRotZ
double InDet::TRTGeometryManagerTool::m_softcutBarrelRotZ |
|
private |
◆ m_softcutBarrelX
double InDet::TRTGeometryManagerTool::m_softcutBarrelX |
|
private |
◆ m_softcutBarrelY
double InDet::TRTGeometryManagerTool::m_softcutBarrelY |
|
private |
◆ m_softcutBarrelZ
double InDet::TRTGeometryManagerTool::m_softcutBarrelZ |
|
private |
◆ m_softcutEndcapRotX
double InDet::TRTGeometryManagerTool::m_softcutEndcapRotX |
|
private |
◆ m_softcutEndcapRotY
double InDet::TRTGeometryManagerTool::m_softcutEndcapRotY |
|
private |
◆ m_softcutEndcapRotZ
double InDet::TRTGeometryManagerTool::m_softcutEndcapRotZ |
|
private |
◆ m_softcutEndcapX
double InDet::TRTGeometryManagerTool::m_softcutEndcapX |
|
private |
◆ m_softcutEndcapY
double InDet::TRTGeometryManagerTool::m_softcutEndcapY |
|
private |
◆ m_softcutEndcapZ
double InDet::TRTGeometryManagerTool::m_softcutEndcapZ |
|
private |
◆ m_trtDetManager
◆ m_varHandleArraysDeclared
◆ m_vhka
The documentation for this class was generated from the following files:
def retrieve(aClass, aKey=None)
Identifier layer_id(int barrel_ec, int phi_module, int layer_or_wheel, int straw_layer) const
For an individual straw layer.
IdentifierHash straw_hash(Identifier straw_id) const
straw hash from id - optimized
std::vector< AlignModule * > AlignModuleList
@ VIEW_ELEMENTS
this data object is a view, it does not own its elmts
const TRT_BarrelElement * getBarrelElement(unsigned int positive, unsigned int moduleIndex, unsigned int phiIndex, unsigned int strawLayerIndex) const
Access Barrel Elements:---------------—(Fast)-------------------------—.
unsigned int nStraws() const
Number of straws in the element.
void addDetElement(AlignModule::DetectorType detType, const TrkDetElementBase *det, const Amg::Transform3D &transform, Identifier id=Identifier())
used to add a detector element to the align module with a align frame to detector element local frame...
StoreGateSvc_t m_evtStore
Pointer to StoreGate (event store by default)
std::vector< SG::VarHandleKeyArray * > m_vhka
bool msgLvl(const MSG::Level lvl) const
Amg::Vector3D centerOfGravity() const
Identifier barrel_ec_id(int barrel_ec) const
For +/-barrel or +/-endcap id.
AlignModule::TransformParameters paramType() const
returns the type of parameter (i.e.
const ServiceHandle< StoreGateSvc > & detStore() const
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
virtual void setOwner(IDataHandleHolder *o)=0
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
TRT_Numerology * getNumerology()
Access Numerological information:---------------------------------------—.
void setSigma(double sigma)
sets sigma
void setName(const std::string &name)
Set and return name of align module (i.e.
void setIdentifier(Identifier identifier)
Set and return identifier of module.
@ OWN_ELEMENTS
this data object owns its elements
CalibratedSpacePoint::Covariance_t inverse(const CalibratedSpacePoint::Covariance_t &mat)
Inverts the parsed matrix.
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)
Eigen::Affine3d Transform3D
Amg::Vector3D transform(Amg::Vector3D &v, Amg::Transform3D &tr)
Transform a point from a Trasformation3D.
virtual Identifier identify() const override final
identifier of this detector element:
unsigned int getNBarrelLayers(unsigned int iMod) const
StoreGateSvc_t m_detStore
Pointer to StoreGate (detector store by default)
int barrel_ec(const Identifier &id) const
Values of different levels (failure returns 0)
int straw_layer(const Identifier &id) const
virtual IdentifierHash identifyHash() const override final
identifier hash
const std::string & name() const
virtual void renounce()=0
std::conditional< std::is_base_of< SG::VarHandleKeyArray, T >::value, VarHandleKeyArrayType, type2 >::type type
const TRT_EndcapElement * getEndcapElement(unsigned int positive, unsigned int wheelIndex, unsigned int strawLayerIndex, unsigned int phiIndex) const
Access Endcap Elements:---------------—(Fast)--------------------------—.
const TRT_BaseElement * getElement(Identifier id) const
Access Elements Generically---------------------------------------------—.
value_type push_back(value_type pElem)
Add an element to the end of the collection.
size_type straw_hash_max() const
void setIdHash(IdentifierHash id)
const Amg::Transform3D & strawTransform(unsigned int straw) const
Straw transform - fast access in array, in Tracking frame: Amg.
bool is_barrel(const Identifier &id) const
Test for barrel.
Eigen::Matrix< double, 3, 3 > RotationMatrix3D
Eigen::Translation< double, 3 > Translation3D
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
void setSoftCut(double softCut)
sets soft-mode-cut
const T * at(size_type n) const
Access an element, as an rvalue.
size_type straw_layer_hash_max() const
void select(const xAOD::IParticle *particle, const float coneSize, const xAOD::CaloClusterContainer *clusters, std::vector< bool > &mask)
size_type size() const noexcept
Returns the number of elements in the collection.
Identifier module_id(int barrel_ec, int phi_module, int layer_or_wheel) const
For an individual module phi sector.
Identifier straw_id(int barrel_ec, int phi_module, int layer_or_wheel, int straw_layer, int straw) const
Three ways of getting id for a single straw:
virtual const Amg::Transform3D & transform() const override final
Element Surface: Get Transform of element in Tracking frame: Amg.