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 "
SimGeneral/TrackingAnalysis/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
24
#include "
SimGeneral/TrackingAnalysis/interface/EncodedTruthId.h
"
25
26
#include "
Utilities/Timing/interface/TimingReport.h
"
27
#include "
Utilities/Timing/interface/TimerStack.h
"
28
29
class
PileupInformation
:
public
edm::EDProducer
30
{
31
32
public
:
33
34
explicit
PileupInformation
(
const
edm::ParameterSet
& );
35
36
private
:
37
38
void
produce
(
edm::Event
&,
const
edm::EventSetup
& );
39
40
edm::ParameterSet
conf_
;
41
42
typedef
std::map<EncodedEventId, unsigned int>
EncodedEventIdToIndex
;
43
typedef
std::map< int, int >
myindex
;
44
myindex
event_index_
;
45
46
std::vector<float>
zpositions
;
47
std::vector<float>
sumpT_lowpT
;
48
std::vector<float>
sumpT_highpT
;
49
std::vector<int>
ntrks_lowpT
;
50
std::vector<int>
ntrks_highpT
;
51
52
53
double
distanceCut_
;
54
double
volumeRadius_
;
55
double
volumeZ_
;
56
double
pTcut_1_
;
57
double
pTcut_2_
;
58
59
edm::InputTag
trackingTruth_
;
60
edm::InputTag
PileupInfoLabel_
;
61
62
std::string
MessageCategory_
;
63
std::string
simHitLabel_
;
64
std::auto_ptr<MixCollection<SimTrack> >
simTracks_
;
65
std::auto_ptr<MixCollection<SimVertex> >
simVertexes_
;
66
67
68
69
};
70
71
72
#endif
PileupInformation::simTracks_
std::auto_ptr< MixCollection< SimTrack > > simTracks_
Definition:
PileupInformation.h:64
PileupInformation::MessageCategory_
std::string MessageCategory_
Definition:
PileupInformation.h:62
SimTrack.h
PileupInformation::distanceCut_
double distanceCut_
Definition:
PileupInformation.h:53
PileupInformation::pTcut_1_
double pTcut_1_
Definition:
PileupInformation.h:56
Event.h
CrossingFrame.h
PileupInformation::EncodedEventIdToIndex
std::map< EncodedEventId, unsigned int > EncodedEventIdToIndex
Definition:
PileupInformation.h:42
TrackingVertexContainer.h
PileupInformation::pTcut_2_
double pTcut_2_
Definition:
PileupInformation.h:57
Handle.h
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
PileupInformation::volumeZ_
double volumeZ_
Definition:
PileupInformation.h:55
edm::EDProducer
Definition:
EDProducer.h:22
MixCollection.h
ParameterSet.h
PileupInformation::PileupInformation
PileupInformation(const edm::ParameterSet &)
Definition:
PileupInformation.cc:20
PileupInformation::conf_
edm::ParameterSet conf_
Definition:
PileupInformation.h:40
PileupInformation::produce
void produce(edm::Event &, const edm::EventSetup &)
Definition:
PileupInformation.cc:53
PileupInformation::PileupInfoLabel_
edm::InputTag PileupInfoLabel_
Definition:
PileupInformation.h:60
EncodedTruthId.h
PileupInformation::sumpT_highpT
std::vector< float > sumpT_highpT
Definition:
PileupInformation.h:48
SimVertex.h
edm::EventSetup
Definition:
EventSetup.h:44
PileupInformation
Definition:
PileupInformation.h:29
PileupInformation::zpositions
std::vector< float > zpositions
Definition:
PileupInformation.h:46
HepMCProduct.h
PileupInformation::event_index_
myindex event_index_
Definition:
PileupInformation.h:44
PileupInformation::volumeRadius_
double volumeRadius_
Definition:
PileupInformation.h:54
TrackingParticleSelector.h
TimingReport.h
EDProducer.h
PileupInformation::simVertexes_
std::auto_ptr< MixCollection< SimVertex > > simVertexes_
Definition:
PileupInformation.h:65
PSimHit.h
PileupInformation::ntrks_lowpT
std::vector< int > ntrks_lowpT
Definition:
PileupInformation.h:49
TimerStack.h
PileupInformation::sumpT_lowpT
std::vector< float > sumpT_lowpT
Definition:
PileupInformation.h:47
edm::InputTag
Definition:
InputTag.h:17
edm::ParameterSet
Definition:
ParameterSet.h:35
TrackingParticleFwd.h
PileupInformation::trackingTruth_
edm::InputTag trackingTruth_
Definition:
PileupInformation.h:59
edm::Event
Definition:
Event.h:56
PileupInformation::ntrks_highpT
std::vector< int > ntrks_highpT
Definition:
PileupInformation.h:50
PileupInformation::simHitLabel_
std::string simHitLabel_
Definition:
PileupInformation.h:63
PileupInformation::myindex
std::map< int, int > myindex
Definition:
PileupInformation.h:43
PileupSummaryInfo.h
Generated for CMSSW Reference Manual by
1.8.5