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
27 
29 
31 
33 
34 
35 class WValidation : public DQMEDAnalyzer{
36  public:
37  explicit WValidation(const edm::ParameterSet&);
38  virtual ~WValidation();
39  virtual void analyze(const edm::Event&, const edm::EventSetup&) override;
40  virtual void bookHistograms(DQMStore::IBooker &i, edm::Run const &, edm::EventSetup const &) override;
41  virtual void dqmBeginRun(const edm::Run& r, const edm::EventSetup& c) override;
42 
43  private:
44 
47 
50 
52  MonitorElement *Wmass, *WmassPeak, /* *WmT, *WmTPeak, */ *Wpt, *WptLog, *Wrap, *Wdaughters;
56 
58  int _flavor;
61 
63 };
64 
65 #endif
WValidation(const edm::ParameterSet &)
Definition: WValidation.cc:18
edm::InputTag hepmcCollection_
Definition: WValidation.h:46
int i
Definition: DBlmapReader.cc:9
MonitorElement * leppt
Definition: WValidation.h:54
MonitorElement * Wrap
Definition: WValidation.h:52
MonitorElement * nEvt
Definition: WValidation.h:51
WeightManager wmanager_
Definition: WValidation.h:45
std::string _name
decay flavor name
Definition: WValidation.h:60
MonitorElement * lepeta
Definition: WValidation.h:54
virtual ~WValidation()
Definition: WValidation.cc:28
MonitorElement * lepmet_mT
Definition: WValidation.h:53
MonitorElement * lepmet_pt
Definition: WValidation.h:53
edm::EDGetTokenT< edm::HepMCProduct > hepmcCollectionToken_
Definition: WValidation.h:62
MonitorElement * lepmet_rap
Definition: WValidation.h:53
MonitorElement * gamma_energy
Definition: WValidation.h:55
virtual void bookHistograms(DQMStore::IBooker &i, edm::Run const &, edm::EventSetup const &) override
Definition: WValidation.cc:30
edm::ESHandle< HepPDT::ParticleDataTable > fPDGTable
PDT table.
Definition: WValidation.h:49
virtual void dqmBeginRun(const edm::Run &r, const edm::EventSetup &c) override
Definition: WValidation.cc:62
MonitorElement * WptLog
Definition: WValidation.h:52
MonitorElement * lepmet_mTPeak
Definition: WValidation.h:53
MonitorElement * WmassPeak
Definition: WValidation.h:52
virtual void analyze(const edm::Event &, const edm::EventSetup &) override
Definition: WValidation.cc:66
MonitorElement * met
Definition: WValidation.h:54
MonitorElement * Wpt
Definition: WValidation.h:52
MonitorElement * lepmet_ptLog
Definition: WValidation.h:53
MonitorElement * Wdaughters
Definition: WValidation.h:52
MonitorElement * Wmass
Definition: WValidation.h:52
MonitorElement * cos_theta_gamma_lepton
Definition: WValidation.h:55
Definition: Run.h:43
int _flavor
decay flavor
Definition: WValidation.h:58