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  *
9  */
10 
11 // framework & common header files
16 
21 
22 //DQM services
26 
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 
49 
52 
55 
57  MonitorElement *Wmass, *WmassPeak, /* *WmT, *WmTPeak, */ *Wpt, *WptLog, *Wrap, *Wdaughters;
61 
63  int _flavor;
66 
68 };
69 
70 #endif
WValidation(const edm::ParameterSet &)
Definition: WValidation.cc:18
edm::InputTag hepmcCollection_
Definition: WValidation.h:48
MonitorElement * leppt
Definition: WValidation.h:59
MonitorElement * Wrap
Definition: WValidation.h:57
MonitorElement * nEvt
Definition: WValidation.h:56
WeightManager wmanager_
Definition: WValidation.h:47
std::string _name
decay flavor name
Definition: WValidation.h:65
virtual void beginRun(const edm::Run &, const edm::EventSetup &)
Definition: WValidation.cc:68
DQMStore * dbe
ME's "container".
Definition: WValidation.h:54
virtual void endJob()
Definition: WValidation.cc:67
MonitorElement * lepeta
Definition: WValidation.h:59
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:58
MonitorElement * lepmet_pt
Definition: WValidation.h:58
edm::EDGetTokenT< edm::HepMCProduct > hepmcCollectionToken_
Definition: WValidation.h:67
MonitorElement * lepmet_rap
Definition: WValidation.h:58
virtual void beginJob()
Definition: WValidation.cc:32
MonitorElement * gamma_energy
Definition: WValidation.h:60
edm::ESHandle< HepPDT::ParticleDataTable > fPDGTable
PDT table.
Definition: WValidation.h:51
MonitorElement * WptLog
Definition: WValidation.h:57
MonitorElement * lepmet_mTPeak
Definition: WValidation.h:58
MonitorElement * WmassPeak
Definition: WValidation.h:57
MonitorElement * met
Definition: WValidation.h:59
MonitorElement * Wpt
Definition: WValidation.h:57
virtual void analyze(const edm::Event &, const edm::EventSetup &)
Definition: WValidation.cc:75
MonitorElement * lepmet_ptLog
Definition: WValidation.h:58
MonitorElement * Wdaughters
Definition: WValidation.h:57
MonitorElement * Wmass
Definition: WValidation.h:57
MonitorElement * cos_theta_gamma_lepton
Definition: WValidation.h:60
Definition: Run.h:41
int _flavor
decay flavor
Definition: WValidation.h:63