17#ifndef MCPARTICLEEVENT_PileUpClassification_H
18#define MCPARTICLEEVENT_PileUpClassification_H
DataModel_detail::const_iterator< DataVector > const_iterator
This defines the McEventCollection, which is really just an ObjectVector of McEvent objectsFile: Gene...
Utilities to retrieve GenEvents according to their pile-up type from the McEventCollection.
PileuType_t
define some Pile-up classification Important : this classification is copied in McParticleAlgs/python...
static void findEventIterators(PileuType_t putype, McEventCollection::const_iterator &fEvt, McEventCollection::const_iterator &lEvt)
Find interval [fEvt,lEvt] containing all GenEvents of type putype from the McEventCollection.
static PileuType_t pileUpType(const McEventCollection *evts, size_t evtIndex)
Return the type of pile-up event of the GenEvent number evtIndex in the McEventCollection.
static void fillPileUpType(const McEventCollection *evts, std::vector< size_t > &evtToPUType)
Fill evtToPUType so that entry i is the pile-up type of GenEvent number i inside the McEventCollectio...