CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
WValidation.h
Go to the documentation of this file.
1 #ifndef WVALIDATION_H
2 #define WVALIDATION_H
3 
4 /*class WValidation
5  *
6  * Class to fill Event Generator dqm monitor elements; works on HepMCProduct
7  *
8  * $Date: 2010/05/25 16:50:50 $
9  * $Revision: 1.1 $
10  *
11  */
12 
13 // framework & common header files
18 
23 
24 //DQM services
28 
30 
32 
33 
35 {
36  public:
37  explicit WValidation(const edm::ParameterSet&);
38  virtual ~WValidation();
39  virtual void beginJob();
40  virtual void endJob();
41  virtual void analyze(const edm::Event&, const edm::EventSetup&);
42  virtual void beginRun(const edm::Run&, const edm::EventSetup&);
43  virtual void endRun(const edm::Run&, const edm::EventSetup&);
44 
45  private:
46 
48 
51 
54 
56  MonitorElement *Wmass, *WmassPeak, /* *WmT, *WmTPeak, */ *Wpt, *WptLog, *Wrap, *Wdaughters;
60 
62  int _flavor;
64  std::string _name;
65 
66 };
67 
68 #endif
WValidation(const edm::ParameterSet &)
Definition: WValidation.cc:20
edm::InputTag hepmcCollection_
Definition: WValidation.h:47
MonitorElement * leppt
Definition: WValidation.h:58
MonitorElement * Wrap
Definition: WValidation.h:56
MonitorElement * nEvt
Definition: WValidation.h:55
std::string _name
decay flavor name
Definition: WValidation.h:64
virtual void beginRun(const edm::Run &, const edm::EventSetup &)
Definition: WValidation.cc:67
DQMStore * dbe
ME's "container".
Definition: WValidation.h:53
virtual void endJob()
Definition: WValidation.cc:66
MonitorElement * lepeta
Definition: WValidation.h:58
virtual void endRun(const edm::Run &, const edm::EventSetup &)
Definition: WValidation.cc:73
virtual ~WValidation()
Definition: WValidation.cc:29
MonitorElement * lepmet_mT
Definition: WValidation.h:57
MonitorElement * lepmet_pt
Definition: WValidation.h:57
MonitorElement * lepmet_rap
Definition: WValidation.h:57
virtual void beginJob()
Definition: WValidation.cc:31
MonitorElement * gamma_energy
Definition: WValidation.h:59
edm::ESHandle< HepPDT::ParticleDataTable > fPDGTable
PDT table.
Definition: WValidation.h:50
MonitorElement * WptLog
Definition: WValidation.h:56
MonitorElement * lepmet_mTPeak
Definition: WValidation.h:57
MonitorElement * WmassPeak
Definition: WValidation.h:56
MonitorElement * met
Definition: WValidation.h:58
MonitorElement * Wpt
Definition: WValidation.h:56
virtual void analyze(const edm::Event &, const edm::EventSetup &)
Definition: WValidation.cc:74
MonitorElement * lepmet_ptLog
Definition: WValidation.h:57
MonitorElement * Wdaughters
Definition: WValidation.h:56
MonitorElement * Wmass
Definition: WValidation.h:56
MonitorElement * cos_theta_gamma_lepton
Definition: WValidation.h:59
Definition: Run.h:32
int _flavor
decay flavor
Definition: WValidation.h:62