Loading [MathJax]/jax/output/SVG/config.js
 |
ATLAS Offline Software
|
Go to the documentation of this file.
40 ,
unsigned int moduleIndex
42 ,
unsigned int strawLayerIndex)
const
44 if ( positive >= 2 || moduleIndex >=
NMODMAX
51 ,
unsigned int moduleIndex
53 ,
unsigned int strawLayerIndex)
55 if ( positive >= 2 || moduleIndex >=
NMODMAX
63 ,
unsigned int wheelIndex
64 ,
unsigned int strawLayerIndex
67 if ( positive >= 2 || wheelIndex >=
NWHEELMAX
74 ,
unsigned int wheelIndex
75 ,
unsigned int strawLayerIndex
78 if ( positive >= 2 || wheelIndex >=
NWHEELMAX
90 [barrel->getCode().isPosZ()]
91 [barrel->getCode().getModuleIndex()]
92 [barrel->getCode().getPhiIndex()]
93 [barrel->getCode().getStrawLayerIndex()];
94 if (arrayElement !=
nullptr) {
99 [barrel->getCode().getModuleIndex()]
100 [barrel->getCode().getPhiIndex()]
101 [barrel->getCode().getStrawLayerIndex()] = barrel;
115 if (arrayElement !=
nullptr) {
129 [barrel->getCode().isPosZ()]
130 [barrel->getCode().getModuleIndex()]
131 [barrel->getCode().getPhiIndex()]
132 [barrel->getCode().getStrawLayerIndex()] ) {
135 ATH_MSG_DEBUG(
"manageBarrelElement: Overriding existing element");
139 [barrel->getCode().isPosZ()]
140 [barrel->getCode().getModuleIndex()]
141 [barrel->getCode().getPhiIndex()]
142 [barrel->getCode().getStrawLayerIndex()]
148 barrel->getCode().getPhiIndex(),
149 barrel->getCode().getModuleIndex(),
150 barrel->getCode().getStrawLayerIndex());
154 m_trtcoll.resize(
static_cast<unsigned int>(hashId) + 1);
158 ATH_MSG_DEBUG(
"manageBarrelElement: Overriding existing element for hashID");
195 m_trtcoll.resize(
static_cast<unsigned int>(hashId) + 1);
199 ATH_MSG_DEBUG(
"manageEndcapElement: Overriding existing element for hashID");
215 for (
auto &
mod : ec) {
216 for (
auto & phi :
mod) {
217 for (
auto & sLay : phi) {
224 for (
auto & whe : ec) {
225 for (
auto & sLay : whe) {
226 for(
auto & phi : sLay) {
unsigned int getStrawLayerIndex() const
Identifier layer_id(int barrel_ec, int phi_module, int layer_or_wheel, int straw_layer) const
For an individual straw layer.
TRT_EndcapElement * m_ecArray[2][NWHEELMAX][NSTRAWLAYMAXEC][NPHIMAX]
void manageEndcapElement(TRT_EndcapElement *endcap, const TRT_ID *idHelper)
std::string find(const std::string &s)
return a remapped string
void addEndcapElement(TRT_EndcapElement *element)
void manageBarrelElement(TRT_BarrelElement *barrel, const TRT_ID *idHelper)
void setNumerology(const TRT_Numerology *mynum)
unsigned int getWheelIndex() const
~TRT_DetElementContainer()
TRT_DetElementContainer()
const TRT_EndcapCode & getCode() const
Doomed (??)
Class to provide easy MsgStream access and capabilities.
unsigned int isPosZ() const
bool is_valid() const
Check if id is in a valid state.
const TRT_BarrelElement * getBarrelDetElement(unsigned int positive, unsigned int moduleIndex, unsigned int phiIndex, unsigned int strawLayerIndex) const
TRT_DetElementCollection m_trtcoll
unsigned int getPhiIndex() const
TRT_BarrelElement * m_baArray[2][NMODMAX][NPHIMAX][NSTRAWLAYMAXBR]
unsigned int phiIndex(float phi, float binsize)
calculate phi index for a given phi
#define ATH_MSG_WARNING(x)
const TRT_Numerology * getTRTNumerology() const
const TRT_Numerology * m_trtnum
const TRT_DetElementCollection * getElements() const
Class to hold collection of TRT detector elements.
This is a "hash" representation of an Identifier. This encodes a 32 bit index which can be used to lo...
const TRT_EndcapElement * getEndcapDetElement(unsigned int positive, unsigned int wheelIndex, unsigned int strawLayerIndex, unsigned int phiIndex) const
IdentifierHash straw_layer_hash(Identifier straw_layer_id) const
straw_layer hash from id - optimized
void addBarrelElement(TRT_BarrelElement *element)