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