|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef PILEUPEVENTLOOPMGR_H
6 #define PILEUPEVENTLOOPMGR_H
14 #include "GaudiKernel/MinimalEventLoopMgr.h"
21 #include "Gaudi/Property.h"
22 #include "GaudiKernel/ServiceHandle.h"
23 #include "GaudiKernel/ToolHandle.h"
24 #include "GaudiKernel/IAlgExecStateSvc.h"
87 inline unsigned int getBCID(
int bunchXing,
unsigned int centralBCID)
const {
168 Gaudi::Property<uint32_t>
m_mcChannelNumber{
this,
"MCChannelNumber", 0,
"sample MC channel number" };
170 #endif // PILEUPTOOLS_PILEUPEVENTLOOPMGR_H
Interface to in-memory cache for pileup events.
ServiceHandle< IIncidentSvc > m_incidentSvc
Incident Service.
ServiceHandle< IEvtIdModifierSvc > IEvtIdModifierSvc_t
Abstract interface for seeking within an event stream.
virtual ~PileUpEventLoopMgr()
Standard Destructor.
Gaudi::Property< bool > m_allowSerialAndMPToDiffer
property: Default true.
ServiceHandle< IEvtSelector > m_signalSel
Signal Event selector (for overlay).
virtual StatusCode nextEvent(int maxevt)
implementation of IAppMgreUI::terminate
ServiceHandle< IEvtSelector > m_origSel
Original (Physics) Event selector (background for overlay).
The ATLAS event loop for pile-up applications.
Gaudi::Property< float > m_xingFreq
Xing frequency(ns);.
ServiceHandle< StoreGateSvc > m_evtStore
output store
Gaudi::Property< std::string > m_evinfName
SG key for the EventInfoContainer.
virtual StatusCode executeAlgorithms(const EventContext &ctx)
Run the algorithms for the current event.
PileUpStream m_origStream
Input Stream.
unsigned int m_maxBunchCrossingPerOrbit
max bunch crossings per orbit
the preferred mechanism to access information from the different event stores in a pileup job.
The Athena Transient Store API.
ServiceHandle< PileUpMergeSvc > m_mergeSvc
PileUp Merge Service.
bool msgLvl(const MSG::Level lvl) const
Test the output level.
Gaudi::Property< bool > m_allowSubEvtsEOF
property: allow sub evts EOF condition when maxevt==-1
PileUpEventLoopMgr(const std::string &nam, ISvcLocator *svcLoc)
Standard Constructor.
::StatusCode StatusCode
StatusCode definition for legacy code.
ServiceHandle< IBeamIntensity > m_beamInt
property: beam intensity service handle for beam profile in local time
Class to provide easy MsgStream access and capabilities.
a triple selector/context/store defines a stream
virtual StatusCode seek(int evt)
Seek to a given event.
Gaudi::Property< std::string > m_evinfContName
SG key for the EventInfoContainer.
StatusCode setupStreams()
setup input and overlay selectors and iters
Gaudi::Property< uint32_t > m_mcChannelNumber
MsgStream & msg() const
The standard message stream.
Gaudi::Property< int > m_firstXing
first xing to be simulated (0th xing is 1st after trigger)
unsigned int getBCID(int bunchXing, unsigned int centralBCID) const
return the 'fake BCID' corresponding to bunchXing
virtual StatusCode executeEvent(EventContext &&ctx)
implementation of IEventProcessor::executeEvent(void* par)
Gaudi::Property< float > m_maxCollPerXing
(max) minBias interactions per Xing, for setting MC luminosity
IEvtIdModifierSvc_t m_evtIdModSvc
virtual int curEvent() const
Return the current event count.
ToolHandleArray< IBkgStreamsCache > m_caches
BkgStreamsCaches managing background events.
Gaudi::Property< bool > m_xingByXing
property: process bkg events xing by xing without caching them
virtual StatusCode finalize()
implementation of IAppMgrUI::finalize
uint32_t m_currentRun
current run number
SmartIF< IAlgExecStateSvc > m_aess
Reference to the Algorithm Execution State Svc.
This class provides a unique identification for each event, in terms of run/event number and/or a tim...
Gaudi::Property< int > m_lastXing
last xing to be simulated (0th xing is 1st after trigger)
a triple selector/context/store defines a stream
Gaudi::Property< int > m_failureMode
property: control behaviour of event loop on algorithm failure
virtual StatusCode initialize()
implementation of IAppMgrUI::initialize
virtual void modifyEventContext(EventContext &ctx, const EventID &eID, bool consume_modifier_stream)
ServiceHandle< IBeamLuminosity > m_beamLumi
property: beam intensity service handle for luminosity profile in iovtime