test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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
28 
31 
35 
36 #include <vector>
37 
39  public:
40  explicit MBUEandQCDValidation(const edm::ParameterSet&);
41  virtual ~MBUEandQCDValidation();
42 
43  virtual void analyze(const edm::Event&, const edm::EventSetup&) override;
44  virtual void bookHistograms(DQMStore::IBooker &i, edm::Run const &, edm::EventSetup const &) override;
45  virtual void dqmBeginRun(const edm::Run& r, const edm::EventSetup& c) override;
46 
47  private:
52 
53  unsigned int verbosity_;
54 
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 
182  const static unsigned int nphiBin;
183  const static unsigned int initSize;
184 
188 
189 };
190 
191 #endif
bool isCharged(unsigned int i)
MonitorElement * ncnobquark
int i
Definition: DBlmapReader.cc:9
MonitorElement * nbquark
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
T eta() const
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.
MonitorElement * eneHFmSel
MonitorElement * nSaFwdTrig
MonitorElement * pt1pt2optot
MonitorElement * pt1pt2optotch
MonitorElement * leadChjpt
virtual void bookHistograms(DQMStore::IBooker &i, edm::Run const &, edm::EventSetup const &) override
MonitorElement * dNchdpt2
MonitorElement * nEvt1
QCD-09-010 analysis.
MonitorElement * dNchdphi
virtual 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
virtual void analyze(const edm::Event &, const edm::EventSetup &) override
MonitorElement * nChaDenLpt
static const unsigned int initSize
Definition: Run.h:41
MonitorElement * missEtosumJEt