|
ATLAS Offline Software
|
#include <TRT_FillCablingData_DC1.h>
|
| TRT_FillCablingData_DC1 (const std::string &type, const std::string &name, const IInterface *parent) |
|
virtual | ~TRT_FillCablingData_DC1 () |
|
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 31 of file TRT_FillCablingData_DC1.h.
◆ StoreGateSvc_t
◆ TRT_FillCablingData_DC1()
TRT_FillCablingData_DC1::TRT_FillCablingData_DC1 |
( |
const std::string & |
type, |
|
|
const std::string & |
name, |
|
|
const IInterface * |
parent |
|
) |
| |
◆ ~TRT_FillCablingData_DC1()
TRT_FillCablingData_DC1::~TRT_FillCablingData_DC1 |
( |
| ) |
|
|
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_DC1::defineCollID |
( |
| ) |
|
|
private |
Definition at line 447 of file TRT_FillCablingData_DC1.cxx.
449 ATH_MSG_DEBUG(
" TRT_IdentifierConversionTool::defineCollID " );
454 eformat::SubDetector det_id = eformat::TRT_ENDCAP_A_SIDE;
457 for (
int i = 0;
i < 3; ++
i)
460 eformat::helper::SourceIdentifier sid(det_id,(
uint8_t) (
phi * 3 +
i));
461 std::vector<IdentifierHash> * vect =
new std::vector<IdentifierHash>();
468 det_id = eformat::TRT_BARREL_A_SIDE;
472 eformat::helper::SourceIdentifier sid(det_id,(
uint8_t) (
phi ));
473 std::vector<IdentifierHash> * vect =
new std::vector<IdentifierHash>();
479 det_id = eformat::TRT_BARREL_C_SIDE;
483 eformat::helper::SourceIdentifier sid(det_id,(
uint8_t) (
phi ));
484 std::vector<IdentifierHash> * vect =
new std::vector<IdentifierHash>();
490 det_id = eformat::TRT_ENDCAP_C_SIDE;
493 for (
int i = 0;
i < 3; ++
i)
496 eformat::helper::SourceIdentifier sid(det_id,(
uint8_t) (
phi * 3 +
i));
497 std::vector<IdentifierHash> * vect =
new std::vector<IdentifierHash>();
503 ATH_MSG_DEBUG(
" TRT_FillCablingData_DC1::defineCollID finished " );
◆ defineIdentifier()
Identifier TRT_FillCablingData_DC1::defineIdentifier |
( |
const eformat::SubDetector & |
subdetector, |
|
|
const int & |
rod, |
|
|
const int & |
straw |
|
) |
| const |
Definition at line 700 of file TRT_FillCablingData_DC1.cxx.
705 int id_barrel_ec, id_layer_or_wheel, id_phi_module, id_straw_layer, id_straw;
708 if ((subdetector == eformat::TRT_BARREL_A_SIDE) ||
710 (subdetector == eformat::TRT_BARREL_C_SIDE))
713 if (subdetector == eformat::TRT_BARREL_A_SIDE)
718 id_phi_module = intRod;
722 id_layer_or_wheel = 0;
728 id_layer_or_wheel = 1;
734 id_layer_or_wheel = 2;
742 if (subdetector == eformat::TRT_ENDCAP_A_SIDE)
781 id_straw_layer, id_straw);
◆ defineParameters()
void TRT_FillCablingData_DC1::defineParameters |
( |
| ) |
|
|
private |
Definition at line 88 of file TRT_FillCablingData_DC1.cxx.
91 int numberOfWheelsB = 8;
92 int numberOfWheelsC = 4;
112 int numberOfStrawsInPlaneAB = 768;
113 int numberOfStrawsInPlaneC = 576;
146 int numberOfStrawsB = 520;
147 int numberOfStrawsC = 793;
171 int numberOfStrawsInLayersA[] = {15, 16, 16, 16, 16, 17, 17, 17, 17, 17, 18,
172 18, 18, 18, 18, 19, 19, 19, 18};
174 int numberOfStrawsInLayersB[] = {19, 20, 20, 20, 20, 20, 21, 21, 21, 21, 21,
175 22, 22, 22, 22, 22, 23, 23, 23, 23, 23, 24, 24, 23};
177 int numberOfStrawsInLayersC[] = {23, 24, 24, 24, 24, 25, 25, 25, 25, 25, 26,
178 26, 26, 26, 26, 27, 27, 27, 27, 27, 28, 28, 28, 28, 28, 29, 29, 29, 29, 28};
183 int currentLayerID = 0;
184 int firstStrawInLayer = 0;
185 int firstStrawInNextLayer = numberOfStrawsInLayersA[currentLayerID];
192 if (
i == firstStrawInNextLayer)
195 firstStrawInLayer = firstStrawInNextLayer;
196 firstStrawInNextLayer += numberOfStrawsInLayersA[currentLayerID];
206 firstStrawInLayer = firstStrawInNextLayer;
207 firstStrawInNextLayer += numberOfStrawsInLayersB[currentLayerID -
218 firstStrawInLayer = firstStrawInNextLayer;
219 firstStrawInNextLayer += numberOfStrawsInLayersC[currentLayerID -
229 int numberOfStrawsInPreviousLayer;
234 numberOfStrawsInPreviousLayer = numberOfStrawsInLayersA[
i - 1];
236 numberOfStrawsInPreviousLayer =
239 numberOfStrawsInPreviousLayer =
◆ defineTables()
void TRT_FillCablingData_DC1::defineTables |
( |
| ) |
|
|
private |
Definition at line 317 of file TRT_FillCablingData_DC1.cxx.
326 eformat::SubDetector det_id = eformat::TRT_ENDCAP_A_SIDE;
330 for (
int i = 0;
i < 3; ++
i)
349 det_id = eformat::TRT_BARREL_A_SIDE;
365 det_id = eformat::TRT_BARREL_C_SIDE;
381 det_id = eformat::TRT_ENDCAP_C_SIDE;
384 for (
int i = 0;
i < 3; ++
i)
404 det_id = eformat::TRT_ENDCAP_A_SIDE;
408 for (
int i = 0;
i < 3; ++
i)
411 eformat::helper::SourceIdentifier sid(det_id,(
uint8_t) (
phi * 3 +
i));
417 det_id = eformat::TRT_ENDCAP_C_SIDE;
420 for (
int i = 0;
i < 3; ++
i)
423 eformat::helper::SourceIdentifier sid(det_id,(
uint8_t) (
phi * 3 +
i));
429 det_id = eformat::TRT_BARREL_A_SIDE;
433 eformat::helper::SourceIdentifier sid(det_id,(
uint8_t) (
phi ));
438 det_id = eformat::TRT_BARREL_C_SIDE;
442 eformat::helper::SourceIdentifier sid(det_id,(
uint8_t) (
phi ));
◆ 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_DC1::fillCollID |
( |
uint32_t |
robid, |
|
|
std::vector< IdentifierHash > & |
ids |
|
) |
| |
Definition at line 507 of file TRT_FillCablingData_DC1.cxx.
510 int id_barrel_ec, id_phi_module;
515 eformat::SubDetector det_id;
518 eformat::helper::SourceIdentifier
id (rob_id);
519 det_id =
id.subdetector_id();
523 if (det_id == eformat::TRT_ENDCAP_A_SIDE)
540 ids.push_back(idHash);
552 ids.push_back(idHash);
563 ids.push_back(idHash);
571 else if (det_id == eformat::TRT_BARREL_A_SIDE)
583 ids.push_back(idHash);
594 ids.push_back(idHash);
605 ids.push_back(idHash);
613 else if (det_id == eformat::TRT_BARREL_C_SIDE)
625 ids.push_back(idHash);
636 ids.push_back(idHash);
647 ids.push_back(idHash);
655 else if (det_id == eformat::TRT_ENDCAP_C_SIDE)
667 ids.push_back(idHash);
678 ids.push_back(idHash);
689 ids.push_back(idHash);
◆ fillData()
◆ finalize()
StatusCode TRT_FillCablingData_DC1::finalize |
( |
| ) |
|
|
virtual |
◆ get_parameters()
void TRT_FillCablingData_DC1::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_DC1::getRobID |
( |
Identifier & |
id | ) |
const |
Definition at line 786 of file TRT_FillCablingData_DC1.cxx.
789 std::vector<uint32_t>
v;
793 eformat::SubDetector det_id;
798 if (id_barrel_ec == -2)
801 det_id = eformat::TRT_ENDCAP_A_SIDE;
802 for (
int i = 0;
i < 3; ++
i)
805 eformat::helper::SourceIdentifier sid(det_id,(
uint8_t) (id_phi_module * 3 +
i));
806 v.push_back(sid.code());
809 else if (id_barrel_ec == -1)
812 det_id = eformat::TRT_BARREL_A_SIDE;
814 eformat::helper::SourceIdentifier sid(det_id, (
uint8_t) id_phi_module);
815 v.push_back(sid.code());
817 else if (id_barrel_ec == 1)
820 det_id = eformat::TRT_BARREL_C_SIDE;
822 eformat::helper::SourceIdentifier sid(det_id, (
uint8_t) id_phi_module);
823 v.push_back(sid.code());
825 else if (id_barrel_ec == 2)
828 det_id = eformat::TRT_ENDCAP_C_SIDE;
829 for (
int i = 0;
i < 3; ++
i)
832 eformat::helper::SourceIdentifier sid(det_id,(
uint8_t) (id_phi_module * 3 +
i));
833 v.push_back(sid.code());
◆ getRodID()
uint32_t TRT_FillCablingData_DC1::getRodID |
( |
Identifier & |
id | ) |
const |
Definition at line 841 of file TRT_FillCablingData_DC1.cxx.
849 eformat::SubDetector det_id;
856 if (id_barrel_ec == -2)
859 det_id = eformat::TRT_ENDCAP_A_SIDE;
865 eformat::helper::SourceIdentifier sid(det_id,(
uint8_t) (id_phi_module * 3 + rod_num));
868 else if (id_barrel_ec == -1)
871 det_id = eformat::TRT_BARREL_A_SIDE;
873 eformat::helper::SourceIdentifier sid(det_id, (
uint8_t) (id_phi_module));
876 else if (id_barrel_ec == 1)
879 det_id = eformat::TRT_BARREL_C_SIDE;
881 eformat::helper::SourceIdentifier sid(det_id, (
uint8_t) (id_phi_module));
884 else if (id_barrel_ec == 2)
887 det_id = eformat::TRT_ENDCAP_C_SIDE;
893 eformat::helper::SourceIdentifier sid(det_id,(
uint8_t) (id_phi_module * 3 + rod_num));
◆ getStrawRodID()
void TRT_FillCablingData_DC1::getStrawRodID |
( |
Identifier & |
id, |
|
|
uint32_t & |
rod_id, |
|
|
uint32_t & |
straw_number |
|
) |
| const |
Definition at line 902 of file TRT_FillCablingData_DC1.cxx.
910 eformat::SubDetector det_id;
918 if (id_barrel_ec == -2)
921 det_id = eformat::TRT_ENDCAP_A_SIDE;
927 eformat::helper::SourceIdentifier sid(det_id,(
uint8_t) (id_phi_module * 3 + rod_num));
930 else if (id_barrel_ec == -1)
933 det_id = eformat::TRT_BARREL_A_SIDE;
935 eformat::helper::SourceIdentifier sid(det_id, (
uint8_t) (id_phi_module));
938 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)
949 det_id = eformat::TRT_ENDCAP_C_SIDE;
955 eformat::helper::SourceIdentifier sid(det_id,(
uint8_t) (id_phi_module * 3 + rod_num));
959 if ((id_barrel_ec == -2) || (id_barrel_ec == 2))
979 if (id_layer_or_wheel == 0)
980 layer = id_straw_layer;
981 else if (id_layer_or_wheel == 1)
◆ initialize()
StatusCode TRT_FillCablingData_DC1::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_DC1::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_DC1::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_DC1::m_layerID {} |
|
private |
◆ m_numberOfEndCapPhiSectors
int TRT_FillCablingData_DC1::m_numberOfEndCapPhiSectors {} |
|
private |
◆ m_numberOfIdentifierSectors
int TRT_FillCablingData_DC1::m_numberOfIdentifierSectors {} |
|
private |
◆ m_numberOfLayersA
int TRT_FillCablingData_DC1::m_numberOfLayersA {} |
|
private |
◆ m_numberOfLayersAB
int TRT_FillCablingData_DC1::m_numberOfLayersAB {} |
|
private |
◆ m_numberOfLayersB
int TRT_FillCablingData_DC1::m_numberOfLayersB {} |
|
private |
◆ m_numberOfLayersC
int TRT_FillCablingData_DC1::m_numberOfLayersC {} |
|
private |
◆ m_numberOfLayersInPhiSector
int TRT_FillCablingData_DC1::m_numberOfLayersInPhiSector {} |
|
private |
◆ m_numberOfPhiSectorsInIDSector
int TRT_FillCablingData_DC1::m_numberOfPhiSectorsInIDSector {} |
|
private |
◆ m_numberOfPlanesAB
int TRT_FillCablingData_DC1::m_numberOfPlanesAB {} |
|
private |
◆ m_numberOfRings
int TRT_FillCablingData_DC1::m_numberOfRings {} |
|
private |
◆ m_numberOfStrawPlanesAC
int TRT_FillCablingData_DC1::m_numberOfStrawPlanesAC {} |
|
private |
◆ m_numberOfStrawPlanesB
int TRT_FillCablingData_DC1::m_numberOfStrawPlanesB {} |
|
private |
◆ m_numberOfStrawsA
int TRT_FillCablingData_DC1::m_numberOfStrawsA {} |
|
private |
◆ m_numberOfStrawsAB
int TRT_FillCablingData_DC1::m_numberOfStrawsAB {} |
|
private |
◆ m_numberOfStrawsABInRod
int TRT_FillCablingData_DC1::m_numberOfStrawsABInRod {} |
|
private |
◆ m_numberOfStrawsAInRod
int TRT_FillCablingData_DC1::m_numberOfStrawsAInRod {} |
|
private |
◆ m_numberOfStrawsInBarrelROD
int TRT_FillCablingData_DC1::m_numberOfStrawsInBarrelROD {} |
|
private |
◆ m_numberOfStrawsInPhiSector
int TRT_FillCablingData_DC1::m_numberOfStrawsInPhiSector {} |
|
private |
◆ m_numberOfStrawsInPhiSectorAB
int TRT_FillCablingData_DC1::m_numberOfStrawsInPhiSectorAB {} |
|
private |
◆ m_numberOfStrawsInPhiSectorC
int TRT_FillCablingData_DC1::m_numberOfStrawsInPhiSectorC {} |
|
private |
◆ m_numberOfStrawsInPreviousLayers
int* TRT_FillCablingData_DC1::m_numberOfStrawsInPreviousLayers {} |
|
private |
◆ m_numberOfStrawsInROD
int TRT_FillCablingData_DC1::m_numberOfStrawsInROD {} |
|
private |
◆ m_numberOfStrawsInWheelAForRod
int TRT_FillCablingData_DC1::m_numberOfStrawsInWheelAForRod {} |
|
private |
◆ m_numberOfStrawsInWheelBForRod
int TRT_FillCablingData_DC1::m_numberOfStrawsInWheelBForRod {} |
|
private |
◆ m_numberOfStrawsInWheelCForRod
int TRT_FillCablingData_DC1::m_numberOfStrawsInWheelCForRod {} |
|
private |
◆ m_numberOfWheelsA
int TRT_FillCablingData_DC1::m_numberOfWheelsA {} |
|
private |
◆ m_numberOfWheelsAB
int TRT_FillCablingData_DC1::m_numberOfWheelsAB {} |
|
private |
◆ m_numberOfWheelsABC
int TRT_FillCablingData_DC1::m_numberOfWheelsABC {} |
|
private |
◆ m_shiftForLeftBarrel
int TRT_FillCablingData_DC1::m_shiftForLeftBarrel {} |
|
private |
◆ m_shiftForLeftBarrelStraws
int TRT_FillCablingData_DC1::m_shiftForLeftBarrelStraws {} |
|
private |
◆ m_shiftForLeftEndCap
int TRT_FillCablingData_DC1::m_shiftForLeftEndCap {} |
|
private |
◆ m_shiftForLeftEndCapStraws
int TRT_FillCablingData_DC1::m_shiftForLeftEndCapStraws {} |
|
private |
◆ m_shiftForRightBarrel
int TRT_FillCablingData_DC1::m_shiftForRightBarrel {} |
|
private |
◆ m_shiftForRightBarrelStraws
int TRT_FillCablingData_DC1::m_shiftForRightBarrelStraws {} |
|
private |
◆ m_shiftForRightEndCap
int TRT_FillCablingData_DC1::m_shiftForRightEndCap {} |
|
private |
◆ m_shiftForRightEndCapStraws
int TRT_FillCablingData_DC1::m_shiftForRightEndCapStraws {} |
|
private |
◆ m_strawIDInLayer
int* TRT_FillCablingData_DC1::m_strawIDInLayer {} |
|
private |
◆ m_totalNumberOfPlanes
int TRT_FillCablingData_DC1::m_totalNumberOfPlanes {} |
|
private |
◆ m_totalNumberOfStrawsInPhiSectorsAB
int TRT_FillCablingData_DC1::m_totalNumberOfStrawsInPhiSectorsAB {} |
|
private |
◆ 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.
def finalize(self)
_info( "content of StoreGate..." ) self.sg.dump()
void fillCollID(uint32_t robid, std::vector< IdentifierHash > &ids)
Scalar phi() const
phi method
void set_identifierHashForAllStraws(int rod, int bufferPosition, IdentifierHash hashId)
int m_numberOfStrawsInWheelBForRod
int m_numberOfStrawPlanesB
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
int m_numberOfStrawsABInRod
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)
int m_numberOfStrawsInROD
int m_shiftForRightBarrel
int m_totalNumberOfPlanes
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_numberOfStrawsInBarrelROD
int m_shiftForRightEndCap
int m_numberOfLayersInPhiSector
int m_numberOfPhiSectorsInIDSector
void add_allRobs(uint32_t sidROB)
int straw(const Identifier &id) const
int * m_numberOfStrawsInPreviousLayers
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)
int m_numberOfStrawsInWheelCForRod
void add_collID(uint32_t rob_id, std::vector< IdentifierHash > *vectID)
IdContext straw_layer_context(void) const
straw_layer id
::StatusCode StatusCode
StatusCode definition for legacy code.
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_numberOfStrawsInPhiSectorAB
int layer_or_wheel(const Identifier &id) const
virtual void renounce()=0
std::conditional< std::is_base_of< SG::VarHandleKeyArray, T >::value, VarHandleKeyArrayType, type2 >::type type
int m_numberOfEndCapPhiSectors
int m_numberOfStrawsAInRod
int m_shiftForRightBarrelStraws
int m_shiftForLeftEndCapStraws
int m_totalNumberOfStrawsInPhiSectorsAB
int m_numberOfIdentifierSectors
int phi_module(const Identifier &id) const
int m_shiftForRightEndCapStraws
std::string show_to_string(Identifier id, const IdContext *context=0, char sep='.') const
or provide the printout in string form
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
int m_numberOfStrawsInPhiSector
int m_numberOfStrawsInWheelAForRod
int m_shiftForLeftBarrelStraws
This is a "hash" representation of an Identifier. This encodes a 32 bit index which can be used to lo...
TRT_CablingData * m_cabling
Identifier defineIdentifier(const eformat::SubDetector &subdetector, const int &rod, const int &straw) const
int m_numberOfStrawPlanesAC
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_numberOfStrawsInPhiSectorC