ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Control
PileUpTools
PileUpTools
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"
16
#include "
xAODEventInfo/EventInfo.h
"
17
18
class
IBeamIntensity
;
19
23
24
class
IBkgStreamsCache
:
virtual
public
IAlgTool {
25
public
:
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
63
DeclareInterfaceID
(
IBkgStreamsCache
, 1, 0 );
64
};
65
#endif
// PILEUPTOOLS_IBKGSTREAMSCACHE_H
IBeamIntensity
Definition
IBeamIntensity.h:19
IBkgStreamsCache
Interface to in-memory cache for pileup events.
Definition
IBkgStreamsCache.h:24
IBkgStreamsCache::resetEvtsPerXingScaleFactor
virtual void resetEvtsPerXingScaleFactor(float sf)=0
rescale number of events per crossing
IBkgStreamsCache::nStores
virtual unsigned int nStores() const =0
how many stores in cache
IBkgStreamsCache::addSubEvts
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.
IBkgStreamsCache::addSubEvts
virtual StatusCode addSubEvts(unsigned int iXing, xAOD::EventInfo *overlaidEvent, int t0BinCenter)=0
Read input events in bkg stores and link them to overlay store.
IBkgStreamsCache::DeclareInterfaceID
DeclareInterfaceID(IBkgStreamsCache, 1, 0)
Creates the InterfaceID and interfaceID() method.
IBkgStreamsCache::setup
virtual StatusCode setup(int firstXing, unsigned int nXings, unsigned int firstStore, IBeamIntensity *iBM)=0
IBkgStreamsCache::newEvent
virtual void newEvent()=0
inform concrete cache that we start overlaying a new event
xAOD::EventInfo
EventInfo_v1 EventInfo
Definition of the latest event info version.
Definition
IEventInfoCnvTool.h:16
EventInfo.h
Generated on
for ATLAS Offline Software by
1.17.0