ATLAS Offline Software
TRTStrawStatusRead.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
5 //
15 #include <fstream>
16 #include <iostream>
17 #include <iomanip>
18 #include <sstream>
19 #include <stdio.h>
26 
27 
28 TRTStrawStatusRead::TRTStrawStatusRead( const std::string &name, ISvcLocator *pSvcLocator) :
29  AthAlgorithm( name, pSvcLocator ),
30  m_setup(false),
31  m_trtid(0),
32  m_status("TRT_StrawStatusSummaryTool",this),
33  m_statReadKey("/TRT/Cond/Status"),
34  m_permReadKey("/TRT/Cond/StatusPermanent"),
35  m_statHTReadKey("/TRT/Cond/StatusHT"),
36  m_printfolder("Status")
37 {
38  declareProperty("FolderToPrint",m_printfolder);
39  declareProperty("SummaryTool",m_status);
40 }
41 
43 {
44 
45  //
46  // Get ID helper
47  ATH_CHECK( detStore()->retrieve(m_trtid,"TRT_ID") );
48 
49  //
50  // Get tool
51  ATH_CHECK( m_status.retrieve() );
52 
53  // Read keys
54 
55  ATH_CHECK( m_statReadKey.initialize( ) );
56  ATH_CHECK( m_permReadKey.initialize( ) );
57  ATH_CHECK( m_statHTReadKey.initialize( ) );
58 
59  return StatusCode::SUCCESS;
60 }
61 
63 {
64 
65  StatusCode sc = StatusCode::SUCCESS;
66  if(!m_setup) {
67 
68 
69 
70  ATH_MSG_INFO(" Dump the Straw Status to text file:");
71  sc = writeToTextFile("StrawStatusDump_Writer.txt");
72  if (sc.isFailure()) {
73  ATH_MSG_ERROR(" Error writing the text file");
74  }
75 
76  m_setup=true;
77  }
78 
79  return sc;
80 }
81 
83 {
84  return StatusCode::SUCCESS;
85 }
86 
87 
89 
90 
92 {
93  std::ofstream outfile(filename.c_str());
94 
95  int stat, bec, lay, sec, slay, straw, level;
96  int deadba0[32];
97  int deadba1[32];
98  int deadba2[32];
99  int deadbc0[32];
100  int deadbc1[32];
101  int deadbc2[32];
102  int deadea[14];
103  int deadec[14];
104  for(int i=0;i<32;i++){
105  deadba0[i]=0;
106  deadba1[i]=0;
107  deadba2[i]=0;
108  deadbc0[i]=0;
109  deadbc1[i]=0;
110  deadbc2[i]=0;
111  }
112  for(int i=0;i<14;i++){
113  deadea[i]=0;
114  deadec[i]=0;
115  }
116  int ngood=0;
117 
118  if(m_printfolder=="Status"){
119  ATH_MSG_INFO( " Dump To File: StrawStatus " );
121 
122  getStrawStatusContainer()->getall(flatcontainer) ;
123 
124  std::cout << " Status write output file in the same format as input " << std::endl;
125  for( TRTCond::StrawStatusContainer::FlatContainer::const_iterator
126  it = flatcontainer.begin() ; it != flatcontainer.end() ; ++it) {
127  TRTCond::ExpandedIdentifier id = it->first ;
128  const TRTCond::StrawStatus* status = it->second ;
129  bec = id.becindextoid(id.index(1));
130  lay = id.index(2);
131  sec = id.index(3);
132  slay = id.index(4);
133  straw = id.index(5);
134  level = id.level();
135  stat = int(status->getstatus());
137  //record this straw in the output file in same format as in the original input text file
138  if(level==4) straw=-1;
139  if(level==3) {
140  straw=-1;
141  slay=-1;
142  }
143  if(level==2) {
144  straw=-1;
145  slay=-1;
146  sec=-1;
147  }
148  outfile << bec << " " << sec << " " << slay << " " << straw << " " << lay << " " << TRTCond::StrawStatus::Dead << std::endl;
149  }
150 
151  }
152  std::cout << " Check all straws: " << " ( Good = " << TRTCond::StrawStatus::Good << " Dead = " << TRTCond::StrawStatus::Dead << std::endl;
153  for(std::vector<Identifier>::const_iterator it=m_trtid->straw_layer_begin();it!=m_trtid->straw_layer_end();++it) {
154  int nStrawsInLayer = m_trtid->straw_max(*it);
155  for (int i=0; i<=nStrawsInLayer; i++) {
156 
157  Identifier id = m_trtid->straw_id(*it,i);
158  bec = m_trtid->barrel_ec(id);
159  lay = m_trtid->layer_or_wheel(id);
160  sec = m_trtid->phi_module(id);
161  slay = m_trtid->straw_layer(id);
162  straw = m_trtid->straw(id);
163 
164  stat = m_status->getStatus(id, Gaudi::Hive::currentContext());
166  if(bec==-2) {
167  deadec[lay]++;
168  } else if(bec==2) {
169  deadea[lay]++;
170  } else if(bec==-1) {
171  if(lay==0) deadbc0[sec]++;
172  if(lay==1) deadbc1[sec]++;
173  if(lay==2) deadbc2[sec]++;
174  } else if(bec==1) {
175  if(lay==0) deadba0[sec]++;
176  if(lay==1) deadba1[sec]++;
177  if(lay==2) deadba2[sec]++;
178  }
179  }
180  }
181  }
182  }
183 
184 
185 
186  if(m_printfolder=="StatusHT"){
187  ATH_MSG_INFO( " Dump To File: StrawStatus HT " );
189  getStrawStatusHTContainer()->getall(flatcontainerHT) ;
190 
191  ATH_MSG_INFO ( " bec lay gas (Xe=2 Ar=4)" );
192  for(std::vector<Identifier>::const_iterator it=m_trtid->straw_layer_begin();it!=m_trtid->straw_layer_end();++it) {
193  Identifier id = m_trtid->straw_id(*it,1);
194  bec = m_trtid->barrel_ec(id);
195  lay = m_trtid->layer_or_wheel(id);
196  sec = m_trtid->phi_module(id);
197  slay = m_trtid->straw_layer(id);
198  // print gas status for sector 1, strawlayer 1, straw 1 in this layer-or-wheel
199  if(sec==1 && slay==1) {
200 
201  int stat = int(m_status->getStatusHT(id, Gaudi::Hive::currentContext()));
202 
203  ATH_MSG_INFO( bec << " " << lay << " " << stat );
204  }
205  }
206 
207  for( TRTCond::StrawStatusContainer::FlatContainer::const_iterator
208  it = flatcontainerHT.begin() ; it != flatcontainerHT.end() ; ++it) {
209  TRTCond::ExpandedIdentifier id = it->first ;
210  const TRTCond::StrawStatus* status = it->second ;
211  outfile << id << " " << int(status->getstatus()) << std::endl ;
212  }
213  }
214 
215 
216  if(m_printfolder=="StatusPermanent"){
217  ATH_MSG_INFO( " Dump To File: StrawStatus permanent ");
218 
220 
221  getStrawStatusPermanentContainer()->getall(flatcontainerpermanent) ;
222 
223  std::cout << " StatusPermanent cobntainer first straws: " << std::endl;
224  for( TRTCond::StrawStatusContainer::FlatContainer::const_iterator
225  it = flatcontainerpermanent.begin() ; it != flatcontainerpermanent.end() ; ++it) {
226  TRTCond::ExpandedIdentifier id = it->first ;
227  const TRTCond::StrawStatus* status = it->second ;
228  bec = id.becindextoid(id.index(1));
229  lay = id.index(2);
230  sec = id.index(3);
231  slay = id.index(4);
232  straw = id.index(5);
233  stat = int(status->getstatus());
235  outfile << bec << " " << sec << " " << straw << " " << slay << " " << lay << " " << stat << std::endl ;
236 
237  if(bec==-2) {
238  deadec[lay]++;
239  } else if(bec==2) {
240  deadea[lay]++;
241  } else if(bec==-1) {
242  if(lay==0) deadbc0[sec]++;
243  if(lay==1) deadbc1[sec]++;
244  if(lay==2) deadbc2[sec]++;
245  } else if(bec==1) {
246  if(lay==0) deadba0[sec]++;
247  if(lay==1) deadba1[sec]++;
248  if(lay==2) deadba2[sec]++;
249  }
250  } else {
251  ngood++;
252  }
253 
254  if(straw==0 && slay==0) std::cout << bec << " " << sec << " " << straw << " " << slay << " " << lay << " " << stat << std::endl;
255 
256  }
257  std::cout << " First straws: " << " ( Good = " << TRTCond::StrawStatus::Good << " Dead = " << TRTCond::StrawStatus::Dead << " ) " << std::endl;
258 
259  for(std::vector<Identifier>::const_iterator it=m_trtid->straw_layer_begin();it!=m_trtid->straw_layer_end();++it) {
260  int nStrawsInLayer = m_trtid->straw_max(*it);
261  for (int i=0; i<=nStrawsInLayer; i++) {
262 
263  Identifier id = m_trtid->straw_id(*it,i);
264  bec = m_trtid->barrel_ec(id);
265  lay = m_trtid->layer_or_wheel(id);
266  sec = m_trtid->phi_module(id);
267  slay = m_trtid->straw_layer(id);
268  straw = m_trtid->straw(id);
269  stat = int(m_status->getStatusPermanent(id, Gaudi::Hive::currentContext()));
270 
271  if(slay==0 && straw==0) std::cout << bec << " " << lay << " " << sec << " " << stat << std::endl;
272  }
273  }
274  }
275 
276  if(m_printfolder=="Status" || m_printfolder=="StatusPermanent"){
277 
278  ATH_MSG_INFO ( " Dead straws BA layer 0" );
279  ATH_MSG_INFO ( "deadba0[] = { " << deadba0[0] << ", " << deadba0[1] << ", " << deadba0[2] << ", " << deadba0[3] << ", " <<
280  deadba0[4] << ", " << deadba0[5] << ", " << deadba0[6] << ", " << deadba0[7] << ", " <<
281  deadba0[8] << ", " << deadba0[9] << ", " << deadba0[10] << ", " << deadba0[11] << ", " <<
282  deadba0[12] << ", " << deadba0[13] << ", " << deadba0[14] << ", " << deadba0[15] << ", " <<
283  deadba0[16] << ", " << deadba0[17] << ", " << deadba0[18] << ", " << deadba0[19] << ", " <<
284  deadba0[20] << ", " << deadba0[21] << ", " << deadba0[22] << ", " << deadba0[23] << ", " <<
285  deadba0[24] << ", " << deadba0[25] << ", " << deadba0[26] << ", " << deadba0[27] << ", " <<
286  deadba0[28] << ", " << deadba0[29] << ", " << deadba0[30] << ", " << deadba0[31] << "}; " );
287  ATH_MSG_INFO ( " Dead straws BA layer 1 ");
288  ATH_MSG_INFO ( "deadba1[] = { " << deadba1[0] << ", " << deadba1[1] << ", " << deadba1[2] << ", " << deadba1[3] << ", " <<
289  deadba1[4] << ", " << deadba1[5] << ", " << deadba1[6] << ", " << deadba1[7] << ", " <<
290  deadba1[8] << ", " << deadba1[9] << ", " << deadba1[10] << ", " << deadba1[11] << ", " <<
291  deadba1[12] << ", " << deadba1[13] << ", " << deadba1[14] << ", " << deadba1[15] << ", " <<
292  deadba1[16] << ", " << deadba1[17] << ", " << deadba1[18] << ", " << deadba1[19] << ", " <<
293  deadba1[20] << ", " << deadba1[21] << ", " << deadba1[22] << ", " << deadba1[23] << ", " <<
294  deadba1[24] << ", " << deadba1[25] << ", " << deadba1[26] << ", " << deadba1[27] << ", " <<
295  deadba1[28] << ", " << deadba1[29] << ", " << deadba1[30] << ", " << deadba1[31] << "};");
296  ATH_MSG_INFO (" Dead straws BA layer 2");
297  ATH_MSG_INFO ( "deadba2[]= { " << deadba2[0] << ", " << deadba2[1] << ", " << deadba2[2] << ", " << deadba2[3] << ", " <<
298  deadba2[4] << ", " << deadba2[5] << ", " << deadba2[6] << ", " << deadba2[7] << ", " <<
299  deadba2[8] << ", " << deadba2[9] << ", " << deadba2[10] << ", " << deadba2[11] << ", " <<
300  deadba2[12] << ", " << deadba2[13] << ", " << deadba2[14] << ", " << deadba2[15] << ", " <<
301  deadba2[16] << ", " << deadba2[17] << ", " << deadba2[18] << ", " << deadba2[19] << ", " <<
302  deadba2[20] << ", " << deadba2[21] << ", " << deadba2[22] << ", " << deadba2[23] << ", " <<
303  deadba2[24] << ", " << deadba2[25] << ", " << deadba2[26] << ", " << deadba2[27] << ", " <<
304  deadba2[28] << ", " << deadba2[29] << ", " << deadba2[30] << ", " << deadba2[31] << "}; ");
305 
306  ATH_MSG_INFO ( " Dead straws BC layer 0" );
307  ATH_MSG_INFO ( "deadbc0[] = { " << deadbc0[0] << ", " << deadbc0[1] << ", " << deadbc0[2] << ", " << deadbc0[3] << ", " <<
308  deadbc0[4] << ", " << deadbc0[5] << ", " << deadbc0[6] << ", " << deadbc0[7] << ", " <<
309  deadbc0[8] << ", " << deadbc0[9] << ", " << deadbc0[10] << ", " << deadbc0[11] << ", " <<
310  deadbc0[12] << ", " << deadbc0[13] << ", " << deadbc0[14] << ", " << deadbc0[15] << ", " <<
311  deadbc0[16] << ", " << deadbc0[17] << ", " << deadbc0[18] << ", " << deadbc0[19] << ", " <<
312  deadbc0[20] << ", " << deadbc0[21] << ", " << deadbc0[22] << ", " << deadbc0[23] << ", " <<
313  deadbc0[24] << ", " << deadbc0[25] << ", " << deadbc0[26] << ", " << deadbc0[27] << ", " <<
314  deadbc0[28] << ", " << deadbc0[29] << ", " << deadbc0[30] << ", " << deadbc0[31] << "}; " );
315  ATH_MSG_INFO ( " Dead straws BC layer 1 ");
316  ATH_MSG_INFO ( "deadbc1[] = { " << deadbc1[0] << ", " << deadbc1[1] << ", " << deadbc1[2] << ", " << deadbc1[3] << ", " <<
317  deadbc1[4] << ", " << deadbc1[5] << ", " << deadbc1[6] << ", " << deadbc1[7] << ", " <<
318  deadbc1[8] << ", " << deadbc1[9] << ", " << deadbc1[10] << ", " << deadbc1[11] << ", " <<
319  deadbc1[12] << ", " << deadbc1[13] << ", " << deadbc1[14] << ", " << deadbc1[15] << ", " <<
320  deadbc1[16] << ", " << deadbc1[17] << ", " << deadbc1[18] << ", " << deadbc1[19] << ", " <<
321  deadbc1[20] << ", " << deadbc1[21] << ", " << deadbc1[22] << ", " << deadbc1[23] << ", " <<
322  deadbc1[24] << ", " << deadbc1[25] << ", " << deadbc1[26] << ", " << deadbc1[27] << ", " <<
323  deadbc1[28] << ", " << deadbc1[29] << ", " << deadbc1[30] << ", " << deadbc1[31] << "};");
324  ATH_MSG_INFO (" Dead straws BC layer 2");
325  ATH_MSG_INFO ( "deadbc2[]= { " << deadbc2[0] << ", " << deadbc2[1] << ", " << deadbc2[2] << ", " << deadbc2[3] << ", " <<
326  deadbc2[4] << ", " << deadbc2[5] << ", " << deadbc2[6] << ", " << deadbc2[7] << ", " <<
327  deadbc2[8] << ", " << deadbc2[9] << ", " << deadbc2[10] << ", " << deadbc2[11] << ", " <<
328  deadbc2[12] << ", " << deadbc2[13] << ", " << deadbc2[14] << ", " << deadbc2[15] << ", " <<
329  deadbc2[16] << ", " << deadbc2[17] << ", " << deadbc2[18] << ", " << deadbc2[19] << ", " <<
330  deadbc2[20] << ", " << deadbc2[21] << ", " << deadbc2[22] << ", " << deadbc2[23] << ", " <<
331  deadbc2[24] << ", " << deadbc2[25] << ", " << deadbc2[26] << ", " << deadbc2[27] << ", " <<
332  deadbc2[28] << ", " << deadbc2[29] << ", " << deadbc2[30] << ", " << deadbc2[31] << "}; ");
333 
334  ATH_MSG_INFO (" Dead straws EA" );
335  ATH_MSG_INFO ("deadea[] = { " << deadea[0] << ", " << deadea[1] << ", " << deadea[2] << ", " << deadea[3] << ", " <<
336  deadea[4] << ", " << deadea[5] << ", " << deadea[6] << ", " << deadea[7] << ", " <<
337  deadea[8] << ", " << deadea[9] << ", " << deadea[10] << ", " << deadea[11] << ", " <<
338  deadea[12] << ", " << deadea[13] << "}; ");
339  ATH_MSG_INFO (" Dead straws EC" );
340  ATH_MSG_INFO ("deadec[] = { " << deadec[0] << ", " << deadec[1] << ", " << deadec[2] << ", " << deadec[3] << ", " <<
341  deadec[4] << ", " << deadec[5] << ", " << deadec[6] << ", " << deadec[7] << ", " <<
342  deadec[8] << ", " << deadec[9] << ", " << deadec[10] << ", " << deadec[11] << ", " <<
343  deadec[12] << ", " << deadec[13] << "}; " );
344  ATH_MSG_INFO("Number of good layers or wheels: " << ngood);
345  }
346 
347 
348  return StatusCode::SUCCESS ;
349 }
350 
351 
353 
355  const StrawStatusContainer* strawstatuscontainer = *rtc;
356  return strawstatuscontainer;
357 }
358 
359 
361 
363  const StrawStatusContainer* strawstatuscontainer = *rtc;
364  return strawstatuscontainer;
365 }
366 
367 
369 
371  const StrawStatusContainer* strawstatuscontainer = *rtc;
372  return strawstatuscontainer;
373 }
374 
python.PyKernel.retrieve
def retrieve(aClass, aKey=None)
Definition: PyKernel.py:110
TRT::Hit::straw
@ straw
Definition: HitInfo.h:82
TRT_ID::straw_max
int straw_max(const Identifier &id) const
Definition: TRT_ID.cxx:996
TRTStrawStatusRead::m_setup
bool m_setup
Definition: TRTStrawStatusRead.h:48
SG::ReadCondHandle
Definition: ReadCondHandle.h:44
ATH_MSG_INFO
#define ATH_MSG_INFO(x)
Definition: AthMsgStreamMacros.h:31
TRT_DetectorManager.h
CaloCellPos2Ntuple.int
int
Definition: CaloCellPos2Ntuple.py:24
TRTCond::StrawStatusMultChanContainer
Definition: StrawStatusMultChanContainer.h:19
ParticleGun_SamplingFraction.bec
int bec
Definition: ParticleGun_SamplingFraction.py:89
AthCommonDataStore< AthCommonMsg< Algorithm > >::declareProperty
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
Definition: AthCommonDataStore.h:145
skel.it
it
Definition: skel.GENtoEVGEN.py:396
ExpandedIdentifier.h
TRTStrawStatusRead::m_printfolder
std::string m_printfolder
Definition: TRTStrawStatusRead.h:57
TRTCond::StrawStatus::Dead
@ Dead
Definition: StrawStatus.h:18
StrawStatusMultChanContainer.h
TRT_ID::straw_layer_end
const_id_iterator straw_layer_end(void) const
Definition: TRT_ID.h:961
ReadCondHandle.h
TRTCond::NestedContainerBase< NestingLevel, NestedContainer< NestingLevel+1, StrawStatus, DeadStrawTrait >, StrawStatus, DeadStrawTrait >::FlatContainer
std::vector< std::pair< ExpandedIdentifier, const StrawStatus * > > FlatContainer
fill vector with all entries in the container. needed to dump to Peter's flat file format
Definition: NestedContainer.h:346
AthenaPoolTestRead.sc
sc
Definition: AthenaPoolTestRead.py:27
python.iconfTool.models.loaders.level
level
Definition: loaders.py:20
AthCommonDataStore< AthCommonMsg< Algorithm > >::detStore
const ServiceHandle< StoreGateSvc > & detStore() const
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
Definition: AthCommonDataStore.h:95
IAthenaOutputStreamTool.h
Interface to an output stream tool.
TRTStrawStatusRead::initialize
virtual StatusCode initialize() override
Definition: TRTStrawStatusRead.cxx:42
TRTStrawStatusRead::m_status
ToolHandle< ITRT_StrawStatusSummaryTool > m_status
Definition: TRTStrawStatusRead.h:50
TRT_ID::straw
int straw(const Identifier &id) const
Definition: TRT_ID.h:902
ATH_MSG_ERROR
#define ATH_MSG_ERROR(x)
Definition: AthMsgStreamMacros.h:33
lumiFormat.i
int i
Definition: lumiFormat.py:85
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ATH_CHECK
#define ATH_CHECK
Definition: AthCheckMacros.h:40
TRTStrawStatusRead::TRTStrawStatusRead
TRTStrawStatusRead(const std::string &name, ISvcLocator *pSvcLocator)
Definition: TRTStrawStatusRead.cxx:28
TRT_ID::barrel_ec
int barrel_ec(const Identifier &id) const
Values of different levels (failure returns 0)
Definition: TRT_ID.h:866
TRTStrawStatusRead::getStrawStatusHTContainer
virtual const StrawStatusContainer * getStrawStatusHTContainer() const
Definition: TRTStrawStatusRead.cxx:368
TRT_ID::straw_layer
int straw_layer(const Identifier &id) const
Definition: TRT_ID.h:893
TRT_ID::layer_or_wheel
int layer_or_wheel(const Identifier &id) const
Definition: TRT_ID.h:884
beamspotman.stat
stat
Definition: beamspotman.py:266
AthAlgorithm
Definition: AthAlgorithm.h:47
TRTCond::StrawStatus::Good
@ Good
Definition: StrawStatus.h:18
TRT_BaseElement.h
TRTStrawStatusRead::getStrawStatusContainer
virtual const StrawStatusContainer * getStrawStatusContainer() const
Definition: TRTStrawStatusRead.cxx:352
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
TRTCond::StrawStatus
Definition: StrawStatus.h:13
TRT_ID::phi_module
int phi_module(const Identifier &id) const
Definition: TRT_ID.h:875
TRTStrawStatusRead::finalize
virtual StatusCode finalize() override
Definition: TRTStrawStatusRead.cxx:82
TRTStrawStatusRead::execute
virtual StatusCode execute() override
Definition: TRTStrawStatusRead.cxx:62
DeMoScan.index
string index
Definition: DeMoScan.py:364
TRTCond::MultChanContainer::getall
void getall(typename DaughterContainer::FlatContainer &entries) const
get a flat vector with all values.
Definition: MultChanContainer.h:336
CaloCellTimeCorrFiller.filename
filename
Definition: CaloCellTimeCorrFiller.py:24
TRTStrawStatusRead::writeToTextFile
virtual StatusCode writeToTextFile(const std::string &filename)
Definition: TRTStrawStatusRead.cxx:91
TRTStrawStatusRead.h
merge.status
status
Definition: merge.py:17
TRT_ID::straw_layer_begin
const_id_iterator straw_layer_begin(void) const
Iterators over full set of straw_layer ids. Straw_layer ids are sorted.
Definition: TRT_ID.h:953
TRTStrawStatusRead::m_permReadKey
SG::ReadCondHandleKey< StrawStatusContainer > m_permReadKey
Definition: TRTStrawStatusRead.h:53
TRTCond::ExpandedIdentifier
Identifier for TRT detector elements in the conditions code.
Definition: InnerDetector/InDetConditions/TRT_ConditionsData/TRT_ConditionsData/ExpandedIdentifier.h:30
PrepareReferenceFile.outfile
outfile
Definition: PrepareReferenceFile.py:42
TRTStrawStatusRead::m_statHTReadKey
SG::ReadCondHandleKey< StrawStatusContainer > m_statHTReadKey
Definition: TRTStrawStatusRead.h:54
TRTStrawStatusRead::m_trtid
const TRT_ID * m_trtid
trt id helper
Definition: TRTStrawStatusRead.h:49
TRT_ID::straw_id
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:
Definition: TRT_ID.h:581
TRTStrawStatusRead::getStrawStatusPermanentContainer
virtual const StrawStatusContainer * getStrawStatusPermanentContainer() const
Definition: TRTStrawStatusRead.cxx:360
Identifier
Definition: IdentifierFieldParser.cxx:14
TRTStrawStatusRead::m_statReadKey
SG::ReadCondHandleKey< StrawStatusContainer > m_statReadKey
Definition: TRTStrawStatusRead.h:52