5#ifndef PILEUPSTREAM_PILEUPSTREAM_H
6#define PILEUPSTREAM_PILEUPSTREAM_H
15#include "GaudiKernel/IEvtSelector.h"
16#include "GaudiKernel/ServiceHandle.h"
45 const std::string& selecName);
the preferred mechanism to access information from the different event stores in a pileup job.
AthMessaging(IMessageSvc *msgSvc, const std::string &name)
Constructor.
bool used() const
has this stream already be used in this event?
PileUpStream & operator=(const PileUpStream &rhs)=delete
bool m_ownEvtIterator
do we own p_iter?
bool m_ownStore
is m_SG a store we cloned from the master one?
bool setupStore()
setup input and overlay selectors and iters
const std::string & name()
bool m_neverLoaded
has an event been loaded into this stream?
bool setupStore(bool)
backward compatibility
PileUpStream(const PileUpStream &rhs)=delete
const IEvtSelector & selector() const
ISvcLocator * serviceLocator()
const xAOD::EventInfo * nextEventPre(bool readRecord=true)
return next Event, load store with next Event
StatusCode nextRecordPre_Passive()
increment event iterator
bool m_used
has this stream already been used? (for the current event)
void setOriginalIRing(unsigned int iR)
bool loadStore()
clear store and load new proxies
SmartIF< IEvtSelector > m_sel
Selector.
StatusCode nextRecordPre()
increment event iterator before loading store
unsigned int originalIRing() const
index of the ring for which this stream was used originally
std::string m_name
Stream name.
StatusCode finalize()
finalize and release store. To be called on ... finalize()
unsigned int m_iOriginalRing
original ring in which event was used
const StoreGateSvc & store() const
EvtIterator * p_iter
Input Iterators.
IEvtSelector::Context EvtIterator
SmartIF< StoreGateSvc > m_SG
StoreGateSvc;.
void setActiveStore()
set ActiveStore
bool nextEventPre_Passive(bool readRecord)
like nextEventPre, but doesn't actually load anything
IEvtSelector & selector()
const EvtIterator & iterator() const
ServiceHandle< PileUpMergeSvc > m_mergeSvc
ISvcLocator * p_svcLoc
ServiceLocator.
The Athena Transient Store API.
EventInfo_v1 EventInfo
Definition of the latest event info version.