ATLAS Offline Software
Loading...
Searching...
No Matches
PileUpClassification.h
Go to the documentation of this file.
1
2
3/*
4 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5*/
6
17#ifndef MCPARTICLEEVENT_PileUpClassification_H
18#define MCPARTICLEEVENT_PileUpClassification_H
19
20// GeneratorObjects includes
22
24public:
25
32
33
34
35
39
41 static void findEventIterators(PileuType_t putype, const McEventCollection* evts, size_t &firstIndex, size_t &lastIndex );
42
44 static PileuType_t pileUpType(const McEventCollection* evts, size_t evtIndex);
45
47 static void fillPileUpType(const McEventCollection* evts, std::vector<size_t> &evtToPUType);
48
49protected:
50
51
52};
53
54
55#endif
DataModel_detail::const_iterator< DataVector > const_iterator
Definition DataVector.h:838
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...