CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 
57 
59  std::vector<const HepMC::GenParticle*> hepmcGPCollection;
60  std::vector<double> hepmcCharge;
61 
64 
65  unsigned int getHFbin(double eta);
66 
67  bool isCharged(unsigned int i);
68  bool isNeutral(unsigned int i);
69  bool isNeutrino(unsigned int i);
70 
71  std::vector<double> eneInCell;
72 
74 
77 
81 
86 
87  //QCD-10-001 analysis
99 
100  //Charged jets
107 
108  //Identified particles multiplicities
117 
118  //Identified particles momentum specturm
127 
130 
131  //Jets no neutrino
145 
146  //Forward energy flow
150 
155 
156  // Jet Multiplicity Analysis
169 
170  //differential jet rates
172 
173  // SumET hiostograms
180 
181  const static unsigned int nphiBin;
182  const static unsigned int initSize;
183 
187 };
188 
189 #endif
bool isCharged(unsigned int i)
MonitorElement * ncnobquark
MonitorElement * nbquark
const edm::EventSetup & c
static const unsigned int nphiBin
std::vector< const HepMC::GenParticle * > hepmcGPCollection
status 1 GenParticle collection
MonitorElement * sptDenLpt
MonitorElement * leadTracketa
MonitorElement * leadTrackpt
MBUEandQCDValidation(const edm::ParameterSet &)
MonitorElement * dSptdphi
MonitorElement * dNchdpt1
MonitorElement * dNchdSpt
MonitorElement * _JM80njets
MonitorElement * dNchjdeta
CaloCellManager * theCalo
manager of calorimetric cell structure
MonitorElement * dNchdeta1
edm::InputTag genjetCollection_
MonitorElement * pt1pt2Dphi
MonitorElement * dNchdeta2
MonitorElement * _JM25njets
std::vector< double > hepmcCharge
bool isNeutrino(unsigned int i)
MonitorElement * pt1pt2InvM
edm::ESHandle< HepPDT::ParticleDataTable > fPDGTable
PDT table.
edm::ESGetToken< HepPDT::ParticleDataTable, edm::DefaultRecord > fPDGTableToken
MonitorElement * eneHFmSel
MonitorElement * nSaFwdTrig
MonitorElement * pt1pt2optot
MonitorElement * pt1pt2optotch
MonitorElement * leadChjpt
void bookHistograms(DQMStore::IBooker &i, edm::Run const &, edm::EventSetup const &) override
MonitorElement * dNchdpt2
MonitorElement * nEvt1
QCD-09-010 analysis.
MonitorElement * dNchdphi
void dqmBeginRun(const edm::Run &r, const edm::EventSetup &c) override
MonitorElement * dEdetaHFdj
std::vector< double > eneInCell
MonitorElement * pt1pt2balance
edm::InputTag hepmcCollection_
edm::InputTag genchjetCollection_
MonitorElement * leadChjeta
edm::EDGetTokenT< reco::GenJetCollection > genchjetCollectionToken_
MonitorElement * nNoFwdTrig
edm::EDGetTokenT< reco::GenJetCollection > genjetCollectionToken_
edm::EDGetTokenT< edm::HepMCProduct > hepmcCollectionToken_
MonitorElement * ncandbquark
unsigned int getHFbin(double eta)
bool isNeutral(unsigned int i)
MonitorElement * dEdetaHFmb
void analyze(const edm::Event &, const edm::EventSetup &) override
MonitorElement * nChaDenLpt
static const unsigned int initSize
Definition: Run.h:45
MonitorElement * missEtosumJEt