ATLAS Offline Software
|
#include <PileUpClassification.h>
Public Types | |
enum | PileuType_t { SIGNAL = 0, ALL, INTIME, OUTOFTIME, RESTOFMB, CAVERN, ALLMINBIAS, UNKONW = 9999 } |
define some Pile-up classification Important : this classification is copied in McParticleAlgs/python/JobOptCfg.py report any modification here to this jobOption ! More... | |
typedef enum PileUpClassification::PileuType_t | PileuType_t |
define some Pile-up classification Important : this classification is copied in McParticleAlgs/python/JobOptCfg.py report any modification here to this jobOption ! More... | |
Static Public Member Functions | |
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. More... | |
static void | findEventIterators (PileuType_t putype, const McEventCollection *evts, size_t &firstIndex, size_t &lastIndex) |
Find interval [firstIndex,lastIndex] containing all GenEvents of type putype from the McEventCollection. More... | |
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. More... | |
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 McEventCollection. More... | |
Utilities to retrieve GenEvents according to their pile-up type from the McEventCollection. The pile-up type is defined in https://twiki.cern.ch/twiki/bin/viewauth/Atlas/PileupDigitization#Arrangement_of_Truth_Information All utilities provided here rely on the above organisation.
Definition at line 23 of file PileUpClassification.h.
define some Pile-up classification Important : this classification is copied in McParticleAlgs/python/JobOptCfg.py report any modification here to this jobOption !
define some Pile-up classification Important : this classification is copied in McParticleAlgs/python/JobOptCfg.py report any modification here to this jobOption !
Enumerator | |
---|---|
SIGNAL | |
ALL | |
INTIME | |
OUTOFTIME | |
RESTOFMB | |
CAVERN | |
ALLMINBIAS | |
UNKONW |
Definition at line 29 of file PileUpClassification.h.
|
static |
Fill evtToPUType so that entry i is the pile-up type of GenEvent number i inside the McEventCollection.
Definition at line 93 of file PileUpClassification.cxx.
|
static |
Find interval [firstIndex,lastIndex] containing all GenEvents of type putype from the McEventCollection.
Definition at line 66 of file PileUpClassification.cxx.
|
static |
Find interval [fEvt,lEvt] containing all GenEvents of type putype from the McEventCollection.
IMPORTANT : fEvt and lEvt are expected to be first and last iterators on the McEventCollection !
Definition at line 8 of file PileUpClassification.cxx.
|
static |
Return the type of pile-up event of the GenEvent number evtIndex in the McEventCollection.
Definition at line 75 of file PileUpClassification.cxx.