ATLAS Offline Software
Loading...
Searching...
No Matches
IBkgStreamsCache.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3*/
4
11
12#ifndef PILEUPTOOLS_IBKGSTREAMSCACHE_H
13#define PILEUPTOOLS_IBKGSTREAMSCACHE_H
14
15#include "GaudiKernel/IAlgTool.h"
17
18class IBeamIntensity;
19
23
24class IBkgStreamsCache : virtual public IAlgTool {
25public:
31 virtual StatusCode setup(int firstXing,
32 unsigned int nXings,
33 unsigned int firstStore,
34 IBeamIntensity* iBM)=0;
36 virtual void newEvent() = 0;
38 virtual void resetEvtsPerXingScaleFactor(float sf) = 0;
47 virtual StatusCode addSubEvts(unsigned int iXing,
48 xAOD::EventInfo* overEvent,
49 int t0BinCenter, bool loadEventProxies, unsigned int BCID) = 0;
56 virtual StatusCode addSubEvts(unsigned int iXing,
57 xAOD::EventInfo* overlaidEvent,
58 int t0BinCenter) = 0;
60 virtual unsigned int nStores() const = 0;
61
64};
65#endif // PILEUPTOOLS_IBKGSTREAMSCACHE_H
Interface to in-memory cache for pileup events.
virtual void resetEvtsPerXingScaleFactor(float sf)=0
rescale number of events per crossing
virtual unsigned int nStores() const =0
how many stores in cache
virtual StatusCode addSubEvts(unsigned int iXing, xAOD::EventInfo *overEvent, int t0BinCenter, bool loadEventProxies, unsigned int BCID)=0
Read input events in bkg stores and link them to overlay store.
virtual StatusCode addSubEvts(unsigned int iXing, xAOD::EventInfo *overlaidEvent, int t0BinCenter)=0
Read input events in bkg stores and link them to overlay store.
DeclareInterfaceID(IBkgStreamsCache, 1, 0)
Creates the InterfaceID and interfaceID() method.
virtual StatusCode setup(int firstXing, unsigned int nXings, unsigned int firstStore, IBeamIntensity *iBM)=0
virtual void newEvent()=0
inform concrete cache that we start overlaying a new event
EventInfo_v1 EventInfo
Definition of the latest event info version.