|
ATLAS Offline Software
|
#include <TRT_FillCablingData_DC2.h>
|
| TRT_FillCablingData_DC2 (const std::string &type, const std::string &name, const IInterface *parent) |
|
virtual | ~TRT_FillCablingData_DC2 () |
|
virtual StatusCode | initialize () |
|
virtual StatusCode | finalize () |
|
TRT_CablingData * | fillData () |
|
std::vector< uint32_t > | getRobID (Identifier &id) const |
|
uint32_t | getRodID (Identifier &id) const |
|
void | getStrawRodID (Identifier &id, uint32_t &rod_id, uint32_t &straw_number) const |
|
Identifier | defineIdentifier (const eformat::SubDetector &subdetector, const int &rod, const int &straw) const |
|
void | fillCollID (uint32_t robid, std::vector< IdentifierHash > &ids) |
|
void | get_parameters (int &numberOfStrawsInROD, int &numberOfStrawsInBarrelROD, int &shiftForLeftEndCapStraws, int &shiftForLeftBarrelStraws, int &shiftForRightBarrelStraws, int &shiftForRightEndCapStraws, int &numberOfEndCapPhiSectors, int &numberOfIdentifierSectors) |
|
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 > &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 |
|
Definition at line 30 of file TRT_FillCablingData_DC2.h.
◆ StoreGateSvc_t
◆ TRT_FillCablingData_DC2()
TRT_FillCablingData_DC2::TRT_FillCablingData_DC2 |
( |
const std::string & |
type, |
|
|
const std::string & |
name, |
|
|
const IInterface * |
parent |
|
) |
| |
◆ ~TRT_FillCablingData_DC2()
TRT_FillCablingData_DC2::~TRT_FillCablingData_DC2 |
( |
| ) |
|
|
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]
◆ defineCollID()
void TRT_FillCablingData_DC2::defineCollID |
( |
| ) |
|
|
private |
Definition at line 448 of file TRT_FillCablingData_DC2.cxx.
450 ATH_MSG_DEBUG(
" TRT_IdentifierConversionTool::defineCollID " );
454 eformat::SubDetector det_id = eformat::TRT_ENDCAP_A_SIDE;
459 for (
int i = 0;
i < 2; ++
i)
462 eformat::helper::SourceIdentifier sid(det_id,
465 std::vector<IdentifierHash> * vect =
new std::vector<IdentifierHash>();
471 det_id = eformat::TRT_BARREL_A_SIDE;
475 eformat::helper::SourceIdentifier sid(det_id,
477 std::vector<IdentifierHash> * vect =
new std::vector<IdentifierHash>();
482 det_id = eformat::TRT_BARREL_C_SIDE;
486 eformat::helper::SourceIdentifier sid(det_id,
488 std::vector<IdentifierHash> * vect =
new std::vector<IdentifierHash>();
493 det_id = eformat::TRT_ENDCAP_C_SIDE;
497 for (
int i = 0;
i < 2; ++
i)
500 eformat::helper::SourceIdentifier sid(det_id,
503 std::vector<IdentifierHash> * vect =
new std::vector<IdentifierHash>();
509 ATH_MSG_DEBUG(
" TRT_FillCablingData_DC1::defineCollID finished " );
◆ defineIdentifier()
Identifier TRT_FillCablingData_DC2::defineIdentifier |
( |
const eformat::SubDetector & |
subdetector, |
|
|
const int & |
rod, |
|
|
const int & |
straw |
|
) |
| const |
Definition at line 706 of file TRT_FillCablingData_DC2.cxx.
710 int id_barrel_ec, id_layer_or_wheel, id_phi_module, id_straw_layer, id_straw;
712 if ((subdetector == eformat::TRT_BARREL_A_SIDE) ||
713 (subdetector == eformat::TRT_BARREL_C_SIDE))
715 if (subdetector == eformat::TRT_BARREL_A_SIDE)
720 id_phi_module = intRod;
724 id_layer_or_wheel = 0;
730 id_layer_or_wheel = 1;
736 id_layer_or_wheel = 2;
743 if (subdetector == eformat::TRT_ENDCAP_A_SIDE)
783 id_straw_layer, id_straw);
◆ defineParameters()
void TRT_FillCablingData_DC2::defineParameters |
( |
| ) |
|
|
private |
Definition at line 83 of file TRT_FillCablingData_DC2.cxx.
86 int numberOfWheelsB = 8;
106 int numberOfStrawsInPlaneAB = 768;
137 int numberOfStrawsB = 520;
138 int numberOfStrawsC = 793;
162 int numberOfStrawsInLayersA[] = {15, 16, 16, 16, 16, 17, 17, 17, 17, 17, 18,
163 18, 18, 18, 18, 19, 19, 19, 18};
165 int numberOfStrawsInLayersB[] = {19, 20, 20, 20, 20, 20, 21, 21, 21, 21, 21,
166 22, 22, 22, 22, 22, 23, 23, 23, 23, 23, 24, 24, 23};
168 int numberOfStrawsInLayersC[] = {23, 24, 24, 24, 24, 25, 25, 25, 25, 25, 26,
169 26, 26, 26, 26, 27, 27, 27, 27, 27, 28, 28, 28, 28, 28, 29, 29, 29, 29, 28};
174 int currentLayerID = 0;
175 int firstStrawInLayer = 0;
176 int firstStrawInNextLayer = numberOfStrawsInLayersA[currentLayerID];
183 if (
i == firstStrawInNextLayer)
186 firstStrawInLayer = firstStrawInNextLayer;
187 firstStrawInNextLayer += numberOfStrawsInLayersA[currentLayerID];
197 firstStrawInLayer = firstStrawInNextLayer;
198 firstStrawInNextLayer += numberOfStrawsInLayersB[currentLayerID -
209 firstStrawInLayer = firstStrawInNextLayer;
210 firstStrawInNextLayer += numberOfStrawsInLayersC[currentLayerID -
220 int numberOfStrawsInPreviousLayer;
225 numberOfStrawsInPreviousLayer = numberOfStrawsInLayersA[
i - 1];
227 numberOfStrawsInPreviousLayer =
230 numberOfStrawsInPreviousLayer =
◆ defineTables()
void TRT_FillCablingData_DC2::defineTables |
( |
| ) |
|
|
private |
Definition at line 327 of file TRT_FillCablingData_DC2.cxx.
335 eformat::SubDetector det_id = eformat::TRT_ENDCAP_A_SIDE;
339 for (
int i = 0;
i < 2; ++
i)
355 det_id = eformat::TRT_BARREL_A_SIDE;
370 det_id = eformat::TRT_BARREL_C_SIDE;
385 det_id = eformat::TRT_ENDCAP_C_SIDE;
388 for (
int i = 0;
i < 2; ++
i)
406 det_id = eformat::TRT_ENDCAP_A_SIDE;
410 for (
int i = 0;
i < 2; ++
i)
412 eformat::helper::SourceIdentifier sid(det_id,
418 det_id = eformat::TRT_ENDCAP_C_SIDE;
421 for (
int i = 0;
i < 2; ++
i)
423 eformat::helper::SourceIdentifier sid(det_id,
429 det_id = eformat::TRT_BARREL_A_SIDE;
433 eformat::helper::SourceIdentifier sid(det_id,
438 det_id = eformat::TRT_BARREL_C_SIDE;
442 eformat::helper::SourceIdentifier sid(det_id,
◆ detStore()
◆ 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
◆ fillCollID()
void TRT_FillCablingData_DC2::fillCollID |
( |
uint32_t |
robid, |
|
|
std::vector< IdentifierHash > & |
ids |
|
) |
| |
Definition at line 513 of file TRT_FillCablingData_DC2.cxx.
516 int id_barrel_ec, id_phi_module;
520 eformat::SubDetector det_id;
523 eformat::helper::SourceIdentifier
id (rob_id);
524 det_id =
id.subdetector_id();
527 if (det_id == eformat::TRT_ENDCAP_A_SIDE)
545 ids.push_back(idHash);
558 ids.push_back(idHash);
576 else if (det_id == eformat::TRT_BARREL_A_SIDE)
588 ids.push_back(idHash);
599 ids.push_back(idHash);
610 ids.push_back(idHash);
617 else if (det_id == eformat::TRT_BARREL_C_SIDE)
629 ids.push_back(idHash);
640 ids.push_back(idHash);
651 ids.push_back(idHash);
658 else if (det_id == eformat::TRT_ENDCAP_C_SIDE)
672 ids.push_back(idHash);
684 ids.push_back(idHash);
◆ fillData()
◆ finalize()
StatusCode TRT_FillCablingData_DC2::finalize |
( |
| ) |
|
|
virtual |
◆ get_parameters()
void TRT_FillCablingData_DC2::get_parameters |
( |
int & |
numberOfStrawsInROD, |
|
|
int & |
numberOfStrawsInBarrelROD, |
|
|
int & |
shiftForLeftEndCapStraws, |
|
|
int & |
shiftForLeftBarrelStraws, |
|
|
int & |
shiftForRightBarrelStraws, |
|
|
int & |
shiftForRightEndCapStraws, |
|
|
int & |
numberOfEndCapPhiSectors, |
|
|
int & |
numberOfIdentifierSectors |
|
) |
| |
◆ getRobID()
std::vector< uint32_t > TRT_FillCablingData_DC2::getRobID |
( |
Identifier & |
id | ) |
const |
Definition at line 788 of file TRT_FillCablingData_DC2.cxx.
791 std::vector<uint32_t>
v;
794 eformat::SubDetector det_id;
799 if (id_barrel_ec == -2)
801 det_id = eformat::TRT_ENDCAP_A_SIDE;
803 for (
int i = 0;
i < 2; ++
i)
806 eformat::helper::SourceIdentifier sid(det_id,
809 v.push_back(sid.code());
812 else if (id_barrel_ec == -1)
814 det_id = eformat::TRT_BARREL_A_SIDE;
816 eformat::helper::SourceIdentifier sid(det_id, (
uint8_t) id_phi_module);
817 v.push_back(sid.code());
819 else if (id_barrel_ec == 1)
821 det_id = eformat::TRT_BARREL_C_SIDE;
823 eformat::helper::SourceIdentifier sid(det_id, (
uint8_t) id_phi_module);
824 v.push_back(sid.code());
826 else if (id_barrel_ec == 2)
828 det_id = eformat::TRT_ENDCAP_C_SIDE;
830 for (
int i = 0;
i < 2; ++
i)
833 eformat::helper::SourceIdentifier sid(det_id,
836 v.push_back(sid.code());
◆ getRodID()
uint32_t TRT_FillCablingData_DC2::getRodID |
( |
Identifier & |
id | ) |
const |
Definition at line 844 of file TRT_FillCablingData_DC2.cxx.
851 eformat::SubDetector det_id;
858 if (id_barrel_ec == -2)
860 det_id = eformat::TRT_ENDCAP_A_SIDE;
866 eformat::helper::SourceIdentifier sid(det_id,
868 (
uint8_t) (id_phi_module * 2 + rod_num));
871 else if (id_barrel_ec == -1)
873 det_id = eformat::TRT_BARREL_A_SIDE;
875 eformat::helper::SourceIdentifier sid(det_id, (
uint8_t) (id_phi_module));
878 else if (id_barrel_ec == 1)
880 det_id = eformat::TRT_BARREL_C_SIDE;
882 eformat::helper::SourceIdentifier sid(det_id, (
uint8_t) (id_phi_module));
885 else if (id_barrel_ec == 2)
887 det_id = eformat::TRT_ENDCAP_C_SIDE;
893 eformat::helper::SourceIdentifier sid(det_id,
895 (
uint8_t) (id_phi_module * 2 + rod_num));
◆ getStrawRodID()
void TRT_FillCablingData_DC2::getStrawRodID |
( |
Identifier & |
id, |
|
|
uint32_t & |
rod_id, |
|
|
uint32_t & |
straw_number |
|
) |
| const |
Definition at line 904 of file TRT_FillCablingData_DC2.cxx.
911 eformat::SubDetector det_id;
919 if (id_barrel_ec == -2)
921 det_id = eformat::TRT_ENDCAP_A_SIDE;
927 eformat::helper::SourceIdentifier sid(det_id,
929 (
uint8_t) (id_phi_module * 2 + rod_num));
932 else if (id_barrel_ec == -1)
934 det_id = eformat::TRT_BARREL_A_SIDE;
936 eformat::helper::SourceIdentifier sid(det_id, (
uint8_t) (id_phi_module));
939 else if (id_barrel_ec == 1)
941 det_id = eformat::TRT_BARREL_C_SIDE;
943 eformat::helper::SourceIdentifier sid(det_id, (
uint8_t) (id_phi_module));
946 else if (id_barrel_ec == 2)
948 det_id = eformat::TRT_ENDCAP_C_SIDE;
954 eformat::helper::SourceIdentifier sid(det_id,
956 (
uint8_t) (id_phi_module * 2 + rod_num));
960 if ((id_barrel_ec == -2) || (id_barrel_ec == 2))
981 if (id_layer_or_wheel == 0)
982 layer = id_straw_layer;
983 else if (id_layer_or_wheel == 1)
◆ initialize()
StatusCode TRT_FillCablingData_DC2::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 & TRT_FillCablingData_DC2::interfaceID |
( |
| ) |
|
|
static |
◆ 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.
◆ printParameters()
void TRT_FillCablingData_DC2::printParameters |
( |
| ) |
const |
|
private |
◆ renounce()
◆ renounceArray()
◆ 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_cabling
◆ m_cntx
◆ m_detStore
◆ m_evtStore
◆ m_id_trt
◆ m_layerID
int* TRT_FillCablingData_DC2::m_layerID {} |
|
private |
◆ m_numberOfEndCapPhiSectors
int TRT_FillCablingData_DC2::m_numberOfEndCapPhiSectors {} |
|
private |
◆ m_numberOfIdentifierSectors
int TRT_FillCablingData_DC2::m_numberOfIdentifierSectors {} |
|
private |
◆ m_numberOfLayersA
int TRT_FillCablingData_DC2::m_numberOfLayersA {} |
|
private |
◆ m_numberOfLayersAB
int TRT_FillCablingData_DC2::m_numberOfLayersAB {} |
|
private |
◆ m_numberOfLayersB
int TRT_FillCablingData_DC2::m_numberOfLayersB {} |
|
private |
◆ m_numberOfLayersC
int TRT_FillCablingData_DC2::m_numberOfLayersC {} |
|
private |
◆ m_numberOfLayersInPhiSector
int TRT_FillCablingData_DC2::m_numberOfLayersInPhiSector {} |
|
private |
◆ m_numberOfPhiSectorsInIDSector
int TRT_FillCablingData_DC2::m_numberOfPhiSectorsInIDSector {} |
|
private |
◆ m_numberOfPlanesAB
int TRT_FillCablingData_DC2::m_numberOfPlanesAB {} |
|
private |
◆ m_numberOfRings
int TRT_FillCablingData_DC2::m_numberOfRings {} |
|
private |
◆ m_numberOfStrawPlanesAC
int TRT_FillCablingData_DC2::m_numberOfStrawPlanesAC {} |
|
private |
◆ m_numberOfStrawPlanesB
int TRT_FillCablingData_DC2::m_numberOfStrawPlanesB {} |
|
private |
◆ m_numberOfStrawsA
int TRT_FillCablingData_DC2::m_numberOfStrawsA {} |
|
private |
◆ m_numberOfStrawsAB
int TRT_FillCablingData_DC2::m_numberOfStrawsAB {} |
|
private |
◆ m_numberOfStrawsABInRod
int TRT_FillCablingData_DC2::m_numberOfStrawsABInRod {} |
|
private |
◆ m_numberOfStrawsAInRod
int TRT_FillCablingData_DC2::m_numberOfStrawsAInRod {} |
|
private |
◆ m_numberOfStrawsInBarrelROD
int TRT_FillCablingData_DC2::m_numberOfStrawsInBarrelROD {} |
|
private |
◆ m_numberOfStrawsInPhiSector
int TRT_FillCablingData_DC2::m_numberOfStrawsInPhiSector {} |
|
private |
◆ m_numberOfStrawsInPhiSectorAB
int TRT_FillCablingData_DC2::m_numberOfStrawsInPhiSectorAB {} |
|
private |
◆ m_numberOfStrawsInPhiSectorC
int TRT_FillCablingData_DC2::m_numberOfStrawsInPhiSectorC {} |
|
private |
◆ m_numberOfStrawsInPreviousLayers
int* TRT_FillCablingData_DC2::m_numberOfStrawsInPreviousLayers {} |
|
private |
◆ m_numberOfStrawsInROD
int TRT_FillCablingData_DC2::m_numberOfStrawsInROD {} |
|
private |
◆ m_numberOfStrawsInWheelAForRod
int TRT_FillCablingData_DC2::m_numberOfStrawsInWheelAForRod {} |
|
private |
◆ m_numberOfStrawsInWheelBForRod
int TRT_FillCablingData_DC2::m_numberOfStrawsInWheelBForRod {} |
|
private |
◆ m_numberOfStrawsInWheelCForRod
int TRT_FillCablingData_DC2::m_numberOfStrawsInWheelCForRod {} |
|
private |
◆ m_numberOfWheelsA
int TRT_FillCablingData_DC2::m_numberOfWheelsA {} |
|
private |
◆ m_numberOfWheelsAB
int TRT_FillCablingData_DC2::m_numberOfWheelsAB {} |
|
private |
◆ m_numberOfWheelsABC
int TRT_FillCablingData_DC2::m_numberOfWheelsABC {} |
|
private |
◆ m_shiftForLeftBarrel
int TRT_FillCablingData_DC2::m_shiftForLeftBarrel {} |
|
private |
◆ m_shiftForLeftBarrelStraws
int TRT_FillCablingData_DC2::m_shiftForLeftBarrelStraws {} |
|
private |
◆ m_shiftForLeftEndCap
int TRT_FillCablingData_DC2::m_shiftForLeftEndCap {} |
|
private |
◆ m_shiftForLeftEndCapStraws
int TRT_FillCablingData_DC2::m_shiftForLeftEndCapStraws {} |
|
private |
◆ m_shiftForRightBarrel
int TRT_FillCablingData_DC2::m_shiftForRightBarrel {} |
|
private |
◆ m_shiftForRightBarrelStraws
int TRT_FillCablingData_DC2::m_shiftForRightBarrelStraws {} |
|
private |
◆ m_shiftForRightEndCap
int TRT_FillCablingData_DC2::m_shiftForRightEndCap {} |
|
private |
◆ m_shiftForRightEndCapStraws
int TRT_FillCablingData_DC2::m_shiftForRightEndCapStraws {} |
|
private |
◆ m_strawIDInLayer
int* TRT_FillCablingData_DC2::m_strawIDInLayer {} |
|
private |
◆ m_totalNumberOfPlanes
int TRT_FillCablingData_DC2::m_totalNumberOfPlanes {} |
|
private |
◆ m_totalNumberOfStrawsInPhiSectorsAB
int TRT_FillCablingData_DC2::m_totalNumberOfStrawsInPhiSectorsAB {} |
|
private |
◆ m_varHandleArraysDeclared
◆ m_vhka
The documentation for this class was generated from the following files:
def retrieve(aClass, aKey=None)
int m_shiftForRightBarrel
Identifier layer_id(int barrel_ec, int phi_module, int layer_or_wheel, int straw_layer) const
For an individual straw layer.
def finalize(self)
_info( "content of StoreGate..." ) self.sg.dump()
Scalar phi() const
phi method
int m_numberOfStrawPlanesB
void set_identifierHashForAllStraws(int rod, int bufferPosition, IdentifierHash hashId)
Identifier defineIdentifier(const eformat::SubDetector &subdetector, const int &rod, const int &straw) const
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
int m_totalNumberOfPlanes
int m_shiftForRightBarrelStraws
StoreGateSvc_t m_evtStore
Pointer to StoreGate (event store by default)
std::vector< SG::VarHandleKeyArray * > m_vhka
void set_identifierForAllStraws(int rod, int bufferPosition, Identifier strawID)
void fillCollID(uint32_t robid, std::vector< IdentifierHash > &ids)
int m_numberOfStrawsInPhiSector
const ServiceHandle< StoreGateSvc > & detStore() const
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
virtual void setOwner(IDataHandleHolder *o)=0
int m_numberOfStrawsInWheelCForRod
void add_allRobs(uint32_t sidROB)
int straw(const Identifier &id) const
msgSvc
Provide convenience handles for various services.
virtual int get_hash(const Identifier &id, IdentifierHash &hash_id, const IdContext *context=0) const override final
Create hash id from compact id (return == 0 for OK)
void add_collID(uint32_t rob_id, std::vector< IdentifierHash > *vectID)
int m_numberOfStrawsABInRod
int m_shiftForLeftEndCapStraws
IdContext straw_layer_context(void) const
straw_layer id
::StatusCode StatusCode
StatusCode definition for legacy code.
TRT_CablingData * m_cabling
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
int m_numberOfLayersInPhiSector
int m_numberOfStrawsInBarrelROD
int layer_or_wheel(const Identifier &id) const
int m_totalNumberOfStrawsInPhiSectorsAB
int m_numberOfPhiSectorsInIDSector
virtual void renounce()=0
std::conditional< std::is_base_of< SG::VarHandleKeyArray, T >::value, VarHandleKeyArrayType, type2 >::type type
int m_numberOfStrawPlanesAC
int m_numberOfStrawsInPhiSectorAB
int * m_numberOfStrawsInPreviousLayers
int m_numberOfEndCapPhiSectors
int m_shiftForRightEndCapStraws
int m_numberOfStrawsInROD
int phi_module(const Identifier &id) const
int m_numberOfIdentifierSectors
int m_numberOfStrawsInWheelBForRod
std::string show_to_string(Identifier id, const IdContext *context=0, char sep='.') const
or provide the printout in string form
int m_numberOfStrawsInWheelAForRod
int m_numberOfStrawsAInRod
int m_shiftForLeftBarrelStraws
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
This is a "hash" representation of an Identifier. This encodes a 32 bit index which can be used to lo...
This class saves the "context" of an expanded identifier (ExpandedIdentifier) for compact or hash ver...
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
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:
int m_shiftForRightEndCap
int m_numberOfStrawsInPhiSectorC