Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
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
public
:
30
explicit
PileupInformation
(
const
edm::ParameterSet
&);
31
32
private
:
33
void
produce
(
edm::Event
&,
const
edm::EventSetup
&)
override
;
34
35
edm::ParameterSet
conf_
;
36
37
typedef
std::map<EncodedEventId, unsigned int>
EncodedEventIdToIndex
;
38
typedef
std::map<int, int>
myindex
;
39
myindex
event_index_
;
40
41
std::vector<float>
zpositions
;
42
std::vector<float>
sumpT_lowpT
;
43
std::vector<float>
sumpT_highpT
;
44
std::vector<int>
ntrks_lowpT
;
45
std::vector<int>
ntrks_highpT
;
46
47
double
distanceCut_
;
48
double
volumeRadius_
;
49
double
volumeZ_
;
50
double
pTcut_1_
;
51
double
pTcut_2_
;
52
bool
isPreMixed_
;
53
54
edm::EDGetTokenT<TrackingParticleCollection>
trackingTruthT_
;
55
edm::EDGetTokenT<TrackingVertexCollection>
trackingTruthV_
;
56
edm::EDGetTokenT<PileupMixingContent>
PileupInfoLabel_
;
57
edm::EDGetTokenT<int>
bunchSpacingToken_
;
58
edm::EDGetTokenT<std::vector<PileupSummaryInfo>
>
pileupSummaryToken_
;
59
edm::EDGetTokenT<PileupVertexContent>
PileupVtxLabel_
;
60
61
bool
LookAtTrackingTruth_
;
62
63
bool
saveVtxTimes_
;
64
65
std::string
MessageCategory_
;
66
//std::string simHitLabel_;
67
//std::unique_ptr<MixCollection<SimTrack> > simTracks_;
68
//std::unique_ptr<MixCollection<SimVertex> > simVertexes_;
69
};
70
71
#endif
PileupVertexContent.h
PileupInformation::PileupInfoLabel_
edm::EDGetTokenT< PileupMixingContent > PileupInfoLabel_
Definition:
PileupInformation.h:56
PileupInformation::pileupSummaryToken_
edm::EDGetTokenT< std::vector< PileupSummaryInfo > > pileupSummaryToken_
Definition:
PileupInformation.h:58
PileupInformation::MessageCategory_
std::string MessageCategory_
Definition:
PileupInformation.h:65
PileupInformation::myindex
std::map< int, int > myindex
Definition:
PileupInformation.h:38
SimTrack.h
PileupInformation::distanceCut_
double distanceCut_
Definition:
PileupInformation.h:47
PileupInformation::pTcut_1_
double pTcut_1_
Definition:
PileupInformation.h:50
PileupMixingContent.h
Event.h
CrossingFrame.h
PileupInformation::EncodedEventIdToIndex
std::map< EncodedEventId, unsigned int > EncodedEventIdToIndex
Definition:
PileupInformation.h:37
TrackingVertexContainer.h
PileupInformation::bunchSpacingToken_
edm::EDGetTokenT< int > bunchSpacingToken_
Definition:
PileupInformation.h:57
PileupInformation::pTcut_2_
double pTcut_2_
Definition:
PileupInformation.h:51
edm::EDGetTokenT< TrackingParticleCollection >
PileupInformation::produce
void produce(edm::Event &, const edm::EventSetup &) override
Definition:
PileupInformation.cc:66
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
PileupInformation::volumeZ_
double volumeZ_
Definition:
PileupInformation.h:49
MixCollection.h
ParameterSet.h
EDProducer.h
PileupInformation::PileupInformation
PileupInformation(const edm::ParameterSet &)
Definition:
PileupInformation.cc:19
PileupInformation::conf_
edm::ParameterSet conf_
Definition:
PileupInformation.h:35
EncodedTruthId.h
PileupInformation::sumpT_highpT
std::vector< float > sumpT_highpT
Definition:
PileupInformation.h:43
SimVertex.h
edm::EventSetup
Definition:
EventSetup.h:59
PileupInformation::isPreMixed_
bool isPreMixed_
Definition:
PileupInformation.h:52
PileupInformation
Definition:
PileupInformation.h:28
PileupInformation::zpositions
std::vector< float > zpositions
Definition:
PileupInformation.h:41
HepMCProduct.h
PileupInformation::event_index_
myindex event_index_
Definition:
PileupInformation.h:39
PileupInformation::volumeRadius_
double volumeRadius_
Definition:
PileupInformation.h:48
PSimHit.h
PileupInformation::LookAtTrackingTruth_
bool LookAtTrackingTruth_
Definition:
PileupInformation.h:61
edm::stream::EDProducer
Definition:
EDProducer.h:36
PileupInformation::ntrks_lowpT
std::vector< int > ntrks_lowpT
Definition:
PileupInformation.h:44
PileupInformation::saveVtxTimes_
bool saveVtxTimes_
Definition:
PileupInformation.h:63
PileupInformation::trackingTruthT_
edm::EDGetTokenT< TrackingParticleCollection > trackingTruthT_
Definition:
PileupInformation.h:54
PileupInformation::PileupVtxLabel_
edm::EDGetTokenT< PileupVertexContent > PileupVtxLabel_
Definition:
PileupInformation.h:59
PileupInformation::sumpT_lowpT
std::vector< float > sumpT_lowpT
Definition:
PileupInformation.h:42
edm::ParameterSet
Definition:
ParameterSet.h:47
PileupInformation::trackingTruthV_
edm::EDGetTokenT< TrackingVertexCollection > trackingTruthV_
Definition:
PileupInformation.h:55
TrackingParticleFwd.h
edm::Event
Definition:
Event.h:73
PileupInformation::ntrks_highpT
std::vector< int > ntrks_highpT
Definition:
PileupInformation.h:45
Handle.h
PileupSummaryInfo.h
Generated for CMSSW Reference Manual by
1.8.5