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/07/02 13:34:23 $
9  * $Revision: 1.2 $
10  *
11  */
12 
13 // framework & common header files
18 
23 
24 //DQM services
28 
30 
32 
34 
35 
37 {
38  public:
39  explicit WValidation(const edm::ParameterSet&);
40  virtual ~WValidation();
41  virtual void beginJob();
42  virtual void endJob();
43  virtual void analyze(const edm::Event&, const edm::EventSetup&);
44  virtual void beginRun(const edm::Run&, const edm::EventSetup&);
45  virtual void endRun(const edm::Run&, const edm::EventSetup&);
46 
47  private:
48 
50 
52 
55 
58 
60  MonitorElement *Wmass, *WmassPeak, /* *WmT, *WmTPeak, */ *Wpt, *WptLog, *Wrap, *Wdaughters;
64 
66  int _flavor;
68  std::string _name;
69 
70 };
71 
72 #endif
WValidation(const edm::ParameterSet &)
Definition: WValidation.cc:20
edm::InputTag hepmcCollection_
Definition: WValidation.h:51
MonitorElement * leppt
Definition: WValidation.h:62
MonitorElement * Wrap
Definition: WValidation.h:60
MonitorElement * nEvt
Definition: WValidation.h:59
std::string _name
decay flavor name
Definition: WValidation.h:68
virtual void beginRun(const edm::Run &, const edm::EventSetup &)
Definition: WValidation.cc:68
DQMStore * dbe
ME's "container".
Definition: WValidation.h:57
virtual void endJob()
Definition: WValidation.cc:67
MonitorElement * lepeta
Definition: WValidation.h:62
virtual void endRun(const edm::Run &, const edm::EventSetup &)
Definition: WValidation.cc:74
virtual ~WValidation()
Definition: WValidation.cc:30
MonitorElement * lepmet_mT
Definition: WValidation.h:61
MonitorElement * lepmet_pt
Definition: WValidation.h:61
MonitorElement * lepmet_rap
Definition: WValidation.h:61
virtual void beginJob()
Definition: WValidation.cc:32
MonitorElement * gamma_energy
Definition: WValidation.h:63
edm::ESHandle< HepPDT::ParticleDataTable > fPDGTable
PDT table.
Definition: WValidation.h:54
MonitorElement * WptLog
Definition: WValidation.h:60
MonitorElement * lepmet_mTPeak
Definition: WValidation.h:61
MonitorElement * WmassPeak
Definition: WValidation.h:60
WeightManager _wmanager
Definition: WValidation.h:49
MonitorElement * met
Definition: WValidation.h:62
MonitorElement * Wpt
Definition: WValidation.h:60
virtual void analyze(const edm::Event &, const edm::EventSetup &)
Definition: WValidation.cc:75
MonitorElement * lepmet_ptLog
Definition: WValidation.h:61
MonitorElement * Wdaughters
Definition: WValidation.h:60
MonitorElement * Wmass
Definition: WValidation.h:60
MonitorElement * cos_theta_gamma_lepton
Definition: WValidation.h:63
Definition: Run.h:33
int _flavor
decay flavor
Definition: WValidation.h:66