 |
ATLAS Offline Software
|
#include <PixelGeometryManagerTool.h>
|
| PixelGeometryManagerTool (const std::string &type, const std::string &name, const IInterface *parent) |
|
virtual | ~PixelGeometryManagerTool () |
|
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 Silicon 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 alignment level for the barrel is correct More...
|
|
bool | checkAlignLevelEndcaps () |
| check whether the alignment level for the endcaps is correct More...
|
|
void | setAlignLevel (int level) |
| set alignment level More...
|
|
int | getNoSkipEtaValueFromGeometry () const |
| get sipeta value from geometry DB 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 | buildL1 () |
| creates L1 AlignModules for Pixel : full Pixel More...
|
|
void | buildL11 () |
| creates L11 IBL as 1 module and old-pixel as 1 module More...
|
|
void | buildL12Barrel () |
| creates L12 AlignModules for Pixel Barrel : whole barrel as 1 module More...
|
|
void | buildL12Endcaps () |
| creates L12 AlignModules for Pixel Barrel : 2 endcaps More...
|
|
void | buildL15Barrel () |
| creates L15 AlignModules for Pixel Barrel : 2 half-shells More...
|
|
void | buildL16Barrel () |
| creates L16 AlignModules for Pixel Barrel : IBL staves , remainder of barrel 1 Module More...
|
|
void | buildL2Barrel () |
| creates L2 AlignModules for Pixel Barrel : 3 layers More...
|
|
void | buildL2Endcaps () |
| creates L2 AlignModules for Pixel Endcaps : 2 x 3 disks More...
|
|
void | buildL22Barrel () |
| creates L22 AlignModules for Pixel Barrel : 6 half-layers More...
|
|
void | buildL26Barrel () |
| creates L26 AlignModules for Pixel Barrel : IBL staves remainder at L2 More...
|
|
void | buildL27Barrel () |
| creates L27 AlignModules for Pixel Barrel : 112 staves (ladders) More...
|
|
void | buildL3Barrel () |
| creates L3 AlignModules for Pixel Barrel : module (wafer) level More...
|
|
void | buildL3Endcaps () |
| creates L3 AlignModules for Pixel Endcaps : module (wafer) level More...
|
|
void | buildL1DBM () |
| creates L1 AlignModules for Pixel DBM : 2 endcaps More...
|
|
void | buildL2DBM () |
| creates L2 AlignModules for Pixel DBM : 8 telescopes More...
|
|
void | buildL3DBM () |
| creates L2 AlignModules for Pixel DBM : 24 modules 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...
|
|
void | dumpGeometry () |
| print basic geometry info to screen More...
|
|
bool | isTopHalf (unsigned int phi, unsigned int layer) const |
| Checks whether the given phi module in a given barrel layer belongs to top or bottom half. More...
|
|
void | printTransform (const Amg::Transform3D &tr) const |
|
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 46 of file PixelGeometryManagerTool.h.
◆ StoreGateSvc_t
◆ PixelGeometryManagerTool()
InDet::PixelGeometryManagerTool::PixelGeometryManagerTool |
( |
const std::string & |
type, |
|
|
const std::string & |
name, |
|
|
const IInterface * |
parent |
|
) |
| |
◆ ~PixelGeometryManagerTool()
InDet::PixelGeometryManagerTool::~PixelGeometryManagerTool |
( |
| ) |
|
|
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::PixelGeometryManagerTool::buildGeometry |
( |
| ) |
|
|
virtual |
◆ buildL1()
void InDet::PixelGeometryManagerTool::buildL1 |
( |
| ) |
|
|
private |
◆ buildL11()
void InDet::PixelGeometryManagerTool::buildL11 |
( |
| ) |
|
|
private |
creates L11 IBL as 1 module and old-pixel as 1 module
Definition at line 474 of file PixelGeometryManagerTool.cxx.
479 ATH_MSG_INFO(
"Preparing the Pixel geometry for L11 : IBL + rest of pixel detector");
482 ATH_MSG_WARNING(
"No IBL in geometry; Maybe this is not the level you want to use");
502 pixel_old->
setName(
"Pixel/oldPixel");
517 IdentifierHash idHash =
index;
550 ATH_MSG_DEBUG(
"-------------------------------------------------------");
◆ buildL12Barrel()
void InDet::PixelGeometryManagerTool::buildL12Barrel |
( |
| ) |
|
|
private |
◆ buildL12Endcaps()
void InDet::PixelGeometryManagerTool::buildL12Endcaps |
( |
| ) |
|
|
private |
creates L12 AlignModules for Pixel Barrel : 2 endcaps
Definition at line 741 of file PixelGeometryManagerTool.cxx.
745 ATH_MSG_INFO(
"Preparing the Pixel Endcap geometry for L12 : 2 endcaps");
768 const std::string
name = (iEndcapIndex == 0)?
"Pixel/EndcapA":
"Pixel/EndcapC";
809 ATH_MSG_DEBUG(
"Endcap:" << iSide <<
" , CoG (" << translation.x() <<
" , " << translation.y() <<
" , " << translation.z() <<
" ) " );
810 Amg::Transform3D localtoglobal = translation * Amg::RotationMatrix3D::Identity();
811 mod->setGlobalFrameToAlignFrameTransform(localtoglobal.inverse());
◆ buildL15Barrel()
void InDet::PixelGeometryManagerTool::buildL15Barrel |
( |
| ) |
|
|
private |
creates L15 AlignModules for Pixel Barrel : 2 half-shells
Definition at line 649 of file PixelGeometryManagerTool.cxx.
653 ATH_MSG_INFO(
"Preparing the Pixel Barrel geometry for L15 : 2 barrel halfs");
675 top->setName(
"Pixel/Barrel/Top-half");
679 bottom->
setName(
"Pixel/Barrel/Bottom-half");
◆ buildL16Barrel()
void InDet::PixelGeometryManagerTool::buildL16Barrel |
( |
| ) |
|
|
private |
creates L16 AlignModules for Pixel Barrel : IBL staves , remainder of barrel 1 Module
Definition at line 818 of file PixelGeometryManagerTool.cxx.
822 ATH_MSG_INFO(
"Preparing the Pixel Barrel geometry for L26 : IBL stave Pixel whole barrel");
847 pixel_old->
setName(
"Pixel/oldPixel");
938 mod->setGlobalFrameToAlignFrameTransform( alignModuleToGlobal.inverse() );
939 mod->resetAlignModuleToDetElementTransforms();
◆ buildL1DBM()
void InDet::PixelGeometryManagerTool::buildL1DBM |
( |
| ) |
|
|
private |
creates L1 AlignModules for Pixel DBM : 2 endcaps
Definition at line 1619 of file PixelGeometryManagerTool.cxx.
1623 ATH_MSG_INFO(
"Preparing the DBM Endcap geometry for L1 : 2 endcaps");
1651 IdentifierHash idHash =
index;
1690 ATH_MSG_DEBUG(
"-------------------------------------------------------");
1701 ATH_MSG_DEBUG(
"Endcap:" << dbm1->
name() <<
" , CoG (" << translation.x() <<
" , " << translation.y() <<
" , " << translation.z() <<
" ) " );
1702 Amg::Transform3D localtoglobal = translation * Amg::RotationMatrix3D::Identity();
1716 ATH_MSG_DEBUG(
"Endcap:" << dbm2->
name() <<
" , CoG (" << translation.x() <<
" , " << translation.y() <<
" , " << translation.z() <<
" ) " );
1717 Amg::Transform3D localtoglobal = translation * Amg::RotationMatrix3D::Identity();
◆ buildL22Barrel()
void InDet::PixelGeometryManagerTool::buildL22Barrel |
( |
| ) |
|
|
private |
creates L22 AlignModules for Pixel Barrel : 6 half-layers
Definition at line 1037 of file PixelGeometryManagerTool.cxx.
1078 unsigned int phi_top = 10;
1080 unsigned int phi_bottom = iLayer ? 30 : 20;
1083 std::string nametop=
"Pixel/Barrel/Layer_"+
std::to_string(iLayer)+
"_top";
1084 top->setName(nametop);
1086 std::string namebottom=
"Pixel/Barrel/Layer_"+
std::to_string(iLayer)+
"_bottom";
◆ buildL26Barrel()
void InDet::PixelGeometryManagerTool::buildL26Barrel |
( |
| ) |
|
|
private |
creates L26 AlignModules for Pixel Barrel : IBL staves remainder at L2
Definition at line 1140 of file PixelGeometryManagerTool.cxx.
1144 ATH_MSG_INFO(
"Preparing the Pixel Barrel geometry for L26 : IBL stave Pixel L2");
1258 mod->setGlobalFrameToAlignFrameTransform( alignModuleToGlobal.inverse() );
1259 mod->resetAlignModuleToDetElementTransforms();
◆ buildL27Barrel()
void InDet::PixelGeometryManagerTool::buildL27Barrel |
( |
| ) |
|
|
private |
creates L27 AlignModules for Pixel Barrel : 112 staves (ladders)
Definition at line 1273 of file PixelGeometryManagerTool.cxx.
1277 ATH_MSG_INFO(
"Preparing the Pixel Barrel geometry for L27 : 112(132 incl. IBL) staves (ladders)");
1347 throw std::logic_error(
"No detector element at the 0th eta wafer.");
1349 mod->setGlobalFrameToAlignFrameTransform(element->
transform().inverse());
◆ buildL2Barrel()
void InDet::PixelGeometryManagerTool::buildL2Barrel |
( |
| ) |
|
|
private |
◆ buildL2DBM()
void InDet::PixelGeometryManagerTool::buildL2DBM |
( |
| ) |
|
|
private |
creates L2 AlignModules for Pixel DBM : 8 telescopes
Definition at line 1726 of file PixelGeometryManagerTool.cxx.
1730 ATH_MSG_INFO(
"Preparing the DBM telescope geometry for L2 : 8 telescopes");
1739 std::vector<Trk::AlignModule*> mod_list;
1741 for (
unsigned int i = 0;
i < 8;
i++)
1751 mod_list.push_back(
mod);
1762 IdentifierHash idHash =
index;
1775 unsigned int telescope = -1;
1780 mod = mod_list.at(telescope);
1785 mod = mod_list.at(telescope);
1801 ATH_MSG_DEBUG(
"-------------------------------------------------------");
1805 for(
unsigned int i=0;
i<mod_list.size();
i++) {
1807 ATH_MSG_DEBUG(
"Module "<<mod_list.at(
i)->name()<<
" NOT selected");
1813 ATH_MSG_DEBUG(
"Endcap:" << mod_list.at(
i)->name() <<
" , CoG (" << translation.x() <<
" , " << translation.y() <<
" , " << translation.z() <<
" ) " );
1814 Amg::Transform3D localtoglobal = translation * Amg::RotationMatrix3D::Identity();
1815 mod_list.at(
i)->setGlobalFrameToAlignFrameTransform(localtoglobal.inverse());
◆ buildL2Endcaps()
void InDet::PixelGeometryManagerTool::buildL2Endcaps |
( |
| ) |
|
|
private |
creates L2 AlignModules for Pixel Endcaps : 2 x 3 disks
Definition at line 1360 of file PixelGeometryManagerTool.cxx.
1364 ATH_MSG_INFO(
"Preparing the Pixel Endcap geometry for L2 : 2 x 3 disks");
1393 std::string
name= (iEndcapIndex == 0) ?
"Pixel/EndcapA/Disk_" + iWheelStr :
"Pixel/EndcapC/Disk_" + iWheelStr;
1429 ATH_MSG_DEBUG(
"Endcap:" << iSide <<
" , CoG (" << translation.x() <<
" , " << translation.y() <<
" , " << translation.z() <<
" ) " );
1430 Amg::Transform3D localtoglobal = translation * Amg::RotationMatrix3D::Identity();
1431 mod->setGlobalFrameToAlignFrameTransform(localtoglobal.inverse());
◆ buildL3Barrel()
void InDet::PixelGeometryManagerTool::buildL3Barrel |
( |
| ) |
|
|
private |
◆ buildL3DBM()
void InDet::PixelGeometryManagerTool::buildL3DBM |
( |
| ) |
|
|
private |
◆ buildL3Endcaps()
void InDet::PixelGeometryManagerTool::buildL3Endcaps |
( |
| ) |
|
|
private |
creates L3 AlignModules for Pixel Endcaps : module (wafer) level
Definition at line 1526 of file PixelGeometryManagerTool.cxx.
1530 ATH_MSG_INFO(
"Preparing the Pixel geometry for L3 : module (wafer) level");
1571 std::string
name = (iEndcapIndex == 0)?
"Pixel/EndcapA" :
"Pixel/EndcapC";
1602 mod->setGlobalFrameToAlignFrameTransform(element->
transform().inverse());
◆ checkAlignLevel()
bool InDet::PixelGeometryManagerTool::checkAlignLevel |
( |
| ) |
|
|
virtual |
◆ checkAlignLevelBarrel()
bool InDet::PixelGeometryManagerTool::checkAlignLevelBarrel |
( |
| ) |
|
|
virtual |
◆ checkAlignLevelEndcaps()
bool InDet::PixelGeometryManagerTool::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::PixelGeometryManagerTool::dumpGeometry |
( |
| ) |
|
|
private |
print basic geometry info to screen
Definition at line 2043 of file PixelGeometryManagerTool.cxx.
2045 ATH_MSG_INFO(
"---------------------------------------------------");
2055 ATH_MSG_DEBUG(
" - local to global : "<<std::setprecision(12)<<localtoglobal.translation()<<
" "<<localtoglobal.rotation());
2058 int npars =
pars->size();
2059 ATH_MSG_DEBUG(
" - number of active transform parameters: "<<npars);
2060 for(
int j=0;j<npars;j++)
2063 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::PixelGeometryManagerTool::finalize |
( |
| ) |
|
|
virtual |
◆ getNextIDHash()
virtual int Trk::IGeometryManagerTool::getNextIDHash |
( |
| ) |
|
|
inlinevirtualinherited |
◆ getNoSkipEtaValueFromGeometry()
int InDet::PixelGeometryManagerTool::getNoSkipEtaValueFromGeometry |
( |
| ) |
const |
get sipeta value from geometry DB
Definition at line 2120 of file PixelGeometryManagerTool.cxx.
2126 const std::string& detectorKey = versionKey.tag();
2127 const std::string& detectorNode = versionKey.node();
2129 ATH_MSG_INFO(
"--------------------- decode version key " << detectorKey<<
" "<<detectorNode);
2135 const IRDBRecord *geoTable_layer = (*geoSet_layer)[0];
2137 if (!geoTable_layer->
isFieldNull(
"STAVEINDEX")) staveIndex=geoTable_layer->
getInt(
"STAVEINDEX");
2141 const IRDBRecord *geoTable_stave = (*geoSet_stave)[staveIndex];
2143 if (!geoTable_stave->
isFieldNull(
"NOSKIPZERO")) noSkipZero=geoTable_stave->
getInt(
"NOSKIPZERO");
◆ initialize()
StatusCode InDet::PixelGeometryManagerTool::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 |
◆ isTopHalf()
bool InDet::PixelGeometryManagerTool::isTopHalf |
( |
unsigned int |
phi, |
|
|
unsigned int |
layer |
|
) |
| const |
|
private |
Checks whether the given phi module in a given barrel layer belongs to top or bottom half.
Definition at line 2067 of file PixelGeometryManagerTool.cxx.
2078 msg(MSG::ERROR)<<
"Layer 0 has only 22 phi modules: range 0-21, requested "<<
phi<<
endmsg;
2083 else if (
layer==1) {
2085 msg(MSG::ERROR)<<
"Layer 1 has only 38 phi modules: range 0-37, requested "<<
phi<<
endmsg;
2093 else if (
layer==2) {
2095 msg(MSG::ERROR)<<
"Layer 2 has only 52 phi modules: range 0-51, requested "<<
phi<<
endmsg;
2098 else if (phi<23 || phi>48)
2105 msg(MSG::ERROR)<<
"Pixel barrel only 3 layers: range 0-2, requested "<<
layer<<
endmsg;
◆ moduleSelected() [1/2]
◆ moduleSelected() [2/2]
bool InDet::PixelGeometryManagerTool::moduleSelected |
( |
unsigned long long |
modId | ) |
|
|
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::PixelGeometryManagerTool::PrintModPositions |
( |
| ) |
|
|
inlinevirtual |
◆ printTransform()
Definition at line 2110 of file PixelGeometryManagerTool.cxx.
2112 ATH_MSG_DEBUG(
" - translation: "<<tr.translation().x()<<
" "<<tr.translation().y()<<
" "<<tr.translation().z());
2114 ATH_MSG_DEBUG(
" "<<tr.rotation()(0,0)<<
" "<<tr.rotation()(0,1)<<
" "<<tr.rotation()(0,2));
2115 ATH_MSG_DEBUG(
" "<<tr.rotation()(1,0)<<
" "<<tr.rotation()(1,1)<<
" "<<tr.rotation()(1,2));
2116 ATH_MSG_DEBUG(
" "<<tr.rotation()(2,0)<<
" "<<tr.rotation()(2,1)<<
" "<<tr.rotation()(2,2));
◆ ReadGeometry()
int InDet::PixelGeometryManagerTool::ReadGeometry |
( |
int |
solveLevel | ) |
|
|
virtual |
◆ renounce()
◆ renounceArray()
◆ setAlignLevel()
void InDet::PixelGeometryManagerTool::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::PixelGeometryManagerTool::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::PixelGeometryManagerTool::m_alignBarrel |
|
private |
◆ m_alignBarrelBowX
bool InDet::PixelGeometryManagerTool::m_alignBarrelBowX |
|
private |
◆ m_alignBarrelRotX
bool InDet::PixelGeometryManagerTool::m_alignBarrelRotX |
|
private |
◆ m_alignBarrelRotY
bool InDet::PixelGeometryManagerTool::m_alignBarrelRotY |
|
private |
◆ m_alignBarrelRotZ
bool InDet::PixelGeometryManagerTool::m_alignBarrelRotZ |
|
private |
◆ m_alignBarrelX
bool InDet::PixelGeometryManagerTool::m_alignBarrelX |
|
private |
◆ m_alignBarrelY
bool InDet::PixelGeometryManagerTool::m_alignBarrelY |
|
private |
◆ m_alignBarrelZ
bool InDet::PixelGeometryManagerTool::m_alignBarrelZ |
|
private |
◆ m_alignDBM
bool InDet::PixelGeometryManagerTool::m_alignDBM |
|
private |
◆ m_alignEndcapRotX
bool InDet::PixelGeometryManagerTool::m_alignEndcapRotX |
|
private |
◆ m_alignEndcapRotY
bool InDet::PixelGeometryManagerTool::m_alignEndcapRotY |
|
private |
◆ m_alignEndcapRotZ
bool InDet::PixelGeometryManagerTool::m_alignEndcapRotZ |
|
private |
◆ m_alignEndcaps
bool InDet::PixelGeometryManagerTool::m_alignEndcaps |
|
private |
◆ m_alignEndcapX
bool InDet::PixelGeometryManagerTool::m_alignEndcapX |
|
private |
◆ m_alignEndcapY
bool InDet::PixelGeometryManagerTool::m_alignEndcapY |
|
private |
◆ m_alignEndcapZ
bool InDet::PixelGeometryManagerTool::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_detManager
◆ m_detStore
◆ m_doEtaCorrection
Gaudi::Property<bool> InDet::PixelGeometryManagerTool::m_doEtaCorrection {this,"EtaCorrection",true,"If we should check the DB to see if eta 0 should be skipped"} |
|
private |
◆ m_doModuleSelection
bool InDet::PixelGeometryManagerTool::m_doModuleSelection |
|
private |
◆ m_dumpGeometry
bool InDet::PixelGeometryManagerTool::m_dumpGeometry |
|
private |
◆ m_etaCorrection
int InDet::PixelGeometryManagerTool::m_etaCorrection |
|
private |
◆ m_evtStore
◆ m_fullAlignParList
◆ m_geoModelSvc
◆ 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
◆ m_logStream
std::ostream* Trk::IGeometryManagerTool::m_logStream = nullptr |
|
protectedinherited |
◆ m_moduleSelection
std::vector<unsigned long long> InDet::PixelGeometryManagerTool::m_moduleSelection |
|
private |
◆ m_pixelDetManagerName
Gaudi::Property<std::string> InDet::PixelGeometryManagerTool::m_pixelDetManagerName {this,"PixelDetectorManager","Pixel","Name of the Pixel Detector Manager to attempt to retrieve"} |
|
private |
◆ m_rdbAccessSvc
◆ m_sigmaBarrelBowX
double InDet::PixelGeometryManagerTool::m_sigmaBarrelBowX |
|
private |
◆ m_sigmaBarrelRotX
double InDet::PixelGeometryManagerTool::m_sigmaBarrelRotX |
|
private |
◆ m_sigmaBarrelRotY
double InDet::PixelGeometryManagerTool::m_sigmaBarrelRotY |
|
private |
◆ m_sigmaBarrelRotZ
double InDet::PixelGeometryManagerTool::m_sigmaBarrelRotZ |
|
private |
◆ m_sigmaBarrelX
double InDet::PixelGeometryManagerTool::m_sigmaBarrelX |
|
private |
◆ m_sigmaBarrelY
double InDet::PixelGeometryManagerTool::m_sigmaBarrelY |
|
private |
◆ m_sigmaBarrelZ
double InDet::PixelGeometryManagerTool::m_sigmaBarrelZ |
|
private |
◆ m_sigmaEndcapRotX
double InDet::PixelGeometryManagerTool::m_sigmaEndcapRotX |
|
private |
◆ m_sigmaEndcapRotY
double InDet::PixelGeometryManagerTool::m_sigmaEndcapRotY |
|
private |
◆ m_sigmaEndcapRotZ
double InDet::PixelGeometryManagerTool::m_sigmaEndcapRotZ |
|
private |
◆ m_sigmaEndcapX
double InDet::PixelGeometryManagerTool::m_sigmaEndcapX |
|
private |
◆ m_sigmaEndcapY
double InDet::PixelGeometryManagerTool::m_sigmaEndcapY |
|
private |
◆ m_sigmaEndcapZ
double InDet::PixelGeometryManagerTool::m_sigmaEndcapZ |
|
private |
◆ m_softcutBarrelBowX
double InDet::PixelGeometryManagerTool::m_softcutBarrelBowX |
|
private |
◆ m_softcutBarrelRotX
double InDet::PixelGeometryManagerTool::m_softcutBarrelRotX |
|
private |
◆ m_softcutBarrelRotY
double InDet::PixelGeometryManagerTool::m_softcutBarrelRotY |
|
private |
◆ m_softcutBarrelRotZ
double InDet::PixelGeometryManagerTool::m_softcutBarrelRotZ |
|
private |
◆ m_softcutBarrelX
double InDet::PixelGeometryManagerTool::m_softcutBarrelX |
|
private |
◆ m_softcutBarrelY
double InDet::PixelGeometryManagerTool::m_softcutBarrelY |
|
private |
◆ m_softcutBarrelZ
double InDet::PixelGeometryManagerTool::m_softcutBarrelZ |
|
private |
◆ m_softcutEndcapRotX
double InDet::PixelGeometryManagerTool::m_softcutEndcapRotX |
|
private |
◆ m_softcutEndcapRotY
double InDet::PixelGeometryManagerTool::m_softcutEndcapRotY |
|
private |
◆ m_softcutEndcapRotZ
double InDet::PixelGeometryManagerTool::m_softcutEndcapRotZ |
|
private |
◆ m_softcutEndcapX
double InDet::PixelGeometryManagerTool::m_softcutEndcapX |
|
private |
◆ m_softcutEndcapY
double InDet::PixelGeometryManagerTool::m_softcutEndcapY |
|
private |
◆ m_softcutEndcapZ
double InDet::PixelGeometryManagerTool::m_softcutEndcapZ |
|
private |
◆ m_varHandleArraysDeclared
◆ m_vhka
The documentation for this class was generated from the following files:
virtual int getInt(const std::string &fieldName) const =0
Get int field value.
def retrieve(aClass, aKey=None)
const Identifier & identify(const UncalibratedMeasurement *meas)
Returns the associated identifier from the muon measurement.
const SiNumerology & numerology() const
Access Numerology.
Scalar phi() const
phi method
std::vector< AlignModule * > AlignModuleList
@ VIEW_ELEMENTS
this data object is a view, it does not own its elmts
int barrel_ec(const Identifier &id) const
Values of different levels (failure returns 0)
virtual const Amg::Transform3D & transform() const =0
Return local to global transform.
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...
bool useLayer(int layer) const
Check if layer exists.
StoreGateSvc_t m_evtStore
Pointer to StoreGate (event store by default)
std::vector< SG::VarHandleKeyArray * > m_vhka
bool msgLvl(const MSG::Level lvl) const
std::string dumpType() const
returns the string representing the type of parameter (i.e.
AlignModule::TransformParameters paramType() const
returns the type of parameter (i.e.
static Amg::Vector3D centerOfGravity(const std::vector< DetElementCollection * > &)
Calculates center of gravity (average center of associated det-elements)
bool is_blayer(const Identifier &id) const
Test for b-layer - WARNING: id MUST be pixel id, otherwise answer is not accurate....
Identifier wafer_id(int barrel_ec, int layer_disk, int phi_module, int eta_module) const
For a single crystal.
bool skipEtaZeroForLayer(int layer) const
Check if eta_module=0 exists.
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>
bool is_barrel(const Identifier &id) const
Test for barrel - WARNING: id MUST be pixel id, otherwise answer is not accurate. Use SiliconID for g...
void setSigma(double sigma)
sets sigma
void setName(const std::string &name)
Set and return name of align module (i.e.
void setGlobalFrameToAlignFrameTransform(const Amg::Transform3D &t)
set global to alignment frame transforms
void setIdentifier(Identifier identifier)
Set and return identifier of module.
@ OWN_ELEMENTS
this data object owns its elements
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)
This is a helper class to query the version tags from GeoModelSvc and determine the appropriate tag a...
Eigen::Affine3d Transform3D
Amg::Vector3D transform(Amg::Vector3D &v, Amg::Transform3D &tr)
Transform a point from a Trasformation3D.
int endcapId(int index) const
Barrel/endcap identifier for each endcap.
bool useDisk(int disk) const
Check if disk exists.
StoreGateSvc_t m_detStore
Pointer to StoreGate (detector store by default)
int numLayers() const
Number of layers.
std::shared_ptr< IRDBRecordset > IRDBRecordset_ptr
const std::string & name() const
virtual void renounce()=0
std::conditional< std::is_base_of< SG::VarHandleKeyArray, T >::value, VarHandleKeyArrayType, type2 >::type type
size_type wafer_hash_max() const
int layer_disk(const Identifier &id) const
std::string to_string(const DetectorType &type)
value_type push_back(value_type pElem)
Add an element to the end of the collection.
constexpr unsigned int numLayers()
bool is_dbm(const Identifier &id) const
Test for dbm - WARNING: id MUST be pixel id, otherwise answer is not accurate. Use SiliconID for gene...
void setIdHash(IdentifierHash id)
#define ATH_MSG_WARNING(x)
virtual bool isFieldNull(const std::string &fieldName) const =0
Check if the field value is NULL.
IRDBRecord is one record in the IRDBRecordset object.
int beginEtaModuleForLayer(int layer) const
First eta_module number for a layer.
Eigen::Translation< double, 3 > Translation3D
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
virtual const SiDetectorElement * getDetectorElement(const Identifier &id) const override
access to individual elements : via Identifier
virtual IdentifierHash identifyHash() const =0
Identifier hash.
void setSoftCut(double softCut)
sets soft-mode-cut
const T * at(size_type n) const
Access an element, as an rvalue.
int phi_module(const Identifier &id) const
setScale setgFexType iEta
size_type size() const noexcept
Returns the number of elements in the collection.