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