Main Page
Namespaces
Classes
Package Documentation
SimGeneral
PileupInformation
interface
PileupInformation.h
Go to the documentation of this file.
1
#ifndef SimGeneral_PileupInformation_h
2
#define SimGeneral_PileupInformation_h
3
4
#include <map>
5
6
#include "
DataFormats/Common/interface/Handle.h
"
7
8
#include "
FWCore/Framework/interface/stream/EDProducer.h
"
9
#include "
FWCore/Framework/interface/Event.h
"
10
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
11
12
//#include "CommonTools/RecoAlgos/interface/TrackingParticleSelector.h"
13
14
#include "
SimDataFormats/CrossingFrame/interface/CrossingFrame.h
"
15
#include "
SimDataFormats/CrossingFrame/interface/MixCollection.h
"
16
#include "
SimDataFormats/GeneratorProducts/interface/HepMCProduct.h
"
17
#include "
SimDataFormats/Track/interface/SimTrack.h
"
18
#include "
SimDataFormats/Vertex/interface/SimVertex.h
"
19
#include "
SimDataFormats/TrackingAnalysis/interface/TrackingParticleFwd.h
"
20
#include "
SimDataFormats/TrackingAnalysis/interface/TrackingVertexContainer.h
"
21
#include "
SimDataFormats/TrackingHit/interface/PSimHit.h
"
22
#include "
SimDataFormats/PileupSummaryInfo/interface/PileupSummaryInfo.h
"
23
#include "
SimDataFormats/PileupSummaryInfo/interface/PileupMixingContent.h
"
24
#include "
SimDataFormats/PileupSummaryInfo/interface/PileupVertexContent.h
"
25
26
#include "
SimGeneral/TrackingAnalysis/interface/EncodedTruthId.h
"
27
28
class
PileupInformation
:
public
edm::stream::EDProducer
<>
29
{
30
31
public
:
32
33
explicit
PileupInformation
(
const
edm::ParameterSet
& );
34
35
private
:
36
37
void
produce
(
edm::Event
&,
const
edm::EventSetup
& )
override
;
38
39
edm::ParameterSet
conf_
;
40
41
typedef
std::map<EncodedEventId, unsigned int>
EncodedEventIdToIndex
;
42
typedef
std::map< int, int >
myindex
;
43
myindex
event_index_
;
44
45
std::vector<float>
zpositions
;
46
std::vector<float>
sumpT_lowpT
;
47
std::vector<float>
sumpT_highpT
;
48
std::vector<int>
ntrks_lowpT
;
49
std::vector<int>
ntrks_highpT
;
50
51
52
double
distanceCut_
;
53
double
volumeRadius_
;
54
double
volumeZ_
;
55
double
pTcut_1_
;
56
double
pTcut_2_
;
57
bool
isPreMixed_
;
58
59
60
edm::EDGetTokenT<TrackingParticleCollection>
trackingTruthT_
;
61
edm::EDGetTokenT<TrackingVertexCollection>
trackingTruthV_
;
62
edm::EDGetTokenT<PileupMixingContent>
PileupInfoLabel_
;
63
edm::EDGetTokenT<int>
bunchSpacingToken_
;
64
edm::EDGetTokenT<std::vector<PileupSummaryInfo>
>
pileupSummaryToken_
;
65
edm::EDGetTokenT<PileupVertexContent>
PileupVtxLabel_
;
66
67
bool
LookAtTrackingTruth_
;
68
69
bool
saveVtxTimes_
;
70
71
std::string
MessageCategory_
;
72
//std::string simHitLabel_;
73
//std::unique_ptr<MixCollection<SimTrack> > simTracks_;
74
//std::unique_ptr<MixCollection<SimVertex> > simVertexes_;
75
76
77
78
};
79
80
81
#endif
PileupVertexContent.h
PileupInformation::PileupInfoLabel_
edm::EDGetTokenT< PileupMixingContent > PileupInfoLabel_
Definition:
PileupInformation.h:62
PileupInformation::pileupSummaryToken_
edm::EDGetTokenT< std::vector< PileupSummaryInfo > > pileupSummaryToken_
Definition:
PileupInformation.h:64
PileupInformation::MessageCategory_
std::string MessageCategory_
Definition:
PileupInformation.h:71
SimTrack.h
PileupInformation::distanceCut_
double distanceCut_
Definition:
PileupInformation.h:52
PileupInformation::pTcut_1_
double pTcut_1_
Definition:
PileupInformation.h:55
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
PileupMixingContent.h
Event.h
CrossingFrame.h
PileupInformation::EncodedEventIdToIndex
std::map< EncodedEventId, unsigned int > EncodedEventIdToIndex
Definition:
PileupInformation.h:41
TrackingVertexContainer.h
PileupInformation::bunchSpacingToken_
edm::EDGetTokenT< int > bunchSpacingToken_
Definition:
PileupInformation.h:63
PileupInformation::pTcut_2_
double pTcut_2_
Definition:
PileupInformation.h:56
edm::EDGetTokenT< TrackingParticleCollection >
PileupInformation::produce
void produce(edm::Event &, const edm::EventSetup &) override
Definition:
PileupInformation.cc:67
PileupInformation::volumeZ_
double volumeZ_
Definition:
PileupInformation.h:54
MixCollection.h
ParameterSet.h
EDProducer.h
PileupInformation::PileupInformation
PileupInformation(const edm::ParameterSet &)
Definition:
PileupInformation.cc:20
PileupInformation::conf_
edm::ParameterSet conf_
Definition:
PileupInformation.h:39
EncodedTruthId.h
PileupInformation::sumpT_highpT
std::vector< float > sumpT_highpT
Definition:
PileupInformation.h:47
SimVertex.h
edm::EventSetup
Definition:
EventSetup.h:48
PileupInformation::isPreMixed_
bool isPreMixed_
Definition:
PileupInformation.h:57
PileupInformation
Definition:
PileupInformation.h:28
PileupInformation::zpositions
std::vector< float > zpositions
Definition:
PileupInformation.h:45
HepMCProduct.h
PileupInformation::event_index_
myindex event_index_
Definition:
PileupInformation.h:43
PileupInformation::volumeRadius_
double volumeRadius_
Definition:
PileupInformation.h:53
PSimHit.h
PileupInformation::LookAtTrackingTruth_
bool LookAtTrackingTruth_
Definition:
PileupInformation.h:67
edm::stream::EDProducer
Definition:
EDProducer.h:38
PileupInformation::ntrks_lowpT
std::vector< int > ntrks_lowpT
Definition:
PileupInformation.h:48
PileupInformation::saveVtxTimes_
bool saveVtxTimes_
Definition:
PileupInformation.h:69
PileupInformation::trackingTruthT_
edm::EDGetTokenT< TrackingParticleCollection > trackingTruthT_
Definition:
PileupInformation.h:60
PileupInformation::PileupVtxLabel_
edm::EDGetTokenT< PileupVertexContent > PileupVtxLabel_
Definition:
PileupInformation.h:65
PileupInformation::sumpT_lowpT
std::vector< float > sumpT_lowpT
Definition:
PileupInformation.h:46
edm::ParameterSet
Definition:
ParameterSet.h:36
PileupInformation::trackingTruthV_
edm::EDGetTokenT< TrackingVertexCollection > trackingTruthV_
Definition:
PileupInformation.h:61
TrackingParticleFwd.h
edm::Event
Definition:
Event.h:69
PileupInformation::ntrks_highpT
std::vector< int > ntrks_highpT
Definition:
PileupInformation.h:49
PileupInformation::myindex
std::map< int, int > myindex
Definition:
PileupInformation.h:42
Handle.h
PileupSummaryInfo.h
Generated for CMSSW Reference Manual by
1.8.11