ATLAS Offline Software
PileUpClassification.h
Go to the documentation of this file.
1 
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 
24 public:
25 
29  typedef enum PileuType_t { SIGNAL = 0,
30  ALL,
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 
49 protected:
50 
51 
52 };
53 
54 
55 #endif
DataModel_detail::const_iterator
Const iterator class for DataVector/DataList.
Definition: DVLIterator.h:82
PileUpClassification::UNKONW
@ UNKONW
Definition: PileUpClassification.h:31
PileUpClassification::PileuType_t
PileuType_t
define some Pile-up classification Important : this classification is copied in McParticleAlgs/python...
Definition: PileUpClassification.h:29
PileUpClassification::INTIME
@ INTIME
Definition: PileUpClassification.h:31
PileUpClassification::ALL
@ ALL
Definition: PileUpClassification.h:30
PileUpClassification::SIGNAL
@ SIGNAL
Definition: PileUpClassification.h:29
PileUpClassification
Definition: PileUpClassification.h:23
PileUpClassification::OUTOFTIME
@ OUTOFTIME
Definition: PileUpClassification.h:31
McEventCollection.h
McEventCollection
This defines the McEventCollection, which is really just an ObjectVector of McEvent objects.
Definition: McEventCollection.h:33
PileUpClassification::CAVERN
@ CAVERN
Definition: PileUpClassification.h:31
PileUpClassification::RESTOFMB
@ RESTOFMB
Definition: PileUpClassification.h:31
PileUpClassification::fillPileUpType
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...
Definition: PileUpClassification.cxx:93
PileUpClassification::ALLMINBIAS
@ ALLMINBIAS
Definition: PileUpClassification.h:31
PileUpClassification::pileUpType
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.
Definition: PileUpClassification.cxx:75
PileUpClassification::findEventIterators
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.
Definition: PileUpClassification.cxx:8