CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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
15 
20 
21 //DQM services
25 
27 
29 
31 
32 class WValidation : public DQMEDAnalyzer {
33 public:
34  explicit WValidation(const edm::ParameterSet &);
35  ~WValidation() override;
36  void analyze(const edm::Event &, const edm::EventSetup &) override;
37  void bookHistograms(DQMStore::IBooker &i, edm::Run const &, edm::EventSetup const &) override;
38  void dqmBeginRun(const edm::Run &r, const edm::EventSetup &c) override;
39 
40 private:
43 
47 
49  MonitorElement *Wmass, *WmassPeak, /* *WmT, *WmTPeak, */ *Wpt, *WptLog, *Wrap, *Wdaughters;
53 
55  int _flavor;
58 
60 };
61 
62 #endif
WValidation(const edm::ParameterSet &)
Definition: WValidation.cc:18
edm::InputTag hepmcCollection_
Definition: WValidation.h:42
const edm::EventSetup & c
MonitorElement * leppt
Definition: WValidation.h:51
MonitorElement * Wrap
Definition: WValidation.h:49
MonitorElement * nEvt
Definition: WValidation.h:48
WeightManager wmanager_
Definition: WValidation.h:41
std::string _name
decay flavor name
Definition: WValidation.h:57
~WValidation() override
Definition: WValidation.cc:27
MonitorElement * lepeta
Definition: WValidation.h:51
MonitorElement * lepmet_mT
Definition: WValidation.h:50
MonitorElement * lepmet_pt
Definition: WValidation.h:50
edm::EDGetTokenT< edm::HepMCProduct > hepmcCollectionToken_
Definition: WValidation.h:59
MonitorElement * lepmet_rap
Definition: WValidation.h:50
MonitorElement * gamma_energy
Definition: WValidation.h:52
void bookHistograms(DQMStore::IBooker &i, edm::Run const &, edm::EventSetup const &) override
Definition: WValidation.cc:29
edm::ESHandle< HepPDT::ParticleDataTable > fPDGTable
PDT table.
Definition: WValidation.h:45
void dqmBeginRun(const edm::Run &r, const edm::EventSetup &c) override
Definition: WValidation.cc:88
MonitorElement * WptLog
Definition: WValidation.h:49
MonitorElement * lepmet_mTPeak
Definition: WValidation.h:50
MonitorElement * WmassPeak
Definition: WValidation.h:49
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition: WValidation.cc:90
MonitorElement * met
Definition: WValidation.h:51
MonitorElement * Wpt
Definition: WValidation.h:49
edm::ESGetToken< HepPDT::ParticleDataTable, edm::DefaultRecord > fPDGTableToken
Definition: WValidation.h:46
MonitorElement * lepmet_ptLog
Definition: WValidation.h:50
MonitorElement * Wdaughters
Definition: WValidation.h:49
MonitorElement * Wmass
Definition: WValidation.h:49
MonitorElement * cos_theta_gamma_lepton
Definition: WValidation.h:52
Definition: Run.h:45
int _flavor
decay flavor
Definition: WValidation.h:55