ATLAS Offline Software
Public Member Functions | Protected Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
RDOReaderDoubleSelector Class Reference

#include <RDOReaderDoubleSelector.h>

Inheritance diagram for RDOReaderDoubleSelector:
Collaboration diagram for RDOReaderDoubleSelector:

Public Member Functions

 RDOReaderDoubleSelector (const std::string &name, ISvcLocator *pSvcLocator)
 Algorithm constructor. More...
 
virtual StatusCode initialize () override
 Algorithm initialize at begin of job. More...
 
virtual StatusCode execute () override
 Algorithm execute once per event. More...
 
virtual StatusCode finalize () override
 Algorithm finalize at end of job. More...
 
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

 RDOReaderDoubleSelector ()
 Avoid use of default constructor. More...
 
 RDOReaderDoubleSelector (const RDOReaderDoubleSelector &)
 Avoid use of copy constructor. More...
 
RDOReaderDoubleSelectoroperator= (const RDOReaderDoubleSelector &)
 Avoid use of copy operator. More...
 
StatusCode checkPixel () const
 Compare objects read with newly created ones. More...
 
StatusCode checkSCT () const
 Compare objects read with newly created ones. More...
 
StatusCode checkTRT () const
 Compare objects read with newly created ones. More...
 
StatusCode checkCells () const
 Compare objects read with newly created ones. More...
 
void printCells (const CaloCellContainer *larCont) const
 Print out cell info. More...
 
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

const PixelIDm_pixelId
 IDhelper for creating objects. More...
 
const SCT_IDm_sctId
 IDhelper for creating objects. More...
 
const TRT_IDm_trtId
 IDhelper for creating objects. More...
 
SG::ReadCondHandleKey< CaloDetDescrManagerm_caloMgrKey
 Need DD mgr to create cells. More...
 
const CaloCell_IDm_calocellId
 Need id helper to create cells. More...
 
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 28 of file RDOReaderDoubleSelector.h.

Member Typedef Documentation

◆ StoreGateSvc_t

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

Definition at line 388 of file AthCommonDataStore.h.

Constructor & Destructor Documentation

◆ RDOReaderDoubleSelector() [1/3]

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

Algorithm constructor.

Definition at line 51 of file RDOReaderDoubleSelector.cxx.

53  : AthAlgorithm(name, pSvcLocator)
54  , m_pixelId(nullptr)
55  , m_sctId(nullptr)
56  , m_trtId(nullptr)
57  , m_calocellId(nullptr)
58 {}

◆ RDOReaderDoubleSelector() [2/3]

RDOReaderDoubleSelector::RDOReaderDoubleSelector ( )
private

Avoid use of default constructor.

◆ RDOReaderDoubleSelector() [3/3]

RDOReaderDoubleSelector::RDOReaderDoubleSelector ( const RDOReaderDoubleSelector )
private

Avoid use of copy constructor.

Member Function Documentation

◆ checkCells()

StatusCode RDOReaderDoubleSelector::checkCells ( ) const
private

Compare objects read with newly created ones.

Definition at line 365 of file RDOReaderDoubleSelector.cxx.

366 {
367  ATH_MSG_DEBUG("RDOReaderDoubleSelector::checkCells()" );
368 
369  // Retrieve container
370  const CaloCellContainer* caloCont = nullptr;
371  ATH_CHECK( evtStore()->retrieve(caloCont, "CaloCellCont1") );
372  ATH_MSG_DEBUG( "Container '" << "CaloCellCont"
373  << "' retrieved from StoreGate" );
374 
376  ATH_CHECK(caloMgrHandle.isValid());
377 
378  LArCellContFakeCreator creator;
379 
380  // Create container
381  MsgStream log(msgSvc(), name());
382  const CaloCellContainer* caloCont1 = creator.createCaloCellContainer(m_calocellId,
383  *caloMgrHandle,
384  msg());
385 
387  CaloCellContainer::const_iterator last = caloCont->end();
388  CaloCellContainer::const_iterator first1 = caloCont1->begin();
389  CaloCellContainer::const_iterator last1 = caloCont1->end();
390 
391  bool error = false;
392  int ncells = 0;
393  int ncellErrs = 0;
394 
395  for (; first != last && first1 != last1; ++first, ++first1) {
396  if (((*first)->ID() != (*first1)->ID()) ||
397  (fabs((*first)->energy() - (*first1)->energy() ) > 0.01 * fabs((*first)->energy())) ||
398  (fabs((*first)->time() - (*first1)->time() ) > 0.0002 * fabs((*first)->time())) ||
399  (std::abs((*first)->quality() - (*first1)->quality() ) > 0) ||
400  (std::abs((*first)->provenance() - (*first1)->provenance() ) > 0) ||
401  (fabs((*first)->eta() - (*first1)->eta() ) > 0.0000001) ||
402  (fabs((*first)->phi() - (*first1)->phi() ) > 0.0000001)) {
403  ATH_MSG_ERROR("CaloCell1,2 differ: id "
404  << m_calocellId->show_to_string((*first)->ID())
405  << m_calocellId->show_to_string((*first1)->ID())
406  << " energy " << (*first)->energy() << " "
407  << (*first1)->energy()
408  << " time " << (*first)->time() << " "
409  << (*first1)->time()
410  << " quality " << (*first)->quality() << " "
411  << (*first1)->quality()
412  << " provenance " << (*first)->provenance() << " "
413  << (*first1)->provenance()
414  << " eta " << (*first)->eta() << " "
415  << (*first1)->eta()
416  << " phi " << (*first)->phi() << " "
417  << (*first1)->phi());
418  error = true;
419  ncellErrs++;
420  }
421  ncells++;
422  }
423 
424  printCells(caloCont);
425 
426  if (error) {
427  ATH_MSG_ERROR("Errors: " << ncellErrs );
428  return StatusCode::FAILURE;
429  }
430  else {
431  ATH_MSG_INFO("Successful check of CaloCellContainer I/O. Cells read: " << ncells );
432  }
433  return StatusCode::SUCCESS;
434 }

◆ checkPixel()

StatusCode RDOReaderDoubleSelector::checkPixel ( ) const
private

Compare objects read with newly created ones.

Definition at line 87 of file RDOReaderDoubleSelector.cxx.

88 {
89  ATH_MSG_DEBUG("RDOReaderDoubleSelector::checkPixel()" );
90 
91  const PixelRDO_Container* pixCont = nullptr;
92  ATH_CHECK( evtStore()->retrieve(pixCont, "PixelRDOs") );
93 
94  // loop on all RDO collections read in and check them
95  int nmatch = 0;
96  bool error = false;
99 
100  ATH_MSG_DEBUG("PixelRDO_Container size "
101  << pixCont->size() << " " );
102 
103  // Check for non-zero length of container
104  if (pixCont->begin() == pixCont->end()) {
105  ATH_MSG_ERROR("Container '" << "PixelRDOs" << "' is EMPTY !" );
106  return StatusCode::FAILURE;
107  }
108 
109  for (PixelRDO_Container::const_iterator it = pixCont->begin() ;
110  it != pixCont->end() ; ++it) {
111 
112  const InDetRawDataCollection<PixelRDORawData>* RDO_Collection(&(**it));
113 
114  ATH_MSG_DEBUG("Read RDO collection: size, ids "
115  << RDO_Collection->size() << " "
116  << m_pixelId->show_to_string(RDO_Collection->identify(), &cntx) << " "
117  << MSG::hex << (unsigned int)RDO_Collection->identifyHash() << MSG::dec );
118 
119  // create a new pixel RDO collection
120  MsgStream log(msgSvc(), name());
122  creator.createPixelRawDataColl(RDO_Collection->identifyHash(), m_pixelId, msg());
123 
124  ATH_MSG_DEBUG("Test RDO collection: size, ids "
125  << rdocoll->size() << " "
126  << m_pixelId->show_to_string(rdocoll->identify(), &cntx) << " "
127  << MSG::hex << (unsigned int)rdocoll->identifyHash() << MSG::dec );
128 
129 
130  // Use one of the specific clustering AlgTools to make clusters
131  //typedef InDetRawDataCollection<Pixel1RawData> RDO1_Collection_type;
132  typedef InDetRawDataCollection<PixelRDORawData> RDO_Collection_type;
133 
134  // loop on all RDOs
135  RDO_Collection_type::const_iterator nextRDO = RDO_Collection->begin();
136  RDO_Collection_type::const_iterator lastRDO = RDO_Collection->end();
137  RDO_Collection_type::const_iterator nextRDO1 = rdocoll->begin();
138  RDO_Collection_type::const_iterator lastRDO1 = rdocoll->end();
139  for (; nextRDO != lastRDO && nextRDO1 != lastRDO1 ; ++nextRDO, ++nextRDO1) {
140  // Look for match
141  if (((*nextRDO)->identify() != (*nextRDO1)->identify()) ||
142  ((*nextRDO)->getWord() != (*nextRDO1)->getWord())) {
143 
144  ATH_MSG_ERROR("RDO's do NOT match: ids, word "
145  << m_pixelId->show_to_string((*nextRDO)->identify()) << " "
146  << m_pixelId->show_to_string((*nextRDO1)->identify()) << " "
147  << MSG::hex << (*nextRDO)->getWord() << " "
148  << MSG::hex << (*nextRDO1)->getWord() << " "
149  );
150  error = true;
151  }
152  else {
153  nmatch++;
154  }
155  }
156  ATH_MSG_DEBUG("Matching RDOs " << nmatch );
157 
158  delete rdocoll;
159  }
160 
161  // print out pixel element links
162  // Retrive the element link vector
163  const PixelRDOElemLinkVec* linkVec = nullptr;
164  ATH_CHECK( evtStore()->retrieve(linkVec, "PixelRDOELs") );
165 
166  ATH_MSG_DEBUG("PixelRDOElemLinkVec found with "
167  << linkVec->pixelRDOs().size()
168  << " RDOs " );
169  for (unsigned int i = 0; i < linkVec->pixelRDOs().size(); ++i) {
170  // Print out rdos from element link
171  PixelRDOElemLinkVec::elem_type rdo = linkVec->pixelRDOs()[i];
172  const PixelRDORawData* ncrdo = *rdo;
173  ATH_MSG_DEBUG("RDO ID=" << m_pixelId->show_to_string((*rdo)->identify())
174  << "RDO ToT=" << ncrdo->getToT() );
175  }
176 
177 
178  if (error) {
179  ATH_MSG_INFO("ERROR reading and checking Pixel RDO collections " );
180  }
181  else {
182  ATH_MSG_INFO("Successfully read and checked Pixel RDO collections " );
183  }
184 
185  return StatusCode::SUCCESS;
186 }

◆ checkSCT()

StatusCode RDOReaderDoubleSelector::checkSCT ( ) const
private

Compare objects read with newly created ones.

Definition at line 188 of file RDOReaderDoubleSelector.cxx.

189 {
190  ATH_MSG_DEBUG("RDOReaderDoubleSelector::checkSCT()" );
191 
192  const SCT_RDO_Container* sctCont = nullptr;
193  ATH_CHECK( evtStore()->retrieve(sctCont, "SCT_RDOs") );
194 
195  // loop on all RDO collections read in and check them
196  int nmatch = 0;
197  bool error = false;
198  InDetRawDataFakeCreator creator;
199  IdContext cntx = m_sctId->wafer_context();
200 
201  ATH_MSG_DEBUG("SCT_RDO_Container size "
202  << sctCont->size() << " " );
203 
204  // Check for non-zero length of container
205  if (sctCont->begin() == sctCont->end()) {
206  ATH_MSG_ERROR("Container '" << "SCT_RDOs" << "' is EMPTY !" );
207  return StatusCode::FAILURE;
208  }
209 
210  for (SCT_RDO_Container::const_iterator it = sctCont->begin() ;
211  it != sctCont->end() ; ++it) {
212 
213  const InDetRawDataCollection<SCT_RDORawData>* RDO_Collection(&(**it));
214 
215  ATH_MSG_DEBUG("Read RDO collection: size, ids "
216  << RDO_Collection->size() << " "
217  << m_sctId->show_to_string(RDO_Collection->identify(), &cntx) << " "
218  << MSG::hex << (unsigned int)RDO_Collection->identifyHash() << MSG::dec );
219 
220  // create a new sct RDO collection
221  MsgStream log(msgSvc(), name());
223  creator.createSCT_RawDataColl(RDO_Collection->identifyHash(), m_sctId, msg());
224 
225  ATH_MSG_DEBUG("Test RDO collection: size, ids "
226  << rdocoll->size() << " "
227  << m_sctId->show_to_string(rdocoll->identify(), &cntx) << " "
228  << MSG::hex << (unsigned int)rdocoll->identifyHash() << MSG::dec );
229 
230 
231  // Use one of the specific clustering AlgTools to make clusters
232  typedef InDetRawDataCollection<SCT_RDORawData> RDO_Collection_type;
233 
234  // loop on all RDOs
235  RDO_Collection_type::const_iterator nextRDO = RDO_Collection->begin();
236  RDO_Collection_type::const_iterator lastRDO = RDO_Collection->end();
237  RDO_Collection_type::const_iterator nextRDO1 = rdocoll->begin();
238  RDO_Collection_type::const_iterator lastRDO1 = rdocoll->end();
239  for (; nextRDO != lastRDO && nextRDO1 != lastRDO1 ; ++nextRDO, ++nextRDO1) {
240  // Look for match
241  if (((*nextRDO)->identify() != (*nextRDO1)->identify()) ||
242  ((*nextRDO)->getGroupSize() != (*nextRDO1)->getGroupSize())) {
243 
244  ATH_MSG_ERROR("RDO's do NOT match: ids, group, strip "
245  << m_sctId->show_to_string((*nextRDO)->identify()) << " "
246  << m_sctId->show_to_string((*nextRDO1)->identify()) << " "
247  << MSG::hex
248  << (*nextRDO)->getGroupSize() << " "
249  << (*nextRDO1)->getGroupSize() << " "
250  << MSG::dec
251  );
252  error = true;
253  }
254  else {
255  nmatch++;
256  }
257  }
258  ATH_MSG_DEBUG("Matching RDOs " << nmatch );
259 
260  delete rdocoll;
261  }
262 
263  if (error) {
264  ATH_MSG_INFO("ERROR reading and checking SCT RDO collections " );
265  }
266  else {
267  ATH_MSG_INFO("Successfully read and checked SCT RDO collections " );
268  }
269 
270  return StatusCode::SUCCESS;
271 }

◆ checkTRT()

StatusCode RDOReaderDoubleSelector::checkTRT ( ) const
private

Compare objects read with newly created ones.

Definition at line 273 of file RDOReaderDoubleSelector.cxx.

274 {
275  ATH_MSG_DEBUG("RDOReaderDoubleSelector::checkTRT()" );
276 
277  const TRT_RDO_Container* trtCont = nullptr;
278  ATH_CHECK( evtStore()->retrieve(trtCont, "TRT_RDOs") );
279 
280  // loop on all RDO collections read in and check them
281  int nmatch = 0;
282  bool error = false;
283  InDetRawDataFakeCreator creator;
285 
286  ATH_MSG_DEBUG("TRT_RDO_Container size "
287  << trtCont->size() << " " );
288 
289  // Check for non-zero length of container
290  if (trtCont->begin() == trtCont->end()) {
291  ATH_MSG_ERROR("Container '" << "TRT_RDOs"
292  << "' is EMPTY !" );
293  return StatusCode::FAILURE;
294  }
295 
296  for (TRT_RDO_Container::const_iterator it = trtCont->begin() ;
297  it != trtCont->end() ; ++it) {
298 
299  const InDetRawDataCollection<TRT_RDORawData>* RDO_Collection(&(**it));
300 
301  ATH_MSG_DEBUG("Read RDO collection: size, ids "
302  << RDO_Collection->size() << " "
303  << m_trtId->show_to_string(RDO_Collection->identify(), &cntx) << " "
304  << MSG::hex << (unsigned int)RDO_Collection->identifyHash() << MSG::dec );
305 
306  // create a new trt RDO collection
307  MsgStream log(msgSvc(), name());
309  creator.createTRT_RawDataColl(RDO_Collection->identifyHash(), m_trtId, msg());
310 
311  ATH_MSG_DEBUG("Test RDO collection: size, ids "
312  << rdocoll->size() << " "
313  << m_trtId->show_to_string(rdocoll->identify(), &cntx) << " "
314  << MSG::hex << (unsigned int)rdocoll->identifyHash() << MSG::dec );
315 
316 
317  // Use one of the specific clustering AlgTools to make clusters
318  typedef InDetRawDataCollection<TRT_RDORawData> RDO_Collection_type;
319 
320  // loop on all RDOs
321  RDO_Collection_type::const_iterator nextRDO = RDO_Collection->begin();
322  RDO_Collection_type::const_iterator lastRDO = RDO_Collection->end();
323  RDO_Collection_type::const_iterator nextRDO1 = rdocoll->begin();
324  RDO_Collection_type::const_iterator lastRDO1 = rdocoll->end();
325  for (; nextRDO != lastRDO && nextRDO1 != lastRDO1 ; ++nextRDO, ++nextRDO1) {
326  // Look for match
327  if (((*nextRDO)->identify() != (*nextRDO1)->identify()) ||
328  ((*nextRDO)->highLevel() != (*nextRDO1)->highLevel()) ||
329  ((*nextRDO)->timeOverThreshold() != (*nextRDO1)->timeOverThreshold()) ||
330  ((*nextRDO)->driftTimeBin() != (*nextRDO1)->driftTimeBin())) {
331 
332  ATH_MSG_ERROR("RDO's do NOT match: ids, highlvl, TOT, drift "
333  << m_trtId->show_to_string((*nextRDO)->identify()) << " "
334  << m_trtId->show_to_string((*nextRDO1)->identify()) << " "
335  << MSG::hex
336  << (*nextRDO)->highLevel() << " "
337  << (*nextRDO1)->highLevel() << " "
338  << (*nextRDO)->timeOverThreshold() << " "
339  << (*nextRDO1)->timeOverThreshold() << " "
340  << (*nextRDO)->driftTimeBin() << " "
341  << (*nextRDO1)->driftTimeBin() << " "
342  << MSG::dec
343  );
344  error = true;
345  }
346  else {
347  nmatch++;
348  }
349  }
350  ATH_MSG_DEBUG("Matching RDOs " << nmatch );
351 
352  delete rdocoll;
353  }
354 
355  if (error) {
356  ATH_MSG_INFO("ERROR reading and checking TRT RDO collections " );
357  }
358  else {
359  ATH_MSG_INFO("Successfully read and checked TRT RDO collections " );
360  }
361 
362  return StatusCode::SUCCESS;
363 }

◆ 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 RDOReaderDoubleSelector::execute ( )
overridevirtual

Algorithm execute once per event.

Definition at line 76 of file RDOReaderDoubleSelector.cxx.

77 {
78  ATH_MSG_DEBUG("RDOReaderDoubleSelector::execute()" );
79 
80  ATH_CHECK( checkPixel() );
81  ATH_CHECK( checkSCT() );
82  ATH_CHECK( checkTRT() );
83  ATH_CHECK( checkCells() );
84  return StatusCode::SUCCESS;
85 }

◆ 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 RDOReaderDoubleSelector::finalize ( )
overridevirtual

Algorithm finalize at end of job.

Definition at line 467 of file RDOReaderDoubleSelector.cxx.

468 {
469  ATH_MSG_INFO("RDOReaderDoubleSelector::finalize()" );
470  return StatusCode::SUCCESS;
471 }

◆ initialize()

StatusCode RDOReaderDoubleSelector::initialize ( )
overridevirtual

Algorithm initialize at begin of job.

Definition at line 61 of file RDOReaderDoubleSelector.cxx.

62 {
63  ATH_MSG_INFO("RDOReaderDoubleSelector::initialize()" );
64 
65  ATH_CHECK( detStore()->retrieve(m_pixelId, "PixelID") );
66  ATH_CHECK( detStore()->retrieve(m_sctId, "SCT_ID") );
67  ATH_CHECK( detStore()->retrieve(m_trtId, "TRT_ID") );
68 
69  ATH_CHECK( detStore()->retrieve(m_calocellId, "CaloCell_ID") );
71 
72  return StatusCode::SUCCESS;
73 }

◆ 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  }

◆ operator=()

RDOReaderDoubleSelector& RDOReaderDoubleSelector::operator= ( const RDOReaderDoubleSelector )
private

Avoid use of copy operator.

◆ 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.

◆ printCells()

void RDOReaderDoubleSelector::printCells ( const CaloCellContainer larCont) const
private

Print out cell info.

Definition at line 437 of file RDOReaderDoubleSelector.cxx.

438 {
439 
440  ATH_MSG_INFO("RDOReaderDoubleSelector::printRDOs()" );
441 
442  // loop on all cells
443 
444  CaloCellContainer::const_iterator first = caloCont->begin();
445  CaloCellContainer::const_iterator last = caloCont->end();
446 
447  for (; first != last; ++first) {
448 
449  ATH_MSG_DEBUG("CaloCell: id "
450  << m_calocellId->show_to_string((*first)->ID())
451  << std::setprecision(5)
452  << " energy " << (*first)->energy()
453  << " time " << (*first)->time()
454  << " quality " << (*first)->quality()
455  << " provenance " << (*first)->provenance()
456  << " eta " << (*first)->eta()
457  << " phi " << (*first)->phi()
458  );
459  }
460 
461  ATH_MSG_DEBUG("RDOReaderDoubleSelector::printCells() end" );
462 
463 }

◆ 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  }

Member Data Documentation

◆ m_calocellId

const CaloCell_ID* RDOReaderDoubleSelector::m_calocellId
private

Need id helper to create cells.

Definition at line 97 of file RDOReaderDoubleSelector.h.

◆ m_caloMgrKey

SG::ReadCondHandleKey<CaloDetDescrManager> RDOReaderDoubleSelector::m_caloMgrKey
private
Initial value:
{ this
, "CaloDetDescrManager"
, "CaloDetDescrManager"
, "SG Key for CaloDetDescrManager in the Condition Store" }

Need DD mgr to create cells.

Definition at line 91 of file RDOReaderDoubleSelector.h.

◆ 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_pixelId

const PixelID* RDOReaderDoubleSelector::m_pixelId
private

IDhelper for creating objects.

Definition at line 82 of file RDOReaderDoubleSelector.h.

◆ m_sctId

const SCT_ID* RDOReaderDoubleSelector::m_sctId
private

IDhelper for creating objects.

Definition at line 85 of file RDOReaderDoubleSelector.h.

◆ m_trtId

const TRT_ID* RDOReaderDoubleSelector::m_trtId
private

IDhelper for creating objects.

Definition at line 88 of file RDOReaderDoubleSelector.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:
RDOReaderDoubleSelector::m_sctId
const SCT_ID * m_sctId
IDhelper for creating objects.
Definition: RDOReaderDoubleSelector.h:85
python.PyKernel.retrieve
def retrieve(aClass, aKey=None)
Definition: PyKernel.py:110
InDetRawDataFakeCreator
Class which encapsulates the creation of an InDetRawDataCollection.
Definition: InDetRawDataFakeCreator.h:41
RDOReaderDoubleSelector::m_caloMgrKey
SG::ReadCondHandleKey< CaloDetDescrManager > m_caloMgrKey
Need DD mgr to create cells.
Definition: RDOReaderDoubleSelector.h:91
DataModel_detail::const_iterator
Const iterator class for DataVector/DataList.
Definition: DVLIterator.h:82
python.PerfMonSerializer.p
def p
Definition: PerfMonSerializer.py:743
SG::ReadCondHandle
Definition: ReadCondHandle.h:44
ATH_MSG_INFO
#define ATH_MSG_INFO(x)
Definition: AthMsgStreamMacros.h:31
AthCommonDataStore::declareProperty
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
Definition: AthCommonDataStore.h:145
InDetRawDataCollection::identify
virtual Identifier identify() const override final
skel.it
it
Definition: skel.GENtoEVGEN.py:423
IdentifiableContainerMT::size
size_t size() const
Duplicate of fullSize for backwards compatability.
Definition: IdentifiableContainerMT.h:209
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
RDOReaderDoubleSelector::m_calocellId
const CaloCell_ID * m_calocellId
Need id helper to create cells.
Definition: RDOReaderDoubleSelector.h:97
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
InDetRawDataContainer
Definition: InDetRawDataContainer.h:27
AthenaPoolTestRead.sc
sc
Definition: AthenaPoolTestRead.py:27
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
LArCellContFakeCreator::createCaloCellContainer
CaloCellContainer * createCaloCellContainer(const CaloCell_ID *calocellId, const CaloDetDescrManager *caloMgr, MsgStream &log) const
Create a CaloCellContainer with LAr cells.
Definition: LArCellContFakeCreator.h:61
InDetRawDataCollection::identifyHash
virtual IdentifierHash identifyHash() const override final
python.setupRTTAlg.size
int size
Definition: setupRTTAlg.py:39
PixelRDOElemLinkVec
vector containing element links to pixel RDOs
Definition: PixelRDOElemLinkVec.h:40
AthCommonDataStore< AthCommonMsg< Algorithm > >::evtStore
ServiceHandle< StoreGateSvc > & evtStore()
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
Definition: AthCommonDataStore.h:85
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.
StdJOSetup.msgSvc
msgSvc
Provide convenience handles for various services.
Definition: StdJOSetup.py:36
lumiFormat.i
int i
Definition: lumiFormat.py:92
RDOReaderDoubleSelector::checkTRT
StatusCode checkTRT() const
Compare objects read with newly created ones.
Definition: RDOReaderDoubleSelector.cxx:273
TRT_ID::straw_layer_context
IdContext straw_layer_context(void) const
straw_layer id
Definition: TRT_ID.h:713
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ATH_MSG_DEBUG
#define ATH_MSG_DEBUG(x)
Definition: AthMsgStreamMacros.h:29
RDOReaderDoubleSelector::checkCells
StatusCode checkCells() const
Compare objects read with newly created ones.
Definition: RDOReaderDoubleSelector.cxx:365
InDetRawDataFakeCreator::createSCT_RawDataColl
const InDetRawDataCollection< SCT_RDORawData > * createSCT_RawDataColl(IdentifierHash hashId, const SCT_ID *sctId, MsgStream &log)
Create SCT_RawDataCollection.
Definition: InDetRawDataFakeCreator.h:141
InDetRawDataCollection
Definition: InDetRawDataCollection.h:31
RDOReaderDoubleSelector::printCells
void printCells(const CaloCellContainer *larCont) const
Print out cell info.
Definition: RDOReaderDoubleSelector.cxx:437
InDetRawDataFakeCreator::createTRT_RawDataColl
const InDetRawDataCollection< TRT_RDORawData > * createTRT_RawDataColl(IdentifierHash hashId, const TRT_ID *trtId, MsgStream &log)
Create TRT_RawDataCollection.
Definition: InDetRawDataFakeCreator.h:189
ATH_CHECK
#define ATH_CHECK
Definition: AthCheckMacros.h:40
IdentifiableContainerMT::end
const_iterator end() const
return const_iterator for end of container
Definition: IdentifiableContainerMT.h:242
SCT_ID::wafer_context
IdContext wafer_context(void) const
Definition: SCT_ID.h:705
PixelRDORawData::getToT
virtual int getToT() const =0
IdentifiableContainerMT::const_iterator
Definition: IdentifiableContainerMT.h:82
AthCommonDataStore< AthCommonMsg< Algorithm > >::m_detStore
StoreGateSvc_t m_detStore
Pointer to StoreGate (detector store by default)
Definition: AthCommonDataStore.h:393
IdentifiableContainerMT::begin
const_iterator begin() const
return const_iterator for first entry
Definition: IdentifiableContainerMT.h:236
SG::VarHandleKeyArray::renounce
virtual void renounce()=0
LArCellContFakeCreator
Create a CaloCellContainer with LArCells for POOL I/O tests algs.
Definition: LArCellContFakeCreator.h:37
SG::HandleClassifier::type
std::conditional< std::is_base_of< SG::VarHandleKeyArray, T >::value, VarHandleKeyArrayType, type2 >::type type
Definition: HandleClassifier.h:54
merge_scale_histograms.doc
string doc
Definition: merge_scale_histograms.py:9
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
SG::CondHandleKey::initialize
StatusCode initialize(bool used=true)
CaloCellContainer
Container class for CaloCell.
Definition: CaloCellContainer.h:55
RDOReaderDoubleSelector::m_pixelId
const PixelID * m_pixelId
IDhelper for creating objects.
Definition: RDOReaderDoubleSelector.h:82
DataVector::end
const_iterator end() const noexcept
Return a const_iterator pointing past the end of the collection.
AthAlgorithm::m_extendedExtraObjects
DataObjIDColl m_extendedExtraObjects
Definition: AthAlgorithm.h:79
a
TList * a
Definition: liststreamerinfos.cxx:10
h
RDOReaderDoubleSelector::m_trtId
const TRT_ID * m_trtId
IDhelper for creating objects.
Definition: RDOReaderDoubleSelector.h:88
AtlasDetectorID::show_to_string
std::string show_to_string(Identifier id, const IdContext *context=0, char sep='.') const
or provide the printout in string form
Definition: AtlasDetectorID.cxx:574
PixelID::wafer_context
IdContext wafer_context(void) const
Definition: PixelID.h:590
ATH_MSG_WARNING
#define ATH_MSG_WARNING(x)
Definition: AthMsgStreamMacros.h:32
DeMoScan.first
bool first
Definition: DeMoScan.py:534
AthCommonMsg< Algorithm >::msg
MsgStream & msg() const
Definition: AthCommonMsg.h:24
python.CaloCondTools.log
log
Definition: CaloCondTools.py:20
RDOReaderDoubleSelector::checkPixel
StatusCode checkPixel() const
Compare objects read with newly created ones.
Definition: RDOReaderDoubleSelector.cxx:87
RDOReaderDoubleSelector::checkSCT
StatusCode checkSCT() const
Compare objects read with newly created ones.
Definition: RDOReaderDoubleSelector.cxx:188
SG::VarHandleBase::vhKey
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
Definition: StoreGate/src/VarHandleBase.cxx:616
declareProperty
#define declareProperty(n, p, h)
Definition: BaseFakeBkgTool.cxx:15
PixelRDORawData
Definition: PixelRDORawData.h:23
AthAlgorithm::AthAlgorithm
AthAlgorithm()
Default constructor:
python.Bindings.keys
keys
Definition: Control/AthenaPython/python/Bindings.py:790
LHEF::Writer
Pythia8::Writer Writer
Definition: Prophecy4fMerger.cxx:12
PixelRDOElemLinkVec::pixelRDOs
const std::vector< elem_type > & pixelRDOs() const
Definition: PixelRDOElemLinkVec.h:79
error
Definition: IImpactPoint3dEstimator.h:70
IdContext
class IdContext
Definition: IdContext.h:34
DataVector< RawDataT >::size
size_type size() const noexcept
Returns the number of elements in the collection.
InDetRawDataFakeCreator::createPixelRawDataColl
const InDetRawDataCollection< PixelRDORawData > * createPixelRawDataColl(IdentifierHash hashId, const PixelID *pixelId, MsgStream &log)
Create PixelRawDataCollection.
Definition: InDetRawDataFakeCreator.h:76
AthCommonDataStore::declareGaudiProperty
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition: AthCommonDataStore.h:156
DataVector::begin
const_iterator begin() const noexcept
Return a const_iterator pointing at the beginning of the collection.
fitman.k
k
Definition: fitman.py:528
ServiceHandle< ICondSvc >