Interface to in-memory cache for pileup events.
More...
#include <IBkgStreamsCache.h>
|
| 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
|
| virtual void | resetEvtsPerXingScaleFactor (float sf)=0 |
| | rescale number of events per crossing
|
| 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.
|
| virtual unsigned int | nStores () const =0 |
| | how many stores in cache
|
| | DeclareInterfaceID (IBkgStreamsCache, 1, 0) |
| | Creates the InterfaceID and interfaceID() method.
|
Interface to in-memory cache for pileup events.
Definition at line 24 of file IBkgStreamsCache.h.
◆ addSubEvts() [1/2]
| virtual StatusCode IBkgStreamsCache::addSubEvts |
( |
unsigned int | iXing, |
|
|
xAOD::EventInfo * | overEvent, |
|
|
int | t0BinCenter, |
|
|
bool | loadEventProxies, |
|
|
unsigned int | BCID ) |
|
pure virtual |
Read input events in bkg stores and link them to overlay store.
- Parameters
-
| iXing | offset to first xing number (=0 first Xing, =nXings for last xing) |
| overlaidEvent | reference to resulting overlaid event |
| t0BinCenter | time wrto t0 of current bin center in ns |
| BCID | bunch-crossing ID of signal bunch crossing |
| loadEventProxies | should we load the event proxies or not. |
◆ addSubEvts() [2/2]
| virtual StatusCode IBkgStreamsCache::addSubEvts |
( |
unsigned int | iXing, |
|
|
xAOD::EventInfo * | overlaidEvent, |
|
|
int | t0BinCenter ) |
|
pure virtual |
Read input events in bkg stores and link them to overlay store.
- Parameters
-
| iXing | offset to first xing number (=0 first Xing, =nXings for last xing) |
| overlaidEvent | reference to resulting overlaid event |
| t0BinCenter | time wrto t0 of current bin center in ns |
◆ DeclareInterfaceID()
Creates the InterfaceID and interfaceID() method.
◆ newEvent()
| virtual void IBkgStreamsCache::newEvent |
( |
| ) |
|
|
pure virtual |
inform concrete cache that we start overlaying a new event
◆ nStores()
| virtual unsigned int IBkgStreamsCache::nStores |
( |
| ) |
const |
|
pure virtual |
◆ resetEvtsPerXingScaleFactor()
| virtual void IBkgStreamsCache::resetEvtsPerXingScaleFactor |
( |
float | sf | ) |
|
|
pure virtual |
rescale number of events per crossing
◆ setup()
| virtual StatusCode IBkgStreamsCache::setup |
( |
int | firstXing, |
|
|
unsigned int | nXings, |
|
|
unsigned int | firstStore, |
|
|
IBeamIntensity * | iBM ) |
|
pure virtual |
- Parameters
-
| firstXing | index of first xing to be processed (0=t0) |
| nXings | number of bunch Xings to be processed |
| firstStore | id of first store in cache |
The documentation for this class was generated from the following file: