ATLAS Offline Software
TRTCondStoreText.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #include <fstream>
6 #include <iostream>
7 #include <string>
13 
14 
15 
22 TRTCondStoreText::TRTCondStoreText(const std::string& name, ISvcLocator* pSvcLocator)
23  :AthAlgorithm (name, pSvcLocator),
24  m_par_rtcontainerkey("/TRT/Calib/RT"),
25  m_par_errcontainerkey("/TRT/Calib/errors2d"),
26  m_par_slopecontainerkey("/TRT/Calib/slopes"),
27  m_par_t0containerkey("/TRT/Calib/T0"),
28  m_par_caltextfile(""),
29  m_trtid(0),
30  m_streamer("AthenaOutputStreamTool/CondStream1"),
31  m_detstore("DetectorStore",name)
32 
33 {
34  // declare algorithm parameters
35  declareProperty("StreamTool",m_streamer);
36  declareProperty("CalibInputFile",m_par_caltextfile);
37  declareProperty("DetectorStore",m_detstore);
38  declareProperty("RtFolderName",m_par_rtcontainerkey);
39  declareProperty("T0FolderName",m_par_t0containerkey);
40  declareProperty("ErrorSlopeFolderName",m_par_slopecontainerkey);
41  declareProperty("ErrorFolderName",m_par_errcontainerkey);
42 }
43 
45 {}
46 
48 
49 
50  // Get StoreGate access to DetectorStore
51  if (StatusCode::SUCCESS!=m_detstore.retrieve()) {
52  ATH_MSG_FATAL( "Unable to retrieve " << m_detstore.name());
53  return StatusCode::FAILURE;
54  }
55 
56 
57  //
58  // Get ID helper
59  StatusCode sc = detStore()->retrieve(m_trtid,"TRT_ID");
60  if ( sc.isFailure() ) {
61  ATH_MSG_FATAL( "Could not retrieve TRT ID helper." );
62  return sc;
63  }
64 
65 
66  // Format of input text file
67 
68  int format =0;
69  if( m_par_caltextfile != "" ) {
70  ATH_MSG_INFO( " input text file supplied " << m_par_caltextfile);
71  if(StatusCode::SUCCESS!=checkTextFile(m_par_caltextfile, format)) {
72  ATH_MSG_FATAL( "Could not read format of text file" << m_par_caltextfile);
73  return StatusCode::FAILURE ;
74  }
75  ATH_MSG_INFO( " Found format " << format << " in text file " << m_par_caltextfile);
76  } else {
77  ATH_MSG_FATAL( " No input text file supplied. Nothing can be done. ");
78  return StatusCode::FAILURE;
79  }
80 
81  ATH_MSG_INFO( " Read calibration constants from text file " << m_par_caltextfile);
82  if(StatusCode::SUCCESS!=readTextFile(m_par_caltextfile, format)) {
83  ATH_MSG_FATAL( "Could not read calibration objects from text file " << m_par_caltextfile);
84  return StatusCode::FAILURE ;
85  }
86 
87 
88  return StatusCode::SUCCESS;
89 }
90 
92 
93  StatusCode sc = StatusCode::SUCCESS;
94  return sc;
95 }
96 
98 
99  StatusCode sc = StatusCode::SUCCESS;
100  return sc;
101 }
102 
104 {
105 
106  StatusCode sc=StatusCode::SUCCESS ;
107  std::ifstream infile(filename.c_str()) ;
108  if(!infile) {
109  ATH_MSG_ERROR( "Cannot find input file " << filename ) ;
110  sc=StatusCode::FAILURE;
111  } else {
112  // read the format tag. if none, default to 0
113  format = 0 ;
114  char line[512] ;
115  infile.getline(line,512) ;
116  std::string linestring(line) ;
117  size_t pos = linestring.find("Fileformat") ;
118  if(pos != std::string::npos) {
119  sscanf(line,"# Fileformat=%d",&format) ;
120  } else {
121  ATH_MSG_WARNING( "Input file has no Fileformat identifier. Assuming format=0.");
122  // 'rewind' the file
123 
124  infile.close() ;
125  infile.open(filename.c_str()) ;
126  }
127  }
128  infile.close() ;
129  return sc ;
130 }
131 
133 {
134 
135  StatusCode sc=StatusCode::SUCCESS ;
136  std::ifstream infile(filename.c_str()) ;
137  if(!infile) {
138  ATH_MSG_ERROR( "Cannot find input file " << filename ) ;
139  } else {
140  // read the format tag. if none, default to 0
141  format = 0 ;
142  char line[512] ;
143  infile.getline(line,512) ;
144  std::string linestring(line) ;
145  size_t pos = linestring.find("Fileformat") ;
146  if(pos != std::string::npos) {
147  sscanf(line,"# Fileformat=%d",&format) ;
148  } else {
149  ATH_MSG_WARNING( "Input file has no Fileformat identifier. Assuming format=1");
150  // 'rewind' the file
151 
152  infile.close() ;
153  infile.open(filename.c_str()) ;
154  }
155  ATH_MSG_INFO( "Reading calibration data from text file " << filename << " format " << format ) ;
156  switch(format) {
157  case 1: sc=readTextFile_Format1(infile) ; break ;
158  case 2: sc=readTextFile_Format2(infile) ; break ;
159  case 3: sc=readTextFile_Format3(infile) ; break ;
161  }
162  }
163  infile.close() ;
164 
165  return sc ;
166 }
167 
168 
170 {
171 
172 
173  enum ReadMode { ReadingRtRelation, ReadingStrawT0, ReadingGarbage } ;
174  ReadMode readmode =ReadingGarbage ;
175 
176  // The OutputConditionAlg only works with old-style conditions access, so create raw pointers here.
177 
180 
181  char line[512] ;
182  int nrtrelations(0), nstrawt0(0) ;
183  while( infile.getline(line,512) ) {
184  if(line[0] == '#') {
185  // line with tag
186  std::string linestring(line) ;
187  if(linestring.find("RtRelation") != std::string::npos) {
188  readmode = ReadingRtRelation ;
189  ATH_MSG_INFO(" Found line with Rt tag ");
190 
191  } else if (linestring.find("StrawT0") != std::string::npos) {
192  readmode = ReadingStrawT0 ;
193  ATH_MSG_INFO(" Found line with T0 tag ");
194 
195  }else readmode = ReadingGarbage ;
196  } else if( readmode != ReadingGarbage) {
197  std::istringstream is(line) ;
198  // read the id
200  is >> id ;
201  // read the semicolon that end the id
202  char dummy ;
203  is >> dummy ;
204 
205  // read the object
206  if( readmode == ReadingRtRelation ) {
207 
208 
210  rtContainer->set( id,rt);
211  delete rt ;
212  ++nrtrelations ;
213  } else if( readmode == ReadingStrawT0 ) {
214 
215  float t0(0), t0err(0) ;
216  is >> t0 >> t0err;
217 
218  //skip straws with t0=0. The
219  if(t0==0) continue;
220 
221  t0Container->setT0( id, t0, t0err );
222  //debug
223  //id.print();
224  //std::cout << " t0 " << t0 << " t0err " << t0err << std::endl;
225  ++nstrawt0 ;
226  }
227  }
228  }
229 
230  // Check that containers were filled
231 
232  size_t t0footprint = t0Container->footprint() ;
233  size_t rtfootprint = rtContainer->footprint() ;
234 
235 
236  ATH_MSG_INFO( "read " << nstrawt0 << " t0 and " << nrtrelations << " rt from file. "
237  << " t0/rt footprints " << t0footprint << " / " << rtfootprint ) ;
238 
239 
240  //Record the containers the old way for the OutputConditionsAlg
241 
242  if(t0Container->initialize().isFailure()) ATH_MSG_WARNING("Could not initialize T0 Container for key " << m_par_t0containerkey);
243  ATH_MSG_INFO(" Recording T0 container ");
244  if( (m_detstore->record(t0Container,m_par_t0containerkey))!=StatusCode::SUCCESS ) {
245  ATH_MSG_ERROR("Could not record T0 container for key " << m_par_t0containerkey << " with DetStore ");
246  return StatusCode::FAILURE;
247  } else {
248  if(StatusCode::SUCCESS!=m_detstore->retrieve(t0Container,m_par_t0containerkey)) {
249  ATH_MSG_FATAL( "Could not retrieve data handle for StrawT0Container " );
250  return StatusCode::FAILURE ;
251  } else {
252  ATH_MSG_INFO("Successfully recorded T0 Container " << m_par_t0containerkey << " with DetStore ");
253  }
254  }
255 
256 
257  ATH_MSG_INFO(" Recording RT container ");
258  if( (m_detstore->record(rtContainer,m_par_rtcontainerkey))!=StatusCode::SUCCESS ) {
259  ATH_MSG_ERROR("Could not record RT container for key " << m_par_rtcontainerkey << " with DetStore ");
260  return StatusCode::FAILURE;
261  } else {
262  if(StatusCode::SUCCESS!=m_detstore->retrieve(rtContainer,m_par_rtcontainerkey)) {
263  ATH_MSG_FATAL( "Could not retrieve data handle for RtRelationContainer " );
264  return StatusCode::FAILURE ;
265  } else {
266  ATH_MSG_INFO("Successfully recorded RT Container " << m_par_rtcontainerkey << " with DetStore ");
267  }
268  }
269 
270 
271  return StatusCode::SUCCESS ;
272 }
273 
275 {
276 
277 
278  enum ReadMode { ReadingRtRelation, ReadingErrors, ReadingStrawT0, ReadingGarbage } ;
279  ReadMode readmode =ReadingGarbage ;
280  char line[512] ;
281  int nrtrelations(0), nerrors(0), nstrawt0(0) ;
282 
283  // The OutputConditionAlg only works with old-style access, so create a raw pointer.
287 
288 
289  while( infile.getline(line,512) ) {
290  if(line[0] == '#') {
291  // line with tag
292  std::string linestring(line) ;
293  if( linestring.find("RtRelation") != std::string::npos) {
294  readmode = ReadingRtRelation ;
295  ATH_MSG_INFO(" Found line with Rt tag ");
296  rtContainer->clear() ;
297  } else if(linestring.find("StrawT0") != std::string::npos) {
298  readmode = ReadingStrawT0 ;
299  ATH_MSG_INFO(" Found line with T0 tag ");
300  t0Container->clear() ;
301  } else if(linestring.find("RtErrors") != std::string::npos) {
302  readmode = ReadingErrors ;
303  ATH_MSG_INFO(" Found line with Error tag ");
304  errContainer->clear() ;
305  } else { readmode = ReadingGarbage ; }
306  } else if( readmode != ReadingGarbage) {
307  std::istringstream is(line) ;
308  // read the id
310  is >> id ;
311  // read the semicolon that end the id
312  char dummy ;
313  is >> dummy ;
314  // read the object
315  if( readmode == ReadingRtRelation ) {
316 
318  rtContainer->set( id,rt);
319  delete rt ;
320  ++nrtrelations ;
321 
322  } else if( readmode == ReadingErrors ) {
323 
325  errContainer->set( id,err);
326  delete err ;
327  ++nerrors ;
328 
329  } else if( readmode == ReadingStrawT0 ) {
330 
331  float t0(0), t0err(0) ;
332  is >> t0 >> t0err ;
333  t0Container->setT0( id, t0, t0err );
334 
335  ++nstrawt0 ;
336  }
337  }
338  }
339 
340  size_t t0footprint = t0Container->footprint() ;
341  size_t rtfootprint = rtContainer->footprint() ;
342  size_t errfootprint = errContainer->footprint() ;
343 
344  ATH_MSG_INFO( "read " << nstrawt0 << " t0 and " << nerrors << " errors and " << nrtrelations << " rt relations "
345  << " t0/rt/err footprints " << t0footprint << " / " << rtfootprint << " / " << errfootprint ) ;
346 
347  //Record the containers the old way for the OutputConditionsAlg
348  if(t0Container->initialize().isFailure()) ATH_MSG_WARNING("Could not initialize T0 Container for key " << m_par_t0containerkey);
349  ATH_MSG_INFO(" Recording T0 container ");
350  if( (m_detstore->record(t0Container,m_par_t0containerkey))!=StatusCode::SUCCESS ) {
351  ATH_MSG_ERROR("Could not record T0 container for key " << m_par_t0containerkey << " with DetStore ");
352  return StatusCode::FAILURE;
353  } else {
354  if(StatusCode::SUCCESS!=m_detstore->retrieve(t0Container,m_par_t0containerkey)) {
355  ATH_MSG_FATAL( "Could not retrieve data handle for StrawT0Container " );
356  return StatusCode::FAILURE ;
357  } else {
358  ATH_MSG_INFO("Successfully recorded T0 Container " << m_par_t0containerkey << " with DetStore ");
359  }
360  }
361 
362 
363  ATH_MSG_INFO(" Recording RT container ");
364  if( (m_detstore->record(rtContainer,m_par_rtcontainerkey))!=StatusCode::SUCCESS ) {
365  ATH_MSG_ERROR("Could not record RT container for key " << m_par_rtcontainerkey << " with DetStore ");
366  return StatusCode::FAILURE;
367  } else {
368  if(StatusCode::SUCCESS!=m_detstore->retrieve(rtContainer,m_par_rtcontainerkey)) {
369  ATH_MSG_FATAL( "Could not retrieve data handle for RtRelationContainer " );
370  return StatusCode::FAILURE ;
371  } else {
372  ATH_MSG_INFO("Successfully recorded RT Container " << m_par_rtcontainerkey << " with DetStore ");
373  }
374  }
375 
376  ATH_MSG_INFO(" Recording Error container ");
377  if( (m_detstore->record(errContainer,m_par_errcontainerkey))!=StatusCode::SUCCESS ) {
378  ATH_MSG_ERROR("Could not record Error container for key " << m_par_errcontainerkey << " with DetStore ");
379  return StatusCode::FAILURE;
380  } else {
381  if(StatusCode::SUCCESS!=m_detstore->retrieve(errContainer,m_par_errcontainerkey)) {
382  ATH_MSG_FATAL( "Could not retrieve data handle for RtRelationContainer " );
383  return StatusCode::FAILURE ;
384  } else {
385  ATH_MSG_INFO("Successfully recorded Error Container " << m_par_errcontainerkey << " with DetStore ");
386  }
387  }
388 
389  return StatusCode::SUCCESS ;
390 }
391 
392 
394 {
395 
396  // The OutputConditionAlg only works with old-style access, so create a raw pointer.
401 
402 
403  enum ReadMode { ReadingRtRelation, ReadingErrors, ReadingSlopes, ReadingStrawT0, ReadingGarbage } ;
404  ReadMode readmode =ReadingGarbage ;
405  char line[512] ;
406  int nrtrelations(0), nerrors(0), nslopes(0), nstrawt0(0) ;
407 
408  while( infile.getline(line,512) ) {
409  if(line[0] == '#') {
410  // line with tag
411  std::string linestring(line) ;
412  if( linestring.find("RtRelation") != std::string::npos) {
413  readmode = ReadingRtRelation ;
414  rtContainer->clear() ;
415  ATH_MSG_INFO(" Found line with Rt tag ");
416  } else if(linestring.find("RtErrors") != std::string::npos) {
417  readmode = ReadingErrors ;
418  errContainer->clear() ;
419  ATH_MSG_INFO(" Found line with Error tag ");
420  } else if(linestring.find("RtSlopes") != std::string::npos) {
421  readmode = ReadingSlopes ;
422  slopeContainer->clear() ;
423  ATH_MSG_INFO(" Found line with Slope tag ");
424  } else if(linestring.find("StrawT0") != std::string::npos) {
425  readmode = ReadingStrawT0 ;
426  t0Container->clear() ;
427  ATH_MSG_INFO(" Found line with T0 tag ");
428  } else { readmode = ReadingGarbage ; }
429  } else if( readmode != ReadingGarbage) {
430  std::istringstream is(line) ;
431  // read the id
433  is >> id ;
434  // read the semicolon that end the id
435  char dummy ;
436  is >> dummy ;
437  // read the object
438  if( readmode == ReadingRtRelation ) {
439 
441  rtContainer->set( id,rt);
442  delete rt ;
443  ++nrtrelations ;
444 
445  } else if( readmode == ReadingErrors ) {
446 
448  errContainer->set( id,err);
449  delete err ;
450  ++nerrors ;
451 
452  } else if( readmode == ReadingSlopes ) {
453 
455  slopeContainer->set( id,slope);
456  delete slope ;
457  ++nslopes ;
458 
459  } else if( readmode == ReadingStrawT0 ) {
460 
461  float t0(0), t0err(0) ;
462  is >> t0 >> t0err ;
463  t0Container->setT0( id, t0, t0err );
464  ++nstrawt0 ;
465  }
466  }
467  }
468 
469  size_t t0footprint = t0Container->footprint() ;
470  size_t rtfootprint = rtContainer->footprint() ;
471  size_t errfootprint = errContainer->footprint() ;
472  size_t slopefootprint = slopeContainer->footprint() ;
473 
474  ATH_MSG_INFO( "read " << nstrawt0 << " t0 and " << nerrors << " errors and " << nrtrelations << " rt relations and " << nslopes << " error slopes "
475  << " t0/rt/err/slope footprints " << t0footprint << " / " << rtfootprint << " / " << errfootprint << " / " << slopefootprint) ;
476 
477 
478  //Record the containers the old way for the OutputConditionsAlg
479  if(t0Container->initialize().isFailure()) ATH_MSG_WARNING("Could not initialize T0 Container for key " << m_par_t0containerkey);
480  ATH_MSG_INFO(" Recording T0 container ");
481  if( (m_detstore->record(t0Container,m_par_t0containerkey))!=StatusCode::SUCCESS ) {
482  ATH_MSG_ERROR("Could not record T0 container for key " << m_par_t0containerkey << " with DetStore ");
483  return StatusCode::FAILURE;
484  } else {
485  if(StatusCode::SUCCESS!=m_detstore->retrieve(t0Container,m_par_t0containerkey)) {
486  ATH_MSG_FATAL( "Could not retrieve data handle for StrawT0Container " );
487  return StatusCode::FAILURE ;
488  } else {
489  ATH_MSG_INFO("Successfully recorded T0 Container " << m_par_t0containerkey << " with DetStore ");
490  }
491  }
492 
493 
494  ATH_MSG_INFO(" Recording RT container ");
495  if( (m_detstore->record(rtContainer,m_par_rtcontainerkey))!=StatusCode::SUCCESS ) {
496  ATH_MSG_ERROR("Could not record RT container for key " << m_par_rtcontainerkey << " with DetStore ");
497  return StatusCode::FAILURE;
498  } else {
499  if(StatusCode::SUCCESS!=m_detstore->retrieve(rtContainer,m_par_rtcontainerkey)) {
500  ATH_MSG_FATAL( "Could not retrieve data handle for RtRelationContainer " );
501  return StatusCode::FAILURE ;
502  } else {
503  ATH_MSG_INFO("Successfully recorded RT Container " << m_par_rtcontainerkey << " with DetStore ");
504  }
505  }
506 
507  ATH_MSG_INFO(" Recording Error container ");
508  if( (m_detstore->record(errContainer,m_par_errcontainerkey))!=StatusCode::SUCCESS ) {
509  ATH_MSG_ERROR("Could not record Error container for key " << m_par_errcontainerkey << " with DetStore ");
510  return StatusCode::FAILURE;
511  } else {
512  if(StatusCode::SUCCESS!=m_detstore->retrieve(errContainer,m_par_errcontainerkey)) {
513  ATH_MSG_FATAL( "Could not retrieve data handle for RtRelationContainer " );
514  return StatusCode::FAILURE ;
515  } else {
516  ATH_MSG_INFO("Successfully recorded Error Container " << m_par_errcontainerkey << " with DetStore ");
517  }
518  }
519 
520  ATH_MSG_INFO(" Recording Slope container ");
521  if( (m_detstore->record(slopeContainer,m_par_slopecontainerkey))!=StatusCode::SUCCESS ) {
522  ATH_MSG_ERROR("Could not record Slope container for key " << m_par_slopecontainerkey << " with DetStore ");
523  return StatusCode::FAILURE;
524  } else {
525  if(StatusCode::SUCCESS!=m_detstore->retrieve(slopeContainer,m_par_slopecontainerkey)) {
526  ATH_MSG_FATAL( "Could not retrieve data handle for RtRelationContainer " );
527  return StatusCode::FAILURE ;
528  } else {
529  ATH_MSG_INFO("Successfully recorded Slope Container " << m_par_slopecontainerkey << " with DetStore ");
530  }
531  }
532 
533 
534  return StatusCode::SUCCESS ;
535 }
536 
537 
539 {
542  m_trtid->straw(id),level ) ;
543 }
544 
545 
546 
547 
548 
TRTCondStoreText::checkTextFile
virtual StatusCode checkTextFile(const std::string &file, int &format)
read calibration from text file into TDS
Definition: TRTCondStoreText.cxx:103
TRTCondStoreText::m_par_caltextfile
std::string m_par_caltextfile
calibration text file specified in jobOptions
Definition: TRTCondStoreText.h:62
ATH_MSG_FATAL
#define ATH_MSG_FATAL(x)
Definition: AthMsgStreamMacros.h:34
checkFileSG.line
line
Definition: checkFileSG.py:75
DinesRtRelation.h
TRTCondStoreText::finalize
virtual StatusCode finalize(void) override
Definition: TRTCondStoreText.cxx:97
TRTCondStoreText::~TRTCondStoreText
~TRTCondStoreText()
destructor
Definition: TRTCondStoreText.cxx:44
TRTCondStoreText::m_par_t0containerkey
std::string m_par_t0containerkey
Definition: TRTCondStoreText.h:61
run.infile
string infile
Definition: run.py:13
vtune_athena.format
format
Definition: vtune_athena.py:14
ATH_MSG_INFO
#define ATH_MSG_INFO(x)
Definition: AthMsgStreamMacros.h:31
TRTCondStoreText::m_par_slopecontainerkey
std::string m_par_slopecontainerkey
Definition: TRTCondStoreText.h:60
TRTCond::MultChanContainer::set
void set(const ExpandedIdentifier &id, const typename DaughterContainer::value_type &t)
set a value
Definition: MultChanContainer.h:219
AthCommonDataStore< AthCommonMsg< Algorithm > >::declareProperty
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
Definition: AthCommonDataStore.h:145
TRTCond::StrawT0MultChanContainer::setT0
void setT0(const ExpandedIdentifier &id, float t0, float t0err)
set t0
Definition: StrawT0MultChanContainer.h:55
TRTCondStoreText::m_par_errcontainerkey
std::string m_par_errcontainerkey
Definition: TRTCondStoreText.h:59
ALFA_EventTPCnv_Dict::t0
std::vector< ALFA_RawData_p1 > t0
Definition: ALFA_EventTPCnvDict.h:42
TRTCondStoreText::readTextFile_Format3
virtual StatusCode readTextFile_Format3(std::istream &)
Definition: TRTCondStoreText.cxx:393
TRTCond::MultChanContainer::clear
void clear()
clear all layercontainers
Definition: MultChanContainer.h:303
TRTCondStoreText::TRTCondStoreText
TRTCondStoreText(const std::string &name, ISvcLocator *pSvcLocator)
constructor
Definition: TRTCondStoreText.cxx:22
TRTCondStoreText::initialize
virtual StatusCode initialize(void) override
Definition: TRTCondStoreText.cxx:47
BasicRtRelation.h
TRTCondStoreText::execute
virtual StatusCode execute(void) override
Definition: TRTCondStoreText.cxx:91
AthenaPoolTestRead.sc
sc
Definition: AthenaPoolTestRead.py:27
TRTCondStoreText.h
Algorithm to read TRT Conditions objects from text file and stream them to db.
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
TRTCond::RtRelation
Definition: RtRelation.h:27
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
dqt_zlumi_pandas.err
err
Definition: dqt_zlumi_pandas.py:193
Identifier
Definition: DetectorDescription/Identifier/Identifier/Identifier.h:32
TRTCond::RtRelationFactory::readFromFile
static RtRelation * readFromFile(std::istream &is)
read method
Definition: RtRelationFactory.h:33
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
BinnedRtRelation.h
python.xAODType.dummy
dummy
Definition: xAODType.py:4
TRTCond::MultChanContainer::initialize
StatusCode initialize()
Initialization done after creation or read back - derived classes may augment the functionality.
Definition: MultChanContainer.h:372
TRT_ID::barrel_ec
int barrel_ec(const Identifier &id) const
Values of different levels (failure returns 0)
Definition: TRT_ID.h:866
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
TRTCondStoreText::readTextFile_Format1
virtual StatusCode readTextFile_Format1(std::istream &)
Definition: TRTCondStoreText.cxx:169
AthAlgorithm
Definition: AthAlgorithm.h:47
TRTCondStoreText::m_streamer
std::string m_streamer
Definition: TRTCondStoreText.h:64
id
SG::auxid_t id
Definition: Control/AthContainers/Root/debug.cxx:194
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
TRT_ID::phi_module
int phi_module(const Identifier &id) const
Definition: TRT_ID.h:875
python.LumiBlobConversion.pos
pos
Definition: LumiBlobConversion.py:18
TRTCondStoreText::m_detstore
ServiceHandle< StoreGateSvc > m_detstore
Definition: TRTCondStoreText.h:65
TRTCondStoreText::readTextFile_Format2
virtual StatusCode readTextFile_Format2(std::istream &)
Definition: TRTCondStoreText.cxx:274
RtRelationFactory.h
TRTCond::MultChanContainer::footprint
size_t footprint() const
return the memory allocated by the layercontainers.
Definition: MultChanContainer.h:311
ATH_MSG_WARNING
#define ATH_MSG_WARNING(x)
Definition: AthMsgStreamMacros.h:32
CaloCellTimeCorrFiller.filename
filename
Definition: CaloCellTimeCorrFiller.py:24
TRTCondStoreText::readTextFile
virtual StatusCode readTextFile(const std::string &file, int &format)
Definition: TRTCondStoreText.cxx:132
python.CaloScaleNoiseConfig.default
default
Definition: CaloScaleNoiseConfig.py:79
TRTCond::ExpandedIdentifier
Identifier for TRT detector elements in the conditions code.
Definition: InnerDetector/InDetConditions/TRT_ConditionsData/TRT_ConditionsData/ExpandedIdentifier.h:30
TRTCondStoreText::m_par_rtcontainerkey
std::string m_par_rtcontainerkey
Definition: TRTCondStoreText.h:58
TRTCond::StrawT0MultChanContainer
Definition: StrawT0MultChanContainer.h:31
TRTCondStoreText::m_trtid
const TRT_ID * m_trtid
trt id helper
Definition: TRTCondStoreText.h:63
TRTCondStoreText::trtcondid
virtual TRTCond::ExpandedIdentifier trtcondid(const Identifier &id, int level=TRTCond::ExpandedIdentifier::STRAW) const
create an TRTCond::ExpandedIdentifier from a TRTID identifier
Definition: TRTCondStoreText.cxx:538
TRTCond::RtRelationMultChanContainer
Definition: RtRelationMultChanContainer.h:29