CMS 3D CMS Logo

MBUEandQCDValidation.h
Go to the documentation of this file.
1 #ifndef MBUEandQCDVALIDATION_H
2 #define MBUEandQCDVALIDATION_H
3 
4 /*class MBUEandQCDValidation
5  *
6  * Class to fill Event Generator dqm monitor elements; works on HepMCProduct
7  *
8  *
9  */
10 
11 // framework & common header files
15 
20 
22 
23 //DQM services
27 
30 
34 
35 #include <vector>
36 
38 public:
39  explicit MBUEandQCDValidation(const edm::ParameterSet&);
40  ~MBUEandQCDValidation() override;
41 
42  void analyze(const edm::Event&, const edm::EventSetup&) override;
43  void bookHistograms(DQMStore::IBooker& i, edm::Run const&, edm::EventSetup const&) override;
44  void dqmBeginRun(const edm::Run& r, const edm::EventSetup& c) override;
45 
46 private:
51 
52  unsigned int verbosity_;
53 
56 
58  std::vector<const HepMC::GenParticle*> hepmcGPCollection;
59  std::vector<double> hepmcCharge;
60 
63 
64  unsigned int getHFbin(double eta);
65 
66  bool isCharged(unsigned int i);
67  bool isNeutral(unsigned int i);
68  bool isNeutrino(unsigned int i);
69 
70  std::vector<double> eneInCell;
71 
73 
76 
80 
85 
86  //QCD-10-001 analysis
98 
99  //Charged jets
106 
107  //Identified particles multiplicities
116 
117  //Identified particles momentum specturm
126 
129 
130  //Jets no neutrino
144 
145  //Forward energy flow
149 
154 
155  // Jet Multiplicity Analysis
168 
169  //differential jet rates
171 
172  // SumET hiostograms
179 
180  const static unsigned int nphiBin;
181  const static unsigned int initSize;
182 
186 };
187 
188 #endif
MBUEandQCDValidation::dNchdeta2
MonitorElement * dNchdeta2
Definition: MBUEandQCDValidation.h:90
MBUEandQCDValidation::eneInCell
std::vector< double > eneInCell
Definition: MBUEandQCDValidation.h:70
MBUEandQCDValidation::nbquark
MonitorElement * nbquark
Definition: MBUEandQCDValidation.h:77
MBUEandQCDValidation::dNchjdpt
MonitorElement * dNchjdpt
Definition: MBUEandQCDValidation.h:102
MBUEandQCDValidation::hepmcCollectionToken_
edm::EDGetTokenT< edm::HepMCProduct > hepmcCollectionToken_
Definition: MBUEandQCDValidation.h:183
dqm::impl::MonitorElement
Definition: MonitorElement.h:98
GenJetCollection.h
MBUEandQCDValidation::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition: MBUEandQCDValidation.cc:491
MBUEandQCDValidation::elePt
MonitorElement * elePt
Definition: MBUEandQCDValidation.h:127
Handle.h
mps_fire.i
i
Definition: mps_fire.py:428
MBUEandQCDValidation::nL0
MonitorElement * nL0
Definition: MBUEandQCDValidation.h:111
MBUEandQCDValidation::pXim
MonitorElement * pXim
Definition: MBUEandQCDValidation.h:124
MessageLogger.h
MBUEandQCDValidation::genchjetCollectionToken_
edm::EDGetTokenT< reco::GenJetCollection > genchjetCollectionToken_
Definition: MBUEandQCDValidation.h:184
MBUEandQCDValidation::nSaFwdTrig
MonitorElement * nSaFwdTrig
Definition: MBUEandQCDValidation.h:75
MBUEandQCDValidation::nEvt2
MonitorElement * nEvt2
Definition: MBUEandQCDValidation.h:87
MBUEandQCDValidation::_JM80pt1
MonitorElement * _JM80pt1
Definition: MBUEandQCDValidation.h:164
ESHandle.h
MBUEandQCDValidation::dNchdeta1
MonitorElement * dNchdeta1
Definition: MBUEandQCDValidation.h:84
edm::Run
Definition: Run.h:45
MBUEandQCDValidation::hepmcCollection_
edm::InputTag hepmcCollection_
Definition: MBUEandQCDValidation.h:48
MBUEandQCDValidation::nK0s
MonitorElement * nK0s
Definition: MBUEandQCDValidation.h:110
edm::EDGetTokenT< edm::HepMCProduct >
MBUEandQCDValidation::nOmega
MonitorElement * nOmega
Definition: MBUEandQCDValidation.h:115
MBUEandQCDValidation::pt1pt2InvM
MonitorElement * pt1pt2InvM
Definition: MBUEandQCDValidation.h:138
MBUEandQCDValidation::nXim
MonitorElement * nXim
Definition: MBUEandQCDValidation.h:114
MBUEandQCDValidation::pL0
MonitorElement * pL0
Definition: MBUEandQCDValidation.h:121
MBUEandQCDValidation::hepmcGPCollection
std::vector< const HepMC::GenParticle * > hepmcGPCollection
status 1 GenParticle collection
Definition: MBUEandQCDValidation.h:58
MBUEandQCDValidation::_JM80njets
MonitorElement * _JM80njets
Definition: MBUEandQCDValidation.h:162
MBUEandQCDValidation::dNchdphi
MonitorElement * dNchdphi
Definition: MBUEandQCDValidation.h:94
MBUEandQCDValidation::_JM80pt2
MonitorElement * _JM80pt2
Definition: MBUEandQCDValidation.h:165
MBUEandQCDValidation::pKpm
MonitorElement * pKpm
Definition: MBUEandQCDValidation.h:119
MBUEandQCDValidation::nphiBin
const static unsigned int nphiBin
Definition: MBUEandQCDValidation.h:180
MBUEandQCDValidation::dNchjdeta
MonitorElement * dNchjdeta
Definition: MBUEandQCDValidation.h:101
MBUEandQCDValidation::nGamma
MonitorElement * nGamma
Definition: MBUEandQCDValidation.h:113
MBUEandQCDValidation::nDijet
MonitorElement * nDijet
Definition: MBUEandQCDValidation.h:131
MBUEandQCDValidation::nCha
MonitorElement * nCha
Definition: MBUEandQCDValidation.h:92
MBUEandQCDValidation::getHFbin
unsigned int getHFbin(double eta)
Definition: MBUEandQCDValidation.cc:1171
CaloCellManager
Definition: CaloCellManager.h:15
MBUEandQCDValidation::djr43
MonitorElement * djr43
Definition: MBUEandQCDValidation.h:170
MBUEandQCDValidation::dNjdeta
MonitorElement * dNjdeta
Definition: MBUEandQCDValidation.h:133
MBUEandQCDValidation::sumChPt
MonitorElement * sumChPt
Definition: MBUEandQCDValidation.h:143
DQMStore.h
MBUEandQCDValidation::pt1pt2optotch
MonitorElement * pt1pt2optotch
Definition: MBUEandQCDValidation.h:105
MBUEandQCDValidation::_sumEt1
MonitorElement * _sumEt1
Definition: MBUEandQCDValidation.h:174
MBUEandQCDValidation::_sumEt4
MonitorElement * _sumEt4
Definition: MBUEandQCDValidation.h:177
MBUEandQCDValidation::dEdetaHFmb
MonitorElement * dEdetaHFmb
Definition: MBUEandQCDValidation.h:147
MBUEandQCDValidation::muoPt
MonitorElement * muoPt
Definition: MBUEandQCDValidation.h:128
MBUEandQCDValidation::nChj
MonitorElement * nChj
Definition: MBUEandQCDValidation.h:100
MBUEandQCDValidation::isCharged
bool isCharged(unsigned int i)
Definition: MBUEandQCDValidation.cc:1139
MBUEandQCDValidation::nEvt1
MonitorElement * nEvt1
QCD-09-010 analysis.
Definition: MBUEandQCDValidation.h:82
MBUEandQCDValidation::sumJEt
MonitorElement * sumJEt
Definition: MBUEandQCDValidation.h:140
MBUEandQCDValidation::_JM25pt4
MonitorElement * _JM25pt4
Definition: MBUEandQCDValidation.h:161
MBUEandQCDValidation::dEdetaHFdj
MonitorElement * dEdetaHFdj
Definition: MBUEandQCDValidation.h:148
MBUEandQCDValidation::pt3Frac
MonitorElement * pt3Frac
Definition: MBUEandQCDValidation.h:139
MBUEandQCDValidation::_sumEt2
MonitorElement * _sumEt2
Definition: MBUEandQCDValidation.h:175
MBUEandQCDValidation::_sumEt
MonitorElement * _sumEt
Definition: MBUEandQCDValidation.h:173
MBUEandQCDValidation::eneHFmSel
MonitorElement * eneHFmSel
Definition: MBUEandQCDValidation.h:153
MBUEandQCDValidation::_sumEt5
MonitorElement * _sumEt5
Definition: MBUEandQCDValidation.h:178
MBUEandQCDValidation::theCalo
CaloCellManager * theCalo
manager of calorimetric cell structure
Definition: MBUEandQCDValidation.h:62
MBUEandQCDValidation::hepmcCharge
std::vector< double > hepmcCharge
Definition: MBUEandQCDValidation.h:59
MBUEandQCDValidation::nHFSD
MonitorElement * nHFSD
Definition: MBUEandQCDValidation.h:150
Service.h
PVValHelper::eta
Definition: PVValidationHelpers.h:69
MBUEandQCDValidation::leadChjpt
MonitorElement * leadChjpt
Definition: MBUEandQCDValidation.h:103
MBUEandQCDValidation::bookHistograms
void bookHistograms(DQMStore::IBooker &i, edm::Run const &, edm::EventSetup const &) override
Definition: MBUEandQCDValidation.cc:41
MBUEandQCDValidation::dNchdpt2
MonitorElement * dNchdpt2
Definition: MBUEandQCDValidation.h:91
Run.h
edm::ESHandle< HepPDT::ParticleDataTable >
MBUEandQCDValidation::_JM25njets
MonitorElement * _JM25njets
Definition: MBUEandQCDValidation.h:156
MBUEandQCDValidation::nKpm
MonitorElement * nKpm
Definition: MBUEandQCDValidation.h:109
MBUEandQCDValidation::pt1pt2optot
MonitorElement * pt1pt2optot
Definition: MBUEandQCDValidation.h:135
MBUEandQCDValidation::sumPt
MonitorElement * sumPt
Definition: MBUEandQCDValidation.h:142
DQMEDAnalyzer.h
MBUEandQCDValidation::MBUEandQCDValidation
MBUEandQCDValidation(const edm::ParameterSet &)
Definition: MBUEandQCDValidation.cc:19
MBUEandQCDValidation::_JM80ht
MonitorElement * _JM80ht
Definition: MBUEandQCDValidation.h:163
DQMEDAnalyzer
Definition: DQMEDAnalyzer.py:1
MBUEandQCDValidation::_JM25pt1
MonitorElement * _JM25pt1
Definition: MBUEandQCDValidation.h:158
WeightManager.h
MBUEandQCDValidation::dNchdSpt
MonitorElement * dNchdSpt
Definition: MBUEandQCDValidation.h:93
edm::ParameterSet
Definition: ParameterSet.h:47
MBUEandQCDValidation::isNeutrino
bool isNeutrino(unsigned int i)
Definition: MBUEandQCDValidation.cc:1160
Event.h
ParticleDataTable.h
MBUEandQCDValidation::ntHFm
MonitorElement * ntHFm
Definition: MBUEandQCDValidation.h:152
MBUEandQCDValidation::genjetCollectionToken_
edm::EDGetTokenT< reco::GenJetCollection > genjetCollectionToken_
Definition: MBUEandQCDValidation.h:185
MBUEandQCDValidation::sptDenLpt
MonitorElement * sptDenLpt
Definition: MBUEandQCDValidation.h:97
MBUEandQCDValidation::isNeutral
bool isNeutral(unsigned int i)
Definition: MBUEandQCDValidation.cc:1149
MBUEandQCDValidation::nNNbar
MonitorElement * nNNbar
Definition: MBUEandQCDValidation.h:112
MBUEandQCDValidation::leadTracketa
MonitorElement * leadTracketa
Definition: MBUEandQCDValidation.h:89
WeightManager
Definition: WeightManager.h:20
MBUEandQCDValidation::leadTrackpt
MonitorElement * leadTrackpt
Definition: MBUEandQCDValidation.h:88
MBUEandQCDValidation::djr10
MonitorElement * djr10
Definition: MBUEandQCDValidation.h:170
MBUEandQCDValidation::djr32
MonitorElement * djr32
Definition: MBUEandQCDValidation.h:170
MBUEandQCDValidation::pt1pt2Dphi
MonitorElement * pt1pt2Dphi
Definition: MBUEandQCDValidation.h:137
MBUEandQCDValidation::genchjetCollection_
edm::InputTag genchjetCollection_
Definition: MBUEandQCDValidation.h:49
MBUEandQCDValidation::nEvt
MonitorElement * nEvt
Definition: MBUEandQCDValidation.h:72
edm::EventSetup
Definition: EventSetup.h:57
MBUEandQCDValidation::djr21
MonitorElement * djr21
Definition: MBUEandQCDValidation.h:170
MBUEandQCDValidation::pGamma
MonitorElement * pGamma
Definition: MBUEandQCDValidation.h:123
HltBtagPostValidation_cff.c
c
Definition: HltBtagPostValidation_cff.py:31
MBUEandQCDValidation::ncandbquark
MonitorElement * ncandbquark
Definition: MBUEandQCDValidation.h:78
MBUEandQCDValidation::pPPbar
MonitorElement * pPPbar
Definition: MBUEandQCDValidation.h:118
MBUEandQCDValidation::_JM25ht
MonitorElement * _JM25ht
Definition: MBUEandQCDValidation.h:157
MBUEandQCDValidation::nj
MonitorElement * nj
Definition: MBUEandQCDValidation.h:132
InputTag.h
MBUEandQCDValidation::nNoFwdTrig
MonitorElement * nNoFwdTrig
Definition: MBUEandQCDValidation.h:74
alignCSCRings.r
r
Definition: alignCSCRings.py:93
MBUEandQCDValidation::pNNbar
MonitorElement * pNNbar
Definition: MBUEandQCDValidation.h:122
MBUEandQCDValidation::~MBUEandQCDValidation
~MBUEandQCDValidation() override
Definition: MBUEandQCDValidation.cc:37
MBUEandQCDValidation::EmpzHFm
MonitorElement * EmpzHFm
Definition: MBUEandQCDValidation.h:151
MBUEandQCDValidation::wmanager_
WeightManager wmanager_
Definition: MBUEandQCDValidation.h:47
MBUEandQCDValidation::pOmega
MonitorElement * pOmega
Definition: MBUEandQCDValidation.h:125
MBUEandQCDValidation::_sumEt3
MonitorElement * _sumEt3
Definition: MBUEandQCDValidation.h:176
MBUEandQCDValidation::initSize
const static unsigned int initSize
Definition: MBUEandQCDValidation.h:181
MBUEandQCDValidation::_JM80pt3
MonitorElement * _JM80pt3
Definition: MBUEandQCDValidation.h:166
MBUEandQCDValidation::dNchdpt1
MonitorElement * dNchdpt1
Definition: MBUEandQCDValidation.h:83
MBUEandQCDValidation::_JM25pt3
MonitorElement * _JM25pt3
Definition: MBUEandQCDValidation.h:160
CaloCellManager.h
MBUEandQCDValidation::missEtosumJEt
MonitorElement * missEtosumJEt
Definition: MBUEandQCDValidation.h:141
EventSetup.h
MBUEandQCDValidation::fPDGTable
edm::ESHandle< HepPDT::ParticleDataTable > fPDGTable
PDT table.
Definition: MBUEandQCDValidation.h:55
MBUEandQCDValidation::_JM25pt2
MonitorElement * _JM25pt2
Definition: MBUEandQCDValidation.h:159
dqm::implementation::IBooker
Definition: DQMStore.h:43
MBUEandQCDValidation::dqmBeginRun
void dqmBeginRun(const edm::Run &r, const edm::EventSetup &c) override
Definition: MBUEandQCDValidation.cc:39
MBUEandQCDValidation::pt1pt2balance
MonitorElement * pt1pt2balance
Definition: MBUEandQCDValidation.h:136
ParameterSet.h
HepMCProduct.h
MBUEandQCDValidation::leadChjeta
MonitorElement * leadChjeta
Definition: MBUEandQCDValidation.h:104
edm::Event
Definition: Event.h:73
MBUEandQCDValidation
Definition: MBUEandQCDValidation.h:37
MBUEandQCDValidation::verbosity_
unsigned int verbosity_
Definition: MBUEandQCDValidation.h:52
MBUEandQCDValidation::nChaDenLpt
MonitorElement * nChaDenLpt
Definition: MBUEandQCDValidation.h:96
edm::InputTag
Definition: InputTag.h:15
MBUEandQCDValidation::genjetCollection_
edm::InputTag genjetCollection_
Definition: MBUEandQCDValidation.h:50
MBUEandQCDValidation::_JM80pt4
MonitorElement * _JM80pt4
Definition: MBUEandQCDValidation.h:167
MBUEandQCDValidation::dNjdpt
MonitorElement * dNjdpt
Definition: MBUEandQCDValidation.h:134
MBUEandQCDValidation::ncnobquark
MonitorElement * ncnobquark
Definition: MBUEandQCDValidation.h:79
MBUEandQCDValidation::nHFflow
MonitorElement * nHFflow
Definition: MBUEandQCDValidation.h:146
MBUEandQCDValidation::dSptdphi
MonitorElement * dSptdphi
Definition: MBUEandQCDValidation.h:95
MBUEandQCDValidation::nPPbar
MonitorElement * nPPbar
Definition: MBUEandQCDValidation.h:108
MBUEandQCDValidation::pK0s
MonitorElement * pK0s
Definition: MBUEandQCDValidation.h:120