Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Public Types | Public Member Functions | Protected Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
TRTStrawStatusRead Class Reference

#include <TRTStrawStatusRead.h>

Inheritance diagram for TRTStrawStatusRead:
Collaboration diagram for TRTStrawStatusRead:

Public Types

typedef TRTCond::StrawStatusMultChanContainer StrawStatusContainer
 

Public Member Functions

 TRTStrawStatusRead (const std::string &name, ISvcLocator *pSvcLocator)
 
virtual ~TRTStrawStatusRead ()=default
 
virtual StatusCode initialize () override
 
virtual StatusCode execute () override
 
virtual StatusCode finalize () override
 
virtual StatusCode writeToTextFile (const std::string &filename)
 
virtual const StrawStatusContainergetStrawStatusContainer () const
 
virtual const StrawStatusContainergetStrawStatusPermanentContainer () const
 
virtual const StrawStatusContainergetStrawStatusHTContainer () const
 
virtual StatusCode sysInitialize () override
 Override sysInitialize. More...
 
virtual const DataObjIDColl & extraOutputDeps () const override
 Return the list of extra output dependencies. More...
 
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 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
 

Protected Member Functions

void renounceArray (SG::VarHandleKeyArray &handlesArray)
 remove all handles from I/O resolution More...
 
std::enable_if_t< std::is_void_v< std::result_of_t< decltype(&T::renounce)(T)> > &&!std::is_base_of_v< SG::VarHandleKeyArray, T > &&std::is_base_of_v< Gaudi::DataHandle, T >, void > renounce (T &h)
 
void extraDeps_update_handler (Gaudi::Details::PropertyBase &ExtraDeps)
 Add StoreName to extra input/output deps as needed. More...
 

Private Types

typedef ServiceHandle< StoreGateSvcStoreGateSvc_t
 

Private Member Functions

Gaudi::Details::PropertyBase & declareGaudiProperty (Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
 specialization for handling Gaudi::Property<SG::VarHandleKey> More...
 
Gaudi::Details::PropertyBase & declareGaudiProperty (Gaudi::Property< T > &hndl, const SG::VarHandleKeyArrayType &)
 specialization for handling Gaudi::Property<SG::VarHandleKeyArray> More...
 
Gaudi::Details::PropertyBase & declareGaudiProperty (Gaudi::Property< T > &hndl, const SG::VarHandleType &)
 specialization for handling Gaudi::Property<SG::VarHandleBase> More...
 
Gaudi::Details::PropertyBase & declareGaudiProperty (Gaudi::Property< T > &t, const SG::NotHandleType &)
 specialization for handling everything that's not a Gaudi::Property<SG::VarHandleKey> or a <SG::VarHandleKeyArray> More...
 

Private Attributes

bool m_setup
 
const TRT_IDm_trtid
 trt id helper More...
 
ToolHandle< ITRT_StrawStatusSummaryToolm_status
 
SG::ReadCondHandleKey< StrawStatusContainerm_statReadKey {this,"StatReadKeyName","/TRT/Cond/Status","StrawStatus in-key"}
 
SG::ReadCondHandleKey< StrawStatusContainerm_permReadKey {this,"PermReadKeyName","/TRT/Cond/StatusPermanent","StrawStatusPermanent in-key"}
 
SG::ReadCondHandleKey< StrawStatusContainerm_statHTReadKey {this,"StatHTReadKeyName","/TRT/Cond/StatusHT","StrawStatusHT in-key"}
 
std::string m_printfolder
 
DataObjIDColl m_extendedExtraObjects
 
StoreGateSvc_t m_evtStore
 Pointer to StoreGate (event store by default) More...
 
StoreGateSvc_t m_detStore
 Pointer to StoreGate (detector store by default) More...
 
std::vector< SG::VarHandleKeyArray * > m_vhka
 
bool m_varHandleArraysDeclared
 

Detailed Description

Definition at line 24 of file TRTStrawStatusRead.h.

Member Typedef Documentation

◆ StoreGateSvc_t

typedef ServiceHandle<StoreGateSvc> AthCommonDataStore< AthCommonMsg< Algorithm > >::StoreGateSvc_t
privateinherited

Definition at line 388 of file AthCommonDataStore.h.

◆ StrawStatusContainer

Definition at line 31 of file TRTStrawStatusRead.h.

Constructor & Destructor Documentation

◆ TRTStrawStatusRead()

TRTStrawStatusRead::TRTStrawStatusRead ( const std::string &  name,
ISvcLocator *  pSvcLocator 
)

Definition at line 27 of file TRTStrawStatusRead.cxx.

27  :
28  AthAlgorithm( name, pSvcLocator ),
29  m_setup(false),
30  m_trtid(0),
31  m_status("TRT_StrawStatusSummaryTool",this),
32  m_statReadKey("/TRT/Cond/Status"),
33  m_permReadKey("/TRT/Cond/StatusPermanent"),
34  m_statHTReadKey("/TRT/Cond/StatusHT"),
35  m_printfolder("Status")
36 {
37  declareProperty("FolderToPrint",m_printfolder);
38  declareProperty("SummaryTool",m_status);
39 }

◆ ~TRTStrawStatusRead()

virtual TRTStrawStatusRead::~TRTStrawStatusRead ( )
virtualdefault

Member Function Documentation

◆ declareGaudiProperty() [1/4]

Gaudi::Details::PropertyBase& AthCommonDataStore< AthCommonMsg< Algorithm > >::declareGaudiProperty ( Gaudi::Property< T > &  hndl,
const SG::VarHandleKeyArrayType  
)
inlineprivateinherited

specialization for handling Gaudi::Property<SG::VarHandleKeyArray>

Definition at line 170 of file AthCommonDataStore.h.

172  {
173  return *AthCommonDataStore<PBASE>::declareProperty(hndl.name(),
174  hndl.value(),
175  hndl.documentation());
176 
177  }

◆ declareGaudiProperty() [2/4]

Gaudi::Details::PropertyBase& AthCommonDataStore< AthCommonMsg< Algorithm > >::declareGaudiProperty ( Gaudi::Property< T > &  hndl,
const SG::VarHandleKeyType  
)
inlineprivateinherited

specialization for handling Gaudi::Property<SG::VarHandleKey>

Definition at line 156 of file AthCommonDataStore.h.

158  {
159  return *AthCommonDataStore<PBASE>::declareProperty(hndl.name(),
160  hndl.value(),
161  hndl.documentation());
162 
163  }

◆ declareGaudiProperty() [3/4]

Gaudi::Details::PropertyBase& AthCommonDataStore< AthCommonMsg< Algorithm > >::declareGaudiProperty ( Gaudi::Property< T > &  hndl,
const SG::VarHandleType  
)
inlineprivateinherited

specialization for handling Gaudi::Property<SG::VarHandleBase>

Definition at line 184 of file AthCommonDataStore.h.

186  {
187  return *AthCommonDataStore<PBASE>::declareProperty(hndl.name(),
188  hndl.value(),
189  hndl.documentation());
190  }

◆ declareGaudiProperty() [4/4]

Gaudi::Details::PropertyBase& AthCommonDataStore< AthCommonMsg< Algorithm > >::declareGaudiProperty ( Gaudi::Property< T > &  t,
const SG::NotHandleType  
)
inlineprivateinherited

specialization for handling everything that's not a Gaudi::Property<SG::VarHandleKey> or a <SG::VarHandleKeyArray>

Definition at line 199 of file AthCommonDataStore.h.

200  {
201  return PBASE::declareProperty(t);
202  }

◆ declareProperty() [1/6]

Gaudi::Details::PropertyBase* AthCommonDataStore< AthCommonMsg< Algorithm > >::declareProperty ( const std::string &  name,
SG::VarHandleBase hndl,
const std::string &  doc,
const SG::VarHandleType  
)
inlineinherited

Declare a new Gaudi property.

Parameters
nameName of the property.
hndlObject holding the property value.
docDocumentation 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.

249  {
250  this->declare(hndl.vhKey());
251  hndl.vhKey().setOwner(this);
252 
253  return PBASE::declareProperty(name,hndl,doc);
254  }

◆ declareProperty() [2/6]

Gaudi::Details::PropertyBase* AthCommonDataStore< AthCommonMsg< Algorithm > >::declareProperty ( const std::string &  name,
SG::VarHandleKey hndl,
const std::string &  doc,
const SG::VarHandleKeyType  
)
inlineinherited

Declare a new Gaudi property.

Parameters
nameName of the property.
hndlObject holding the property value.
docDocumentation 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.

225  {
226  this->declare(hndl);
227  hndl.setOwner(this);
228 
229  return PBASE::declareProperty(name,hndl,doc);
230  }

◆ declareProperty() [3/6]

Gaudi::Details::PropertyBase* AthCommonDataStore< AthCommonMsg< Algorithm > >::declareProperty ( const std::string &  name,
SG::VarHandleKeyArray hndArr,
const std::string &  doc,
const SG::VarHandleKeyArrayType  
)
inlineinherited

Definition at line 259 of file AthCommonDataStore.h.

263  {
264 
265  // std::ostringstream ost;
266  // ost << Algorithm::name() << " VHKA declareProp: " << name
267  // << " size: " << hndArr.keys().size()
268  // << " mode: " << hndArr.mode()
269  // << " vhka size: " << m_vhka.size()
270  // << "\n";
271  // debug() << ost.str() << endmsg;
272 
273  hndArr.setOwner(this);
274  m_vhka.push_back(&hndArr);
275 
276  Gaudi::Details::PropertyBase* p = PBASE::declareProperty(name, hndArr, doc);
277  if (p != 0) {
278  p->declareUpdateHandler(&AthCommonDataStore<PBASE>::updateVHKA, this);
279  } else {
280  ATH_MSG_ERROR("unable to call declareProperty on VarHandleKeyArray "
281  << name);
282  }
283 
284  return p;
285 
286  }

◆ declareProperty() [4/6]

Gaudi::Details::PropertyBase* AthCommonDataStore< AthCommonMsg< Algorithm > >::declareProperty ( const std::string &  name,
T &  property,
const std::string &  doc,
const SG::NotHandleType  
)
inlineinherited

Declare a new Gaudi property.

Parameters
nameName of the property.
propertyObject holding the property value.
docDocumentation 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.

337  {
338  return PBASE::declareProperty(name, property, doc);
339  }

◆ declareProperty() [5/6]

Gaudi::Details::PropertyBase* AthCommonDataStore< AthCommonMsg< Algorithm > >::declareProperty ( const std::string &  name,
T &  property,
const std::string &  doc = "none" 
)
inlineinherited

Declare a new Gaudi property.

Parameters
nameName of the property.
propertyObject holding the property value.
docDocumentation 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.

355  {
356  typedef typename SG::HandleClassifier<T>::type htype;
357  return declareProperty (name, property, doc, htype());
358  }

◆ declareProperty() [6/6]

Gaudi::Details::PropertyBase& AthCommonDataStore< AthCommonMsg< Algorithm > >::declareProperty ( Gaudi::Property< T > &  t)
inlineinherited

Definition at line 145 of file AthCommonDataStore.h.

145  {
146  typedef typename SG::HandleClassifier<T>::type htype;
148  }

◆ detStore()

const ServiceHandle<StoreGateSvc>& AthCommonDataStore< AthCommonMsg< Algorithm > >::detStore ( ) const
inlineinherited

The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.

Definition at line 95 of file AthCommonDataStore.h.

95 { return m_detStore; }

◆ evtStore() [1/2]

ServiceHandle<StoreGateSvc>& AthCommonDataStore< AthCommonMsg< Algorithm > >::evtStore ( )
inlineinherited

The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.

Definition at line 85 of file AthCommonDataStore.h.

85 { return m_evtStore; }

◆ evtStore() [2/2]

const ServiceHandle<StoreGateSvc>& AthCommonDataStore< AthCommonMsg< Algorithm > >::evtStore ( ) const
inlineinherited

The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.

Definition at line 90 of file AthCommonDataStore.h.

90 { return m_evtStore; }

◆ execute()

StatusCode TRTStrawStatusRead::execute ( )
overridevirtual

Definition at line 61 of file TRTStrawStatusRead.cxx.

62 {
63 
64  StatusCode sc = StatusCode::SUCCESS;
65  if(!m_setup) {
66 
67 
68 
69  ATH_MSG_INFO(" Dump the Straw Status to text file:");
70  sc = writeToTextFile("StrawStatusDump_Writer.txt");
71  if (sc.isFailure()) {
72  ATH_MSG_ERROR(" Error writing the text file");
73  }
74 
75  m_setup=true;
76  }
77 
78  return sc;
79 }

◆ extraDeps_update_handler()

void AthCommonDataStore< AthCommonMsg< Algorithm > >::extraDeps_update_handler ( Gaudi::Details::PropertyBase &  ExtraDeps)
protectedinherited

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

◆ extraOutputDeps()

const DataObjIDColl & AthAlgorithm::extraOutputDeps ( ) const
overridevirtualinherited

Return the list of extra output dependencies.

This list is extended to include symlinks implied by inheritance relations.

Definition at line 50 of file AthAlgorithm.cxx.

51 {
52  // If we didn't find any symlinks to add, just return the collection
53  // from the base class. Otherwise, return the extended collection.
54  if (!m_extendedExtraObjects.empty()) {
56  }
57  return Algorithm::extraOutputDeps();
58 }

◆ finalize()

StatusCode TRTStrawStatusRead::finalize ( )
overridevirtual

Definition at line 81 of file TRTStrawStatusRead.cxx.

82 {
83  return StatusCode::SUCCESS;
84 }

◆ getStrawStatusContainer()

const TRTStrawStatusRead::StrawStatusContainer * TRTStrawStatusRead::getStrawStatusContainer ( ) const
virtual

Definition at line 351 of file TRTStrawStatusRead.cxx.

351  {
352 
354  const StrawStatusContainer* strawstatuscontainer = *rtc;
355  return strawstatuscontainer;
356 }

◆ getStrawStatusHTContainer()

const TRTStrawStatusRead::StrawStatusContainer * TRTStrawStatusRead::getStrawStatusHTContainer ( ) const
virtual

Definition at line 367 of file TRTStrawStatusRead.cxx.

367  {
368 
370  const StrawStatusContainer* strawstatuscontainer = *rtc;
371  return strawstatuscontainer;
372 }

◆ getStrawStatusPermanentContainer()

const TRTStrawStatusRead::StrawStatusContainer * TRTStrawStatusRead::getStrawStatusPermanentContainer ( ) const
virtual

Definition at line 359 of file TRTStrawStatusRead.cxx.

359  {
360 
362  const StrawStatusContainer* strawstatuscontainer = *rtc;
363  return strawstatuscontainer;
364 }

◆ initialize()

StatusCode TRTStrawStatusRead::initialize ( )
overridevirtual

Definition at line 41 of file TRTStrawStatusRead.cxx.

42 {
43 
44  //
45  // Get ID helper
46  ATH_CHECK( detStore()->retrieve(m_trtid,"TRT_ID") );
47 
48  //
49  // Get tool
50  ATH_CHECK( m_status.retrieve() );
51 
52  // Read keys
53 
54  ATH_CHECK( m_statReadKey.initialize( ) );
55  ATH_CHECK( m_permReadKey.initialize( ) );
56  ATH_CHECK( m_statHTReadKey.initialize( ) );
57 
58  return StatusCode::SUCCESS;
59 }

◆ inputHandles()

virtual std::vector<Gaudi::DataHandle*> AthCommonDataStore< AthCommonMsg< Algorithm > >::inputHandles ( ) const
overridevirtualinherited

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.

◆ msg() [1/2]

MsgStream& AthCommonMsg< Algorithm >::msg ( ) const
inlineinherited

Definition at line 24 of file AthCommonMsg.h.

24  {
25  return this->msgStream();
26  }

◆ msg() [2/2]

MsgStream& AthCommonMsg< Algorithm >::msg ( const MSG::Level  lvl) const
inlineinherited

Definition at line 27 of file AthCommonMsg.h.

27  {
28  return this->msgStream(lvl);
29  }

◆ msgLvl()

bool AthCommonMsg< Algorithm >::msgLvl ( const MSG::Level  lvl) const
inlineinherited

Definition at line 30 of file AthCommonMsg.h.

30  {
31  return this->msgLevel(lvl);
32  }

◆ outputHandles()

virtual std::vector<Gaudi::DataHandle*> AthCommonDataStore< AthCommonMsg< Algorithm > >::outputHandles ( ) const
overridevirtualinherited

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.

◆ renounce()

std::enable_if_t<std::is_void_v<std::result_of_t<decltype(&T::renounce)(T)> > && !std::is_base_of_v<SG::VarHandleKeyArray, T> && std::is_base_of_v<Gaudi::DataHandle, T>, void> AthCommonDataStore< AthCommonMsg< Algorithm > >::renounce ( T &  h)
inlineprotectedinherited

Definition at line 380 of file AthCommonDataStore.h.

381  {
382  h.renounce();
383  PBASE::renounce (h);
384  }

◆ renounceArray()

void AthCommonDataStore< AthCommonMsg< Algorithm > >::renounceArray ( SG::VarHandleKeyArray handlesArray)
inlineprotectedinherited

remove all handles from I/O resolution

Definition at line 364 of file AthCommonDataStore.h.

364  {
365  handlesArray.renounce();
366  }

◆ sysInitialize()

StatusCode AthAlgorithm::sysInitialize ( )
overridevirtualinherited

Override sysInitialize.

Override sysInitialize from the base class.

Loop through all output handles, and if they're WriteCondHandles, automatically register them and this Algorithm with the CondSvc

Scan through all outputHandles, and if they're WriteCondHandles, register them with the CondSvc

Reimplemented from AthCommonDataStore< AthCommonMsg< Algorithm > >.

Reimplemented in AthAnalysisAlgorithm, AthFilterAlgorithm, PyAthena::Alg, and AthHistogramAlgorithm.

Definition at line 66 of file AthAlgorithm.cxx.

66  {
68 
69  if (sc.isFailure()) {
70  return sc;
71  }
72  ServiceHandle<ICondSvc> cs("CondSvc",name());
73  for (auto h : outputHandles()) {
74  if (h->isCondition() && h->mode() == Gaudi::DataHandle::Writer) {
75  // do this inside the loop so we don't create the CondSvc until needed
76  if ( cs.retrieve().isFailure() ) {
77  ATH_MSG_WARNING("no CondSvc found: won't autoreg WriteCondHandles");
78  return StatusCode::SUCCESS;
79  }
80  if (cs->regHandle(this,*h).isFailure()) {
81  sc = StatusCode::FAILURE;
82  ATH_MSG_ERROR("unable to register WriteCondHandle " << h->fullKey()
83  << " with CondSvc");
84  }
85  }
86  }
87  return sc;
88 }

◆ sysStart()

virtual StatusCode AthCommonDataStore< AthCommonMsg< Algorithm > >::sysStart ( )
overridevirtualinherited

Handle START transition.

We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.

◆ updateVHKA()

void AthCommonDataStore< AthCommonMsg< Algorithm > >::updateVHKA ( Gaudi::Details::PropertyBase &  )
inlineinherited

Definition at line 308 of file AthCommonDataStore.h.

308  {
309  // debug() << "updateVHKA for property " << p.name() << " " << p.toString()
310  // << " size: " << m_vhka.size() << endmsg;
311  for (auto &a : m_vhka) {
312  std::vector<SG::VarHandleKey*> keys = a->keys();
313  for (auto k : keys) {
314  k->setOwner(this);
315  }
316  }
317  }

◆ writeToTextFile()

StatusCode TRTStrawStatusRead::writeToTextFile ( const std::string &  filename)
virtual

Definition at line 90 of file TRTStrawStatusRead.cxx.

91 {
92  std::ofstream outfile(filename.c_str());
93 
94  int stat, bec, lay, sec, slay, straw, level;
95  int deadba0[32];
96  int deadba1[32];
97  int deadba2[32];
98  int deadbc0[32];
99  int deadbc1[32];
100  int deadbc2[32];
101  int deadea[14];
102  int deadec[14];
103  for(int i=0;i<32;i++){
104  deadba0[i]=0;
105  deadba1[i]=0;
106  deadba2[i]=0;
107  deadbc0[i]=0;
108  deadbc1[i]=0;
109  deadbc2[i]=0;
110  }
111  for(int i=0;i<14;i++){
112  deadea[i]=0;
113  deadec[i]=0;
114  }
115  int ngood=0;
116 
117  if(m_printfolder=="Status"){
118  ATH_MSG_INFO( " Dump To File: StrawStatus " );
120 
121  getStrawStatusContainer()->getall(flatcontainer) ;
122 
123  std::cout << " Status write output file in the same format as input " << std::endl;
124  for( TRTCond::StrawStatusContainer::FlatContainer::const_iterator
125  it = flatcontainer.begin() ; it != flatcontainer.end() ; ++it) {
126  TRTCond::ExpandedIdentifier id = it->first ;
127  const TRTCond::StrawStatus* status = it->second ;
128  bec = id.becindextoid(id.index(1));
129  lay = id.index(2);
130  sec = id.index(3);
131  slay = id.index(4);
132  straw = id.index(5);
133  level = id.level();
134  stat = int(status->getstatus());
136  //record this straw in the output file in same format as in the original input text file
137  if(level==4) straw=-1;
138  if(level==3) {
139  straw=-1;
140  slay=-1;
141  }
142  if(level==2) {
143  straw=-1;
144  slay=-1;
145  sec=-1;
146  }
147  outfile << bec << " " << sec << " " << slay << " " << straw << " " << lay << " " << TRTCond::StrawStatus::Dead << std::endl;
148  }
149 
150  }
151  std::cout << " Check all straws: " << " ( Good = " << TRTCond::StrawStatus::Good << " Dead = " << TRTCond::StrawStatus::Dead << std::endl;
152  for(std::vector<Identifier>::const_iterator it=m_trtid->straw_layer_begin();it!=m_trtid->straw_layer_end();++it) {
153  int nStrawsInLayer = m_trtid->straw_max(*it);
154  for (int i=0; i<=nStrawsInLayer; i++) {
155 
156  Identifier id = m_trtid->straw_id(*it,i);
157  bec = m_trtid->barrel_ec(id);
158  lay = m_trtid->layer_or_wheel(id);
159  sec = m_trtid->phi_module(id);
160  slay = m_trtid->straw_layer(id);
161  straw = m_trtid->straw(id);
162 
163  stat = m_status->getStatus(id, Gaudi::Hive::currentContext());
165  if(bec==-2) {
166  deadec[lay]++;
167  } else if(bec==2) {
168  deadea[lay]++;
169  } else if(bec==-1) {
170  if(lay==0) deadbc0[sec]++;
171  if(lay==1) deadbc1[sec]++;
172  if(lay==2) deadbc2[sec]++;
173  } else if(bec==1) {
174  if(lay==0) deadba0[sec]++;
175  if(lay==1) deadba1[sec]++;
176  if(lay==2) deadba2[sec]++;
177  }
178  }
179  }
180  }
181  }
182 
183 
184 
185  if(m_printfolder=="StatusHT"){
186  ATH_MSG_INFO( " Dump To File: StrawStatus HT " );
188  getStrawStatusHTContainer()->getall(flatcontainerHT) ;
189 
190  ATH_MSG_INFO ( " bec lay gas (Xe=2 Ar=4)" );
191  for(std::vector<Identifier>::const_iterator it=m_trtid->straw_layer_begin();it!=m_trtid->straw_layer_end();++it) {
192  Identifier id = m_trtid->straw_id(*it,1);
193  bec = m_trtid->barrel_ec(id);
194  lay = m_trtid->layer_or_wheel(id);
195  sec = m_trtid->phi_module(id);
196  slay = m_trtid->straw_layer(id);
197  // print gas status for sector 1, strawlayer 1, straw 1 in this layer-or-wheel
198  if(sec==1 && slay==1) {
199 
200  int stat = int(m_status->getStatusHT(id, Gaudi::Hive::currentContext()));
201 
202  ATH_MSG_INFO( bec << " " << lay << " " << stat );
203  }
204  }
205 
206  for( TRTCond::StrawStatusContainer::FlatContainer::const_iterator
207  it = flatcontainerHT.begin() ; it != flatcontainerHT.end() ; ++it) {
208  TRTCond::ExpandedIdentifier id = it->first ;
209  const TRTCond::StrawStatus* status = it->second ;
210  outfile << id << " " << int(status->getstatus()) << std::endl ;
211  }
212  }
213 
214 
215  if(m_printfolder=="StatusPermanent"){
216  ATH_MSG_INFO( " Dump To File: StrawStatus permanent ");
217 
219 
220  getStrawStatusPermanentContainer()->getall(flatcontainerpermanent) ;
221 
222  std::cout << " StatusPermanent cobntainer first straws: " << std::endl;
223  for( TRTCond::StrawStatusContainer::FlatContainer::const_iterator
224  it = flatcontainerpermanent.begin() ; it != flatcontainerpermanent.end() ; ++it) {
225  TRTCond::ExpandedIdentifier id = it->first ;
226  const TRTCond::StrawStatus* status = it->second ;
227  bec = id.becindextoid(id.index(1));
228  lay = id.index(2);
229  sec = id.index(3);
230  slay = id.index(4);
231  straw = id.index(5);
232  stat = int(status->getstatus());
234  outfile << bec << " " << sec << " " << straw << " " << slay << " " << lay << " " << stat << std::endl ;
235 
236  if(bec==-2) {
237  deadec[lay]++;
238  } else if(bec==2) {
239  deadea[lay]++;
240  } else if(bec==-1) {
241  if(lay==0) deadbc0[sec]++;
242  if(lay==1) deadbc1[sec]++;
243  if(lay==2) deadbc2[sec]++;
244  } else if(bec==1) {
245  if(lay==0) deadba0[sec]++;
246  if(lay==1) deadba1[sec]++;
247  if(lay==2) deadba2[sec]++;
248  }
249  } else {
250  ngood++;
251  }
252 
253  if(straw==0 && slay==0) std::cout << bec << " " << sec << " " << straw << " " << slay << " " << lay << " " << stat << std::endl;
254 
255  }
256  std::cout << " First straws: " << " ( Good = " << TRTCond::StrawStatus::Good << " Dead = " << TRTCond::StrawStatus::Dead << " ) " << std::endl;
257 
258  for(std::vector<Identifier>::const_iterator it=m_trtid->straw_layer_begin();it!=m_trtid->straw_layer_end();++it) {
259  int nStrawsInLayer = m_trtid->straw_max(*it);
260  for (int i=0; i<=nStrawsInLayer; i++) {
261 
262  Identifier id = m_trtid->straw_id(*it,i);
263  bec = m_trtid->barrel_ec(id);
264  lay = m_trtid->layer_or_wheel(id);
265  sec = m_trtid->phi_module(id);
266  slay = m_trtid->straw_layer(id);
267  straw = m_trtid->straw(id);
268  stat = int(m_status->getStatusPermanent(id, Gaudi::Hive::currentContext()));
269 
270  if(slay==0 && straw==0) std::cout << bec << " " << lay << " " << sec << " " << stat << std::endl;
271  }
272  }
273  }
274 
275  if(m_printfolder=="Status" || m_printfolder=="StatusPermanent"){
276 
277  ATH_MSG_INFO ( " Dead straws BA layer 0" );
278  ATH_MSG_INFO ( "deadba0[] = { " << deadba0[0] << ", " << deadba0[1] << ", " << deadba0[2] << ", " << deadba0[3] << ", " <<
279  deadba0[4] << ", " << deadba0[5] << ", " << deadba0[6] << ", " << deadba0[7] << ", " <<
280  deadba0[8] << ", " << deadba0[9] << ", " << deadba0[10] << ", " << deadba0[11] << ", " <<
281  deadba0[12] << ", " << deadba0[13] << ", " << deadba0[14] << ", " << deadba0[15] << ", " <<
282  deadba0[16] << ", " << deadba0[17] << ", " << deadba0[18] << ", " << deadba0[19] << ", " <<
283  deadba0[20] << ", " << deadba0[21] << ", " << deadba0[22] << ", " << deadba0[23] << ", " <<
284  deadba0[24] << ", " << deadba0[25] << ", " << deadba0[26] << ", " << deadba0[27] << ", " <<
285  deadba0[28] << ", " << deadba0[29] << ", " << deadba0[30] << ", " << deadba0[31] << "}; " );
286  ATH_MSG_INFO ( " Dead straws BA layer 1 ");
287  ATH_MSG_INFO ( "deadba1[] = { " << deadba1[0] << ", " << deadba1[1] << ", " << deadba1[2] << ", " << deadba1[3] << ", " <<
288  deadba1[4] << ", " << deadba1[5] << ", " << deadba1[6] << ", " << deadba1[7] << ", " <<
289  deadba1[8] << ", " << deadba1[9] << ", " << deadba1[10] << ", " << deadba1[11] << ", " <<
290  deadba1[12] << ", " << deadba1[13] << ", " << deadba1[14] << ", " << deadba1[15] << ", " <<
291  deadba1[16] << ", " << deadba1[17] << ", " << deadba1[18] << ", " << deadba1[19] << ", " <<
292  deadba1[20] << ", " << deadba1[21] << ", " << deadba1[22] << ", " << deadba1[23] << ", " <<
293  deadba1[24] << ", " << deadba1[25] << ", " << deadba1[26] << ", " << deadba1[27] << ", " <<
294  deadba1[28] << ", " << deadba1[29] << ", " << deadba1[30] << ", " << deadba1[31] << "};");
295  ATH_MSG_INFO (" Dead straws BA layer 2");
296  ATH_MSG_INFO ( "deadba2[]= { " << deadba2[0] << ", " << deadba2[1] << ", " << deadba2[2] << ", " << deadba2[3] << ", " <<
297  deadba2[4] << ", " << deadba2[5] << ", " << deadba2[6] << ", " << deadba2[7] << ", " <<
298  deadba2[8] << ", " << deadba2[9] << ", " << deadba2[10] << ", " << deadba2[11] << ", " <<
299  deadba2[12] << ", " << deadba2[13] << ", " << deadba2[14] << ", " << deadba2[15] << ", " <<
300  deadba2[16] << ", " << deadba2[17] << ", " << deadba2[18] << ", " << deadba2[19] << ", " <<
301  deadba2[20] << ", " << deadba2[21] << ", " << deadba2[22] << ", " << deadba2[23] << ", " <<
302  deadba2[24] << ", " << deadba2[25] << ", " << deadba2[26] << ", " << deadba2[27] << ", " <<
303  deadba2[28] << ", " << deadba2[29] << ", " << deadba2[30] << ", " << deadba2[31] << "}; ");
304 
305  ATH_MSG_INFO ( " Dead straws BC layer 0" );
306  ATH_MSG_INFO ( "deadbc0[] = { " << deadbc0[0] << ", " << deadbc0[1] << ", " << deadbc0[2] << ", " << deadbc0[3] << ", " <<
307  deadbc0[4] << ", " << deadbc0[5] << ", " << deadbc0[6] << ", " << deadbc0[7] << ", " <<
308  deadbc0[8] << ", " << deadbc0[9] << ", " << deadbc0[10] << ", " << deadbc0[11] << ", " <<
309  deadbc0[12] << ", " << deadbc0[13] << ", " << deadbc0[14] << ", " << deadbc0[15] << ", " <<
310  deadbc0[16] << ", " << deadbc0[17] << ", " << deadbc0[18] << ", " << deadbc0[19] << ", " <<
311  deadbc0[20] << ", " << deadbc0[21] << ", " << deadbc0[22] << ", " << deadbc0[23] << ", " <<
312  deadbc0[24] << ", " << deadbc0[25] << ", " << deadbc0[26] << ", " << deadbc0[27] << ", " <<
313  deadbc0[28] << ", " << deadbc0[29] << ", " << deadbc0[30] << ", " << deadbc0[31] << "}; " );
314  ATH_MSG_INFO ( " Dead straws BC layer 1 ");
315  ATH_MSG_INFO ( "deadbc1[] = { " << deadbc1[0] << ", " << deadbc1[1] << ", " << deadbc1[2] << ", " << deadbc1[3] << ", " <<
316  deadbc1[4] << ", " << deadbc1[5] << ", " << deadbc1[6] << ", " << deadbc1[7] << ", " <<
317  deadbc1[8] << ", " << deadbc1[9] << ", " << deadbc1[10] << ", " << deadbc1[11] << ", " <<
318  deadbc1[12] << ", " << deadbc1[13] << ", " << deadbc1[14] << ", " << deadbc1[15] << ", " <<
319  deadbc1[16] << ", " << deadbc1[17] << ", " << deadbc1[18] << ", " << deadbc1[19] << ", " <<
320  deadbc1[20] << ", " << deadbc1[21] << ", " << deadbc1[22] << ", " << deadbc1[23] << ", " <<
321  deadbc1[24] << ", " << deadbc1[25] << ", " << deadbc1[26] << ", " << deadbc1[27] << ", " <<
322  deadbc1[28] << ", " << deadbc1[29] << ", " << deadbc1[30] << ", " << deadbc1[31] << "};");
323  ATH_MSG_INFO (" Dead straws BC layer 2");
324  ATH_MSG_INFO ( "deadbc2[]= { " << deadbc2[0] << ", " << deadbc2[1] << ", " << deadbc2[2] << ", " << deadbc2[3] << ", " <<
325  deadbc2[4] << ", " << deadbc2[5] << ", " << deadbc2[6] << ", " << deadbc2[7] << ", " <<
326  deadbc2[8] << ", " << deadbc2[9] << ", " << deadbc2[10] << ", " << deadbc2[11] << ", " <<
327  deadbc2[12] << ", " << deadbc2[13] << ", " << deadbc2[14] << ", " << deadbc2[15] << ", " <<
328  deadbc2[16] << ", " << deadbc2[17] << ", " << deadbc2[18] << ", " << deadbc2[19] << ", " <<
329  deadbc2[20] << ", " << deadbc2[21] << ", " << deadbc2[22] << ", " << deadbc2[23] << ", " <<
330  deadbc2[24] << ", " << deadbc2[25] << ", " << deadbc2[26] << ", " << deadbc2[27] << ", " <<
331  deadbc2[28] << ", " << deadbc2[29] << ", " << deadbc2[30] << ", " << deadbc2[31] << "}; ");
332 
333  ATH_MSG_INFO (" Dead straws EA" );
334  ATH_MSG_INFO ("deadea[] = { " << deadea[0] << ", " << deadea[1] << ", " << deadea[2] << ", " << deadea[3] << ", " <<
335  deadea[4] << ", " << deadea[5] << ", " << deadea[6] << ", " << deadea[7] << ", " <<
336  deadea[8] << ", " << deadea[9] << ", " << deadea[10] << ", " << deadea[11] << ", " <<
337  deadea[12] << ", " << deadea[13] << "}; ");
338  ATH_MSG_INFO (" Dead straws EC" );
339  ATH_MSG_INFO ("deadec[] = { " << deadec[0] << ", " << deadec[1] << ", " << deadec[2] << ", " << deadec[3] << ", " <<
340  deadec[4] << ", " << deadec[5] << ", " << deadec[6] << ", " << deadec[7] << ", " <<
341  deadec[8] << ", " << deadec[9] << ", " << deadec[10] << ", " << deadec[11] << ", " <<
342  deadec[12] << ", " << deadec[13] << "}; " );
343  ATH_MSG_INFO("Number of good layers or wheels: " << ngood);
344  }
345 
346 
347  return StatusCode::SUCCESS ;
348 }

Member Data Documentation

◆ m_detStore

StoreGateSvc_t AthCommonDataStore< AthCommonMsg< Algorithm > >::m_detStore
privateinherited

Pointer to StoreGate (detector store by default)

Definition at line 393 of file AthCommonDataStore.h.

◆ m_evtStore

StoreGateSvc_t AthCommonDataStore< AthCommonMsg< Algorithm > >::m_evtStore
privateinherited

Pointer to StoreGate (event store by default)

Definition at line 390 of file AthCommonDataStore.h.

◆ m_extendedExtraObjects

DataObjIDColl AthAlgorithm::m_extendedExtraObjects
privateinherited

Definition at line 79 of file AthAlgorithm.h.

◆ m_permReadKey

SG::ReadCondHandleKey<StrawStatusContainer> TRTStrawStatusRead::m_permReadKey {this,"PermReadKeyName","/TRT/Cond/StatusPermanent","StrawStatusPermanent in-key"}
private

Definition at line 53 of file TRTStrawStatusRead.h.

◆ m_printfolder

std::string TRTStrawStatusRead::m_printfolder
private

Definition at line 57 of file TRTStrawStatusRead.h.

◆ m_setup

bool TRTStrawStatusRead::m_setup
private

Definition at line 48 of file TRTStrawStatusRead.h.

◆ m_statHTReadKey

SG::ReadCondHandleKey<StrawStatusContainer> TRTStrawStatusRead::m_statHTReadKey {this,"StatHTReadKeyName","/TRT/Cond/StatusHT","StrawStatusHT in-key"}
private

Definition at line 54 of file TRTStrawStatusRead.h.

◆ m_statReadKey

SG::ReadCondHandleKey<StrawStatusContainer> TRTStrawStatusRead::m_statReadKey {this,"StatReadKeyName","/TRT/Cond/Status","StrawStatus in-key"}
private

Definition at line 52 of file TRTStrawStatusRead.h.

◆ m_status

ToolHandle<ITRT_StrawStatusSummaryTool> TRTStrawStatusRead::m_status
private

Definition at line 50 of file TRTStrawStatusRead.h.

◆ m_trtid

const TRT_ID* TRTStrawStatusRead::m_trtid
private

trt id helper

Definition at line 49 of file TRTStrawStatusRead.h.

◆ m_varHandleArraysDeclared

bool AthCommonDataStore< AthCommonMsg< Algorithm > >::m_varHandleArraysDeclared
privateinherited

Definition at line 399 of file AthCommonDataStore.h.

◆ m_vhka

std::vector<SG::VarHandleKeyArray*> AthCommonDataStore< AthCommonMsg< Algorithm > >::m_vhka
privateinherited

Definition at line 398 of file AthCommonDataStore.h.


The documentation for this class was generated from the following files:
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:803
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
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:407
AthCommonDataStore< AthCommonMsg< Algorithm > >::m_evtStore
StoreGateSvc_t m_evtStore
Pointer to StoreGate (event store by default)
Definition: AthCommonDataStore.h:390
AthCommonDataStore< AthCommonMsg< Algorithm > >::m_vhka
std::vector< SG::VarHandleKeyArray * > m_vhka
Definition: AthCommonDataStore.h:398
TRTStrawStatusRead::StrawStatusContainer
TRTCond::StrawStatusMultChanContainer StrawStatusContainer
Definition: TRTStrawStatusRead.h:31
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
TRTStrawStatusRead::m_printfolder
std::string m_printfolder
Definition: TRTStrawStatusRead.h:57
TRTCond::StrawStatus::Dead
@ Dead
Definition: StrawStatus.h:18
TRT_ID::straw_layer_end
const_id_iterator straw_layer_end(void) const
Definition: TRT_ID.h:961
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
SG::VarHandleKeyArray::setOwner
virtual void setOwner(IDataHandleHolder *o)=0
IDTPMcnv.htype
htype
Definition: IDTPMcnv.py:29
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
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
AthCommonDataStore
Definition: AthCommonDataStore.h:52
AthAlgorithm::sysInitialize
virtual StatusCode sysInitialize() override
Override sysInitialize.
Definition: AthAlgorithm.cxx:66
ATH_MSG_ERROR
#define ATH_MSG_ERROR(x)
Definition: AthMsgStreamMacros.h:33
AthCommonDataStore< AthCommonMsg< Algorithm > >::outputHandles
virtual std::vector< Gaudi::DataHandle * > outputHandles() const override
Return this algorithm's output handles.
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
python.LArMinBiasAlgConfig.int
int
Definition: LArMinBiasAlgConfig.py:59
ATH_CHECK
#define ATH_CHECK
Definition: AthCheckMacros.h:40
AthCommonDataStore< AthCommonMsg< Algorithm > >::m_detStore
StoreGateSvc_t m_detStore
Pointer to StoreGate (detector store by default)
Definition: AthCommonDataStore.h:393
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:367
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
TRTCond::StrawStatus::Good
@ Good
Definition: StrawStatus.h:18
SG::VarHandleKeyArray::renounce
virtual void renounce()=0
SG::HandleClassifier::type
std::conditional< std::is_base_of< SG::VarHandleKeyArray, T >::value, VarHandleKeyArrayType, type2 >::type type
Definition: HandleClassifier.h:54
TRTStrawStatusRead::getStrawStatusContainer
virtual const StrawStatusContainer * getStrawStatusContainer() const
Definition: TRTStrawStatusRead.cxx:351
merge_scale_histograms.doc
string doc
Definition: merge_scale_histograms.py:9
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:240
TRTCond::StrawStatus
Definition: StrawStatus.h:13
TRT_ID::phi_module
int phi_module(const Identifier &id) const
Definition: TRT_ID.h:875
AthAlgorithm::m_extendedExtraObjects
DataObjIDColl m_extendedExtraObjects
Definition: AthAlgorithm.h:79
DeMoScan.index
string index
Definition: DeMoScan.py:364
a
TList * a
Definition: liststreamerinfos.cxx:10
TRTCond::MultChanContainer::getall
void getall(typename DaughterContainer::FlatContainer &entries) const
get a flat vector with all values.
Definition: MultChanContainer.h:340
h
ATH_MSG_WARNING
#define ATH_MSG_WARNING(x)
Definition: AthMsgStreamMacros.h:32
CaloCellTimeCorrFiller.filename
filename
Definition: CaloCellTimeCorrFiller.py:24
SG::VarHandleBase::vhKey
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
Definition: StoreGate/src/VarHandleBase.cxx:629
TRTStrawStatusRead::writeToTextFile
virtual StatusCode writeToTextFile(const std::string &filename)
Definition: TRTStrawStatusRead.cxx:90
AthAlgorithm::AthAlgorithm
AthAlgorithm()
Default constructor:
python.Bindings.keys
keys
Definition: Control/AthenaPython/python/Bindings.py:798
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
LHEF::Writer
Pythia8::Writer Writer
Definition: Prophecy4fMerger.cxx:12
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
AthCommonDataStore::declareGaudiProperty
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition: AthCommonDataStore.h:156
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
fitman.k
k
Definition: fitman.py:528
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:359
ServiceHandle< ICondSvc >
Identifier
Definition: IdentifierFieldParser.cxx:14
TRTStrawStatusRead::m_statReadKey
SG::ReadCondHandleKey< StrawStatusContainer > m_statReadKey
Definition: TRTStrawStatusRead.h:52