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

Declaration of the LumiBlockMetaDataTool class. More...

#include <LumiBlockMetaDataTool.h>

Inheritance diagram for LumiBlockMetaDataTool:
Collaboration diagram for LumiBlockMetaDataTool:

Public Member Functions

 LumiBlockMetaDataTool (const std::string &type, const std::string &name, const IInterface *parent)
 The LumiBlockMetaDataTool reads luminosity metadata from input files and transfers it to output files. More...
 
virtual ~LumiBlockMetaDataTool ()
 
virtual StatusCode initialize () override
 
virtual StatusCode finalize () override
 
virtual StatusCode beginInputFile (const SG::SourceID &) override
 Function collecting the metadata from a new input file. More...
 
virtual StatusCode endInputFile (const SG::SourceID &) override
 Function collecting the metadata from a new input file. More...
 
virtual StatusCode metaDataStop () override
 Function writing the collected metadata to the output. 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 sysInitialize () override
 Perform system initialization for an algorithm. 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
 

Static Public Member Functions

static const InterfaceID & interfaceID ()
 Gaudi boilerplate. More...
 

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

StatusCode finishUp ()
 Fill metaDataStore and ntuples. 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

StoreGateSvc_t m_pMetaDataStore
 
StoreGateSvc_t m_pInputStore
 
xAOD::LumiBlockRangeContainerm_cacheInputRangeContainer
 
xAOD::LumiBlockRangeAuxContainerm_cacheInputRangeAuxContainer
 
xAOD::LumiBlockRangeContainerm_cacheSuspectInputRangeContainer
 
xAOD::LumiBlockRangeAuxContainerm_cacheSuspectInputRangeAuxContainer
 
xAOD::LumiBlockRangeContainerm_cacheOutputRangeContainer
 
xAOD::LumiBlockRangeAuxContainerm_cacheOutputRangeAuxContainer
 
xAOD::LumiBlockRangeContainerm_cacheSuspectOutputRangeContainer
 
xAOD::LumiBlockRangeAuxContainerm_cacheSuspectOutputRangeAuxContainer
 
std::string m_LBColl_name
 
std::string m_unfinishedLBColl_name
 
std::string m_suspectLBColl_name
 
bool m_fileCurrentlyOpened
 
std::string m_CurrentFileName
 
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

Declaration of the LumiBlockMetaDataTool class.

Author
Peter van Gemmeren gemme.nosp@m.ren@.nosp@m.anl.g.nosp@m.ov

Definition at line 28 of file LumiBlockMetaDataTool.h.

Member Typedef Documentation

◆ StoreGateSvc_t

Definition at line 56 of file LumiBlockMetaDataTool.h.

Constructor & Destructor Documentation

◆ LumiBlockMetaDataTool()

LumiBlockMetaDataTool::LumiBlockMetaDataTool ( const std::string &  type,
const std::string &  name,
const IInterface *  parent 
)

The LumiBlockMetaDataTool reads luminosity metadata from input files and transfers it to output files.

Author
Marjorie Shapiro mdsha.nosp@m.piro.nosp@m.@lbl..nosp@m.gov based on work from Peter van Gemmeren gemme.nosp@m.ren@.nosp@m.anl.g.nosp@m.ov

Definition at line 22 of file LumiBlockMetaDataTool.cxx.

26  , m_pMetaDataStore ("StoreGateSvc/MetaDataStore", name)
27  , m_pInputStore ("StoreGateSvc/InputMetaDataStore", name)
28  , m_fileCurrentlyOpened(false)
29  , m_CurrentFileName("none")
30 {
31  declareInterface<IMetaDataTool>(this);
32 
33  declareProperty("LBCollName",m_LBColl_name = "LumiBlocks");
34  declareProperty("unfinishedLBCollName",m_unfinishedLBColl_name = "IncompleteLumiBlocks");
35  declareProperty("suspectLBCollName", m_suspectLBColl_name="SuspectLumiBlocks");
36 
37  // Here is where we create the LumiBlockRange objects. When we open a
38  // file, we fill the m_cacheInputRangeContainer from the input metadata store.
39  // When the file closes, we move the LumiBlockRange objects to the
40  // m_cacheOutputRangeContainer. Objects in the m_cacheOutputRangeContainer
41  // will be sorted and merged at the end of the job
42  // Note: the Suspect Range objects are kept in separate containers because
43  // once an object is suspect, it remains suspect forever
44  // If a file is only partially read, the objects in the m_cacheInputRangeContainer
45  // will be moved to the m_suspectOutputRangeContainer
46 
50 
54 
58 
62 }

◆ ~LumiBlockMetaDataTool()

LumiBlockMetaDataTool::~LumiBlockMetaDataTool ( )
virtual

Member Function Documentation

◆ beginInputFile()

StatusCode LumiBlockMetaDataTool::beginInputFile ( const SG::SourceID )
overridevirtual

Function collecting the metadata from a new input file.

Implements IMetaDataTool.

Definition at line 91 of file LumiBlockMetaDataTool.cxx.

92 {
93  std::string fileName = "Undefined ";
94  bool alreadyRecorded=false;
96  alreadyRecorded=true;
97  }
99  alreadyRecorded=true;
100  }
102  if(alreadyRecorded) return StatusCode::SUCCESS;
104  //
105  // Look for LB information on input store and transfer it to temporay cache
106  // ===========================================================================
107 
109  ATH_MSG_INFO(" Contains xAOD::LumiBlockRangeContainer " << m_LBColl_name);
110  const xAOD::LumiBlockRangeContainer* lbrange =nullptr;
112  if (!sc.isSuccess()) {
113  ATH_MSG_INFO( "Could not find unfinished xAOD::LumiBlockRangeContainer in input metadata store" );
114  return StatusCode::SUCCESS;
115  }
116  ATH_MSG_INFO( "xAOD::LumiBlockRangeContainer size" << lbrange->size() );
117  for ( const auto* lb : *lbrange ) {
120  }
121  }
123  ATH_MSG_INFO(" Contains xAOD::LumiBlockRangeContainer " << m_unfinishedLBColl_name);
124  const xAOD::LumiBlockRangeContainer* lbrange =nullptr;
126  if (!sc.isSuccess()) {
127  ATH_MSG_INFO( "Could not find unfinished xAOD::LumiBlockRangeContainer in input metadata store" );
128  return StatusCode::SUCCESS;
129  }
130  ATH_MSG_INFO( "xAOD::LumiBlockRangeContainer size" << lbrange->size() );
131  for ( const auto* lb : *lbrange ) {
134  }
135  }
137  ATH_MSG_INFO(" Contains xAOD::LumiBlockRangeContainer " << m_suspectLBColl_name);
138  const xAOD::LumiBlockRangeContainer* lbrange =nullptr;
140  if (!sc.isSuccess()) {
141  ATH_MSG_INFO( "Could not find suspect xAOD::LumiBlockRangeContainer in input metadata store" );
142  return StatusCode::SUCCESS;
143  }
144  ATH_MSG_INFO( "xAOD::LumiBlockRangeContainer size" << lbrange->size() );
145  for ( const auto* lb : *lbrange ) {
148  }
149  }
150  return(StatusCode::SUCCESS);
151 }

◆ declareGaudiProperty() [1/4]

Gaudi::Details::PropertyBase& AthCommonDataStore< AthCommonMsg< AlgTool > >::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< AlgTool > >::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< AlgTool > >::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< AlgTool > >::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< AlgTool > >::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< AlgTool > >::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< AlgTool > >::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< AlgTool > >::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< AlgTool > >::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< AlgTool > >::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< AlgTool > >::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; }

◆ endInputFile()

StatusCode LumiBlockMetaDataTool::endInputFile ( const SG::SourceID )
overridevirtual

Function collecting the metadata from a new input file.

Implements IMetaDataTool.

Definition at line 153 of file LumiBlockMetaDataTool.cxx.

154 {
155  m_fileCurrentlyOpened=false;
156  for (const auto range : *m_cacheInputRangeContainer) {
157  auto iovr = std::make_unique<xAOD::LumiBlockRange>(*range);
158  m_cacheOutputRangeContainer->push_back(std::move(iovr));
159  }
161 
162  for (const auto range : *m_cacheSuspectInputRangeContainer) {
163  auto iovr = std::make_unique<xAOD::LumiBlockRange>(*range);
165  }
167  return(StatusCode::SUCCESS);
168 }

◆ evtStore() [1/2]

ServiceHandle<StoreGateSvc>& AthCommonDataStore< AthCommonMsg< AlgTool > >::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< AlgTool > >::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; }

◆ extraDeps_update_handler()

void AthCommonDataStore< AthCommonMsg< AlgTool > >::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

◆ finalize()

StatusCode LumiBlockMetaDataTool::finalize ( )
overridevirtual

Definition at line 87 of file LumiBlockMetaDataTool.cxx.

87  {
88  return(StatusCode::SUCCESS);
89 }

◆ finishUp()

StatusCode LumiBlockMetaDataTool::finishUp ( )
private

Fill metaDataStore and ntuples.

Definition at line 186 of file LumiBlockMetaDataTool.cxx.

186  {
187  //
188  // stop() is called whenever the event loop is finished.
189  // ======================================================
190  ATH_MSG_VERBOSE( " finishUp: write lumiblocks to meta data store " );
191 
192  auto piovComplete = std::make_unique<xAOD::LumiBlockRangeContainer>();
193  auto piovCompleteAux = std::make_unique<xAOD::LumiBlockRangeAuxContainer>();
194  piovComplete->setStore( piovCompleteAux.get() );
195 
196  auto piovUnfinished = std::make_unique<xAOD::LumiBlockRangeContainer>();
197  auto piovUnfinishedAux = std::make_unique<xAOD::LumiBlockRangeAuxContainer>();
198  piovUnfinished->setStore( piovUnfinishedAux.get() );
199 
200  auto piovSuspect = std::make_unique<xAOD::LumiBlockRangeContainer>();
201  auto piovSuspectAux = std::make_unique<xAOD::LumiBlockRangeAuxContainer>();
202  piovSuspect->setStore( piovSuspectAux.get() );
203 
205  ATH_MSG_VERBOSE("Suspect OutputRangeCollection with size " << m_cacheSuspectOutputRangeContainer->size());
206  for (const auto range : *m_cacheSuspectOutputRangeContainer) {
207  auto iovr = std::make_unique<xAOD::LumiBlockRange>(*range);
208  piovSuspect->push_back(std::move(iovr));
209  }
210  }
211 
213  ATH_MSG_VERBOSE("OutputRangeCollection with size " << m_cacheOutputRangeContainer->size());
215 
216  // Use tmp collection to do the merging
219  tempLBColl.setStore( p_tempAuxLBColl );
220 
221  // Sort and Merge LumiBlockRange objects if necessary
222  // Merge LumiBlockRange objects for same run and lumiblock
227  tempLBColl.push_back(iovr);
228  ATH_MSG_VERBOSE( "Push_back tmpLBColl with run "
229  << (*i)->startRunNumber() << " LB " << (*i)->startLumiBlockNumber() << " events seen "
230  << (*ilast)->eventsSeen() << " expected " << (*i)->eventsExpected());
231  ++i;
232  while (i != ie) {
233  if( ((*i)->startRunNumber()==(*ilast)->startRunNumber()) &&
234  ((*i)->stopRunNumber()==(*ilast)->stopRunNumber()) &&
235  ((*i)->startLumiBlockNumber()==(*ilast)->startLumiBlockNumber()) &&
236  ((*i)->stopLumiBlockNumber()==(*ilast)->stopLumiBlockNumber()) ) {
237 
238  if((*ilast)->eventsExpected()!=(*i)->eventsExpected()) {
239  ATH_MSG_WARNING( "Error: tmpLBColl with run " << (*i)->startRunNumber() << " LB " << (*i)->startLumiBlockNumber() << " events expected "
240  << (*ilast)->eventsExpected() << " and " << (*i)->eventsExpected() );
241  }
242  else {
243  ATH_MSG_VERBOSE( "Merge Run " << (*i)->startRunNumber() << " LB " << (*i)->startLumiBlockNumber()
244  << " events seen " << iovr->eventsSeen() << "+"
245  << (*i)->eventsSeen() << " and events expected "
246  << iovr->eventsExpected() );
247 
248  iovr->setEventsSeen((*i)->eventsSeen()+iovr->eventsSeen());
249  }
250  }
251  else {
252  iovr = new xAOD::LumiBlockRange(*(*i));
253 
254  ATH_MSG_VERBOSE( "Push_back tmpLBColl with run "
255  << iovr->startRunNumber() << " LB " << iovr->startLumiBlockNumber() << " events seen "
256  << iovr->eventsSeen() << " expected " << iovr->eventsExpected());
257 
258  tempLBColl.push_back(iovr);
259  ilast = i;
260  }
261  ++i;
262  }
263 
264  for (const auto range : tempLBColl) {
265  auto iovr = std::make_unique<xAOD::LumiBlockRange>(*range);
266  if(range->eventsSeen() == range->eventsExpected() ) {
267  piovComplete->push_back(std::move(iovr));
268  }
269  else if(range->eventsSeen() > range->eventsExpected() ) {
270  piovSuspect->push_back(std::move(iovr));
271  }
272  else {
273  piovUnfinished->push_back(std::move(iovr));
274  }
275  }
276  }
277 
278 
279  if(!piovComplete->empty()) {
280  ATH_MSG_DEBUG( "Number of Complete LumiBlocks:" << piovComplete->size() );
281  for (const auto range : *piovComplete) {
282  ATH_MSG_INFO("\t [ ("
283  << range->startRunNumber() << "," << range->startLumiBlockNumber()
284  << "):("
285  << range->startRunNumber() << "," << range->startLumiBlockNumber()
286  << ") eventsSeen = " << range->eventsSeen()
287  << ", eventsExpected = " << range->eventsExpected()
288  << " ]");
289  }
290  }
291 
292  if(!piovUnfinished->empty()) {
293  ATH_MSG_DEBUG( "Number of Unfinished LumiBlocks:" << piovUnfinished->size() );
294  for (const auto range : *piovUnfinished) {
295  ATH_MSG_INFO("\t [ ("
296  << range->startRunNumber() << "," << range->startLumiBlockNumber()
297  << "):("
298  << range->startRunNumber() << "," << range->startLumiBlockNumber()
299  << ") eventsSeen = " << range->eventsSeen()
300  << ", eventsExpected = " << range->eventsExpected()
301  << " ]");
302  }
303  }
304  if(!piovSuspect->empty()) {
305  ATH_MSG_DEBUG( "Number of Suspect LumiBlocks:" << piovSuspect->size() );
306  for (const auto range : *piovSuspect) {
307  ATH_MSG_INFO("\t [ ("
308  << range->startRunNumber() << "," << range->startLumiBlockNumber()
309  << "):("
310  << range->startRunNumber() << "," << range->startLumiBlockNumber()
311  << ") eventsSeen = " << range->eventsSeen()
312  << ", eventsExpected = " << range->eventsExpected()
313  << " ]");
314  }
315  }
316 
317  // Store the LumiBlockRangeContainer in the metadata store
318  // =======================================================
319  if (!piovComplete->empty()) {
320  ATH_MSG_INFO("Write Complete LumiBlocks with size " << piovComplete->size());
321  // Check if we have already written them out
324  "Complete LumiBlocks container with key "
325  << m_LBColl_name
326  << " already exists. Updating if there are missing LumiBlocks.");
327  xAOD::LumiBlockRangeContainer* complete = nullptr;
328  ATH_CHECK(m_pMetaDataStore->retrieve(complete, m_LBColl_name));
329 
330  for (const auto range : *piovComplete) {
331  // Check if this configuration is already in the existing container:
332  bool exists = false;
333  for (const auto existing : *complete) {
334  if ((existing->startRunNumber() == range->startRunNumber()) &&
335  (existing->stopRunNumber() == range->stopRunNumber()) &&
336  (existing->startLumiBlockNumber() == range->startLumiBlockNumber()) &&
337  (existing->stopLumiBlockNumber() == range->stopLumiBlockNumber()) &&
338  (existing->eventsSeen() == range->eventsSeen()) &&
339  (existing->eventsExpected() == range->eventsExpected())) {
340  exists = true;
341  break;
342  }
343  }
344  if (exists) {
345  continue;
346  }
347  // New LumiBlock, put it into the output container
348  ATH_MSG_INFO(
349  "Copying LumiBlock: [ ("
350  << range->startRunNumber() << "," << range->stopLumiBlockNumber()
351  << "):(" << range->startRunNumber() << ","
352  << range->stopLumiBlockNumber()
353  << ") eventsSeen = " << range->eventsSeen()
354  << ", eventsExpected = " << range->eventsExpected() << " ]");
356  complete->push_back(out);
357  *out = *range;
358  }
359  } else {
360  ATH_MSG_INFO("Recording "
361  << m_LBColl_name
362  << " LumiBlockRangeContainer in output MetaDataStore");
363  ATH_CHECK(m_pMetaDataStore->record(std::move(piovComplete), m_LBColl_name));
364  ATH_CHECK(m_pMetaDataStore->record(std::move(piovCompleteAux), m_LBColl_name + "Aux."));
365  }
366  }
367 
368  if (!piovUnfinished->empty()) {
369  ATH_MSG_INFO("Write Unfinished LumiBlocks with size " << piovUnfinished->size());
370  // Check if we have already written them out
373  "Unfinished LumiBlocks container with key "
375  << " already exists. Updating if there are missing LumiBlocks.");
376  xAOD::LumiBlockRangeContainer* unfinished = nullptr;
377  ATH_CHECK(m_pMetaDataStore->retrieve(unfinished, m_unfinishedLBColl_name));
378 
379  for (const auto range : *piovUnfinished) {
380  // Check if this configuration is already in the existing container:
381  bool exists = false;
382  for (const auto existing : *unfinished) {
383  if ((existing->startRunNumber() == range->startRunNumber()) &&
384  (existing->stopRunNumber() == range->stopRunNumber()) &&
385  (existing->startLumiBlockNumber() == range->startLumiBlockNumber()) &&
386  (existing->stopLumiBlockNumber() == range->stopLumiBlockNumber()) &&
387  (existing->eventsSeen() == range->eventsSeen()) &&
388  (existing->eventsExpected() == range->eventsExpected())) {
389  exists = true;
390  break;
391  }
392  }
393  if (exists) {
394  continue;
395  }
396  // New LumiBlock, put it into the output container
397  ATH_MSG_INFO(
398  "Copying LumiBlock: [ ("
399  << range->startRunNumber() << "," << range->stopLumiBlockNumber()
400  << "):(" << range->startRunNumber() << ","
401  << range->stopLumiBlockNumber()
402  << ") eventsSeen = " << range->eventsSeen()
403  << ", eventsExpected = " << range->eventsExpected() << " ]");
405  unfinished->push_back(out);
406  *out = *range;
407  }
408  } else {
409  ATH_MSG_INFO("Recording "
411  << " LumiBlockRangeContainer in output MetaDataStore");
412  ATH_CHECK(m_pMetaDataStore->record(std::move(piovUnfinished), m_unfinishedLBColl_name));
413  ATH_CHECK(m_pMetaDataStore->record(std::move(piovUnfinishedAux), m_unfinishedLBColl_name + "Aux."));
414  }
415  }
416 
417  if (!piovSuspect->empty()) {
418  ATH_MSG_INFO("Write Suspect LumiBlocks with size " << piovSuspect->size());
419  // Check if we have already written them out
422  "Suspect LumiBlocks container with key "
424  << " already exists. Updating if there are missing LumiBlocks.");
425  xAOD::LumiBlockRangeContainer* suspect = nullptr;
426  ATH_CHECK(m_pMetaDataStore->retrieve(suspect, m_suspectLBColl_name));
427 
428  for (const auto range : *piovSuspect) {
429  // Check if this configuration is already in the existing container:
430  bool exists = false;
431  for (const auto existing : *suspect) {
432  if ((existing->startRunNumber() == range->startRunNumber()) &&
433  (existing->stopRunNumber() == range->stopRunNumber()) &&
434  (existing->startLumiBlockNumber() == range->startLumiBlockNumber()) &&
435  (existing->stopLumiBlockNumber() == range->stopLumiBlockNumber()) &&
436  (existing->eventsSeen() == range->eventsSeen()) &&
437  (existing->eventsExpected() == range->eventsExpected())) {
438  exists = true;
439  break;
440  }
441  }
442  if (exists) {
443  continue;
444  }
445  // New LumiBlock, put it into the output container
446  ATH_MSG_INFO(
447  "Copying LumiBlock: [ ("
448  << range->startRunNumber() << "," << range->stopLumiBlockNumber()
449  << "):(" << range->startRunNumber() << ","
450  << range->stopLumiBlockNumber()
451  << ") eventsSeen = " << range->eventsSeen()
452  << ", eventsExpected = " << range->eventsExpected() << " ]");
454  suspect->push_back(out);
455  *out = *range;
456  }
457  } else {
458  ATH_MSG_INFO("Recording "
460  << " LumiBlockRangeContainer in output MetaDataStore");
461  ATH_CHECK(m_pMetaDataStore->record(std::move(piovSuspect), m_suspectLBColl_name));
462  ATH_CHECK(m_pMetaDataStore->record(std::move(piovSuspectAux), m_suspectLBColl_name + "Aux."));
463  }
464  }
465 
466  return(StatusCode::SUCCESS);
467 }

◆ initialize()

StatusCode LumiBlockMetaDataTool::initialize ( )
overridevirtual

Definition at line 78 of file LumiBlockMetaDataTool.cxx.

78  {
79  ATH_MSG_INFO( "in initialize()" );
80 
81  ATH_CHECK( m_pMetaDataStore.retrieve() );
82  ATH_CHECK( m_pInputStore.retrieve() );
83 
84  return(StatusCode::SUCCESS);
85 }

◆ inputHandles()

virtual std::vector<Gaudi::DataHandle*> AthCommonDataStore< AthCommonMsg< AlgTool > >::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.

◆ interfaceID()

const InterfaceID & IMetaDataTool::interfaceID ( )
inlinestaticinherited

Gaudi boilerplate.

Definition at line 39 of file IMetaDataTool.h.

39  {
40  static const InterfaceID IID("IMetaDataTool", 1, 0);
41  return(IID);
42 }

◆ metaDataStop()

StatusCode LumiBlockMetaDataTool::metaDataStop ( )
overridevirtual

Function writing the collected metadata to the output.

Implements IMetaDataTool.

Definition at line 170 of file LumiBlockMetaDataTool.cxx.

171 {
173  ATH_MSG_INFO( "MetaDataStop called when input file open: LumiBlock is suspect" );
174  for (const auto range : *m_cacheInputRangeContainer) {
175  auto iovr = std::make_unique<xAOD::LumiBlockRange>(*range);
177  }
179  }
180 
181  ATH_CHECK( finishUp() );
182  return(StatusCode::SUCCESS);
183 }

◆ msg() [1/2]

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

Definition at line 24 of file AthCommonMsg.h.

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

◆ msg() [2/2]

MsgStream& AthCommonMsg< AlgTool >::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< AlgTool >::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< AlgTool > >::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< AlgTool > >::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< AlgTool > >::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()

virtual StatusCode AthCommonDataStore< AthCommonMsg< AlgTool > >::sysInitialize ( )
overridevirtualinherited

Perform system initialization for an algorithm.

We override this to declare all the elements of handle key arrays at the end of initialization. See comments on updateVHKA.

Reimplemented in DerivationFramework::CfAthAlgTool, AthCheckedComponent< AthAlgTool >, AthCheckedComponent<::AthAlgTool >, and asg::AsgMetadataTool.

◆ sysStart()

virtual StatusCode AthCommonDataStore< AthCommonMsg< AlgTool > >::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< AlgTool > >::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_cacheInputRangeAuxContainer

xAOD::LumiBlockRangeAuxContainer* LumiBlockMetaDataTool::m_cacheInputRangeAuxContainer
private

Definition at line 64 of file LumiBlockMetaDataTool.h.

◆ m_cacheInputRangeContainer

xAOD::LumiBlockRangeContainer* LumiBlockMetaDataTool::m_cacheInputRangeContainer
private

Definition at line 63 of file LumiBlockMetaDataTool.h.

◆ m_cacheOutputRangeAuxContainer

xAOD::LumiBlockRangeAuxContainer* LumiBlockMetaDataTool::m_cacheOutputRangeAuxContainer
private

Definition at line 70 of file LumiBlockMetaDataTool.h.

◆ m_cacheOutputRangeContainer

xAOD::LumiBlockRangeContainer* LumiBlockMetaDataTool::m_cacheOutputRangeContainer
private

Definition at line 69 of file LumiBlockMetaDataTool.h.

◆ m_cacheSuspectInputRangeAuxContainer

xAOD::LumiBlockRangeAuxContainer* LumiBlockMetaDataTool::m_cacheSuspectInputRangeAuxContainer
private

Definition at line 66 of file LumiBlockMetaDataTool.h.

◆ m_cacheSuspectInputRangeContainer

xAOD::LumiBlockRangeContainer* LumiBlockMetaDataTool::m_cacheSuspectInputRangeContainer
private

Definition at line 65 of file LumiBlockMetaDataTool.h.

◆ m_cacheSuspectOutputRangeAuxContainer

xAOD::LumiBlockRangeAuxContainer* LumiBlockMetaDataTool::m_cacheSuspectOutputRangeAuxContainer
private

Definition at line 72 of file LumiBlockMetaDataTool.h.

◆ m_cacheSuspectOutputRangeContainer

xAOD::LumiBlockRangeContainer* LumiBlockMetaDataTool::m_cacheSuspectOutputRangeContainer
private

Definition at line 71 of file LumiBlockMetaDataTool.h.

◆ m_CurrentFileName

std::string LumiBlockMetaDataTool::m_CurrentFileName
private

Definition at line 79 of file LumiBlockMetaDataTool.h.

◆ m_detStore

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

Pointer to StoreGate (detector store by default)

Definition at line 393 of file AthCommonDataStore.h.

◆ m_evtStore

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

Pointer to StoreGate (event store by default)

Definition at line 390 of file AthCommonDataStore.h.

◆ m_fileCurrentlyOpened

bool LumiBlockMetaDataTool::m_fileCurrentlyOpened
private

Definition at line 78 of file LumiBlockMetaDataTool.h.

◆ m_LBColl_name

std::string LumiBlockMetaDataTool::m_LBColl_name
private

Definition at line 74 of file LumiBlockMetaDataTool.h.

◆ m_pInputStore

StoreGateSvc_t LumiBlockMetaDataTool::m_pInputStore
private

Definition at line 58 of file LumiBlockMetaDataTool.h.

◆ m_pMetaDataStore

StoreGateSvc_t LumiBlockMetaDataTool::m_pMetaDataStore
private

Definition at line 57 of file LumiBlockMetaDataTool.h.

◆ m_suspectLBColl_name

std::string LumiBlockMetaDataTool::m_suspectLBColl_name
private

Definition at line 76 of file LumiBlockMetaDataTool.h.

◆ m_unfinishedLBColl_name

std::string LumiBlockMetaDataTool::m_unfinishedLBColl_name
private

Definition at line 75 of file LumiBlockMetaDataTool.h.

◆ m_varHandleArraysDeclared

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

Definition at line 399 of file AthCommonDataStore.h.

◆ m_vhka

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

Definition at line 398 of file AthCommonDataStore.h.


The documentation for this class was generated from the following files:
xAOD::LumiBlockRange_v1::startLumiBlockNumber
uint32_t startLumiBlockNumber() const
Get the luminosity block of the start time of the range.
LumiBlockMetaDataTool::m_CurrentFileName
std::string m_CurrentFileName
Definition: LumiBlockMetaDataTool.h:79
LumiBlockMetaDataTool::m_cacheSuspectInputRangeContainer
xAOD::LumiBlockRangeContainer * m_cacheSuspectInputRangeContainer
Definition: LumiBlockMetaDataTool.h:65
DataModel_detail::const_iterator
Const iterator class for DataVector/DataList.
Definition: DVLIterator.h:82
xAOD::LumiBlockRange_v1::eventsSeen
uint32_t eventsSeen() const
Get the number of seen/processed events in this luminosity block range.
ATH_MSG_INFO
#define ATH_MSG_INFO(x)
Definition: AthMsgStreamMacros.h:31
LumiBlockMetaDataTool::m_cacheInputRangeContainer
xAOD::LumiBlockRangeContainer * m_cacheInputRangeContainer
Definition: LumiBlockMetaDataTool.h:63
xAOD::LumiBlockRange_v1::eventsExpected
uint32_t eventsExpected() const
Get the number of expected events in this luminosity block range.
xAOD::SortLumiBlockRangeByStart
Helper functor used to sort xAOD::LumiBlockRangeContainer-s.
Definition: SortLumiBlockRangeByStart.h:29
AthCommonDataStore< AthCommonMsg< AlgTool > >::declareProperty
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
Definition: AthCommonDataStore.h:145
LumiBlockMetaDataTool::m_cacheSuspectInputRangeAuxContainer
xAOD::LumiBlockRangeAuxContainer * m_cacheSuspectInputRangeAuxContainer
Definition: LumiBlockMetaDataTool.h:66
xAOD::LumiBlockRangeAuxContainer_v1
Auxiliary container for xAOD::LumiBlockRangeContainer_v1.
Definition: LumiBlockRangeAuxContainer_v1.h:34
python.AthDsoLogger.out
out
Definition: AthDsoLogger.py:71
AthCommonDataStore< AthCommonMsg< AlgTool > >::m_evtStore
StoreGateSvc_t m_evtStore
Pointer to StoreGate (event store by default)
Definition: AthCommonDataStore.h:390
AthCommonDataStore< AthCommonMsg< AlgTool > >::m_vhka
std::vector< SG::VarHandleKeyArray * > m_vhka
Definition: AthCommonDataStore.h:398
LumiBlockMetaDataTool::m_cacheSuspectOutputRangeAuxContainer
xAOD::LumiBlockRangeAuxContainer * m_cacheSuspectOutputRangeAuxContainer
Definition: LumiBlockMetaDataTool.h:72
LumiBlockMetaDataTool::m_fileCurrentlyOpened
bool m_fileCurrentlyOpened
Definition: LumiBlockMetaDataTool.h:78
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
ATH_MSG_VERBOSE
#define ATH_MSG_VERBOSE(x)
Definition: AthMsgStreamMacros.h:28
LumiBlockMetaDataTool::finishUp
StatusCode finishUp()
Fill metaDataStore and ntuples.
Definition: LumiBlockMetaDataTool.cxx:186
AthenaPoolTestRead.sc
sc
Definition: AthenaPoolTestRead.py:27
SG::VarHandleKeyArray::setOwner
virtual void setOwner(IDataHandleHolder *o)=0
PlotCalibFromCool.ie
ie
Definition: PlotCalibFromCool.py:420
xAOD::LumiBlockRangeContainer
LumiBlockRangeContainer_v1 LumiBlockRangeContainer
Declare the latest version of the container.
Definition: LumiBlockRangeContainer.h:17
IDTPMcnv.htype
htype
Definition: IDTPMcnv.py:29
xAOD::LumiBlockRange
LumiBlockRange_v1 LumiBlockRange
Declare the latest version of the class.
Definition: LumiBlockRange.h:16
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
FortranAlgorithmOptions.fileName
fileName
Definition: FortranAlgorithmOptions.py:13
AthCommonDataStore
Definition: AthCommonDataStore.h:52
ATH_MSG_ERROR
#define ATH_MSG_ERROR(x)
Definition: AthMsgStreamMacros.h:33
python.BunchSpacingUtils.lb
lb
Definition: BunchSpacingUtils.py:88
xAOD::LumiBlockRange_v1::startRunNumber
uint32_t startRunNumber() const
Get the run number of the start time of the range.
LumiBlockMetaDataTool::m_LBColl_name
std::string m_LBColl_name
Definition: LumiBlockMetaDataTool.h:74
lumiFormat.i
int i
Definition: lumiFormat.py:85
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ATH_MSG_DEBUG
#define ATH_MSG_DEBUG(x)
Definition: AthMsgStreamMacros.h:29
xAOD::LumiBlockRangeAuxContainer
LumiBlockRangeAuxContainer_v1 LumiBlockRangeAuxContainer
Declare the latest version of the auxiliary container.
Definition: LumiBlockRangeAuxContainer.h:16
LumiBlockMetaDataTool::m_cacheOutputRangeContainer
xAOD::LumiBlockRangeContainer * m_cacheOutputRangeContainer
Definition: LumiBlockMetaDataTool.h:69
LumiBlockMetaDataTool::m_pMetaDataStore
StoreGateSvc_t m_pMetaDataStore
Definition: LumiBlockMetaDataTool.h:57
plotBeamSpotVxVal.range
range
Definition: plotBeamSpotVxVal.py:195
test_pyathena.parent
parent
Definition: test_pyathena.py:15
ATH_CHECK
#define ATH_CHECK
Definition: AthCheckMacros.h:40
xAOD::LumiBlockRange_v1::setEventsSeen
void setEventsSeen(uint32_t value)
Set the number of seen/processed events in this luminosity block range.
AthCommonDataStore< AthCommonMsg< AlgTool > >::m_detStore
StoreGateSvc_t m_detStore
Pointer to StoreGate (detector store by default)
Definition: AthCommonDataStore.h:393
DataVector
Derived DataVector<T>.
Definition: DataVector.h:794
DataVector::clear
void clear()
Erase all the elements in the collection.
AthAlgTool::AthAlgTool
AthAlgTool()
Default constructor:
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
merge_scale_histograms.doc
string doc
Definition: merge_scale_histograms.py:9
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
python.output.AtlRunQueryRoot.lbrange
lbrange
Definition: AtlRunQueryRoot.py:989
LumiBlockMetaDataTool::m_cacheOutputRangeAuxContainer
xAOD::LumiBlockRangeAuxContainer * m_cacheOutputRangeAuxContainer
Definition: LumiBlockMetaDataTool.h:70
DataVector::push_back
value_type push_back(value_type pElem)
Add an element to the end of the collection.
LumiBlockMetaDataTool::m_cacheInputRangeAuxContainer
xAOD::LumiBlockRangeAuxContainer * m_cacheInputRangeAuxContainer
Definition: LumiBlockMetaDataTool.h:64
DataVector::end
const_iterator end() const noexcept
Return a const_iterator pointing past the end of the collection.
DataVector::sort
void sort()
Sort the container.
a
TList * a
Definition: liststreamerinfos.cxx:10
LumiBlockMetaDataTool::m_unfinishedLBColl_name
std::string m_unfinishedLBColl_name
Definition: LumiBlockMetaDataTool.h:75
h
xAOD::LumiBlockRange_v1
Class describing a luminosity block range.
Definition: LumiBlockRange_v1.h:33
ATH_MSG_WARNING
#define ATH_MSG_WARNING(x)
Definition: AthMsgStreamMacros.h:32
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
SG::VarHandleBase::vhKey
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
Definition: StoreGate/src/VarHandleBase.cxx:623
LumiBlockMetaDataTool::m_suspectLBColl_name
std::string m_suspectLBColl_name
Definition: LumiBlockMetaDataTool.h:76
LumiBlockMetaDataTool::m_cacheSuspectOutputRangeContainer
xAOD::LumiBlockRangeContainer * m_cacheSuspectOutputRangeContainer
Definition: LumiBlockMetaDataTool.h:71
python.Bindings.keys
keys
Definition: Control/AthenaPython/python/Bindings.py:798
python.dummyaccess.exists
def exists(filename)
Definition: dummyaccess.py:9
DataVector::size
size_type size() const noexcept
Returns the number of elements in the collection.
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::empty
bool empty() const noexcept
Returns true if the collection is empty.
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
LumiBlockMetaDataTool::m_pInputStore
StoreGateSvc_t m_pInputStore
Definition: LumiBlockMetaDataTool.h:58