CMS 3D CMS Logo

EcalPreshowerSimHitsValidation.h
Go to the documentation of this file.
1 #ifndef EcalPreshowerSimHitsValidation_H
2 #define EcalPreshowerSimHitsValidation_H
3 
4 /*
5  * \file EcalPreshowerSimHitsValidation.h
6  *
7  * \author C.Rovelli
8  *
9  */
10 
13 
21 
24 
29 
30 #include <fstream>
31 #include <iostream>
32 #include <map>
33 #include <vector>
34 
36  typedef std::map<uint32_t, float, std::less<uint32_t>> MapType;
37 
38 public:
41 
44 
47 
48 protected:
50  void analyze(const edm::Event &e, const edm::EventSetup &c) override;
51 
52  // BeginJob
53  void beginJob() override;
54 
55  // EndJob
56  void endJob(void) override;
57 
58 private:
63 
67 
68  bool verbose_;
69 
70  DQMStore *dbe_;
71 
73 
74  MonitorElement *menESHits1zp_;
75  MonitorElement *menESHits2zp_;
76 
77  MonitorElement *menESHits1zm_;
78  MonitorElement *menESHits2zm_;
79 
80  MonitorElement *meEShitLog10Energy_;
81  MonitorElement *meEShitLog10EnergyNorm_;
82 
83  MonitorElement *meESEnergyHits1zp_;
84  MonitorElement *meESEnergyHits2zp_;
85 
86  MonitorElement *meESEnergyHits1zm_;
87  MonitorElement *meESEnergyHits2zm_;
88 
89  MonitorElement *meE1alphaE2zp_;
90  MonitorElement *meE1alphaE2zm_;
91 
92  MonitorElement *meEEoverESzp_;
93  MonitorElement *meEEoverESzm_;
94 
95  MonitorElement *me2eszpOver1eszp_;
96  MonitorElement *me2eszmOver1eszm_;
97 };
98 
99 #endif
EcalPreshowerSimHitsValidation(const edm::ParameterSet &ps)
Constructor.
std::map< uint32_t, float, std::less< uint32_t > > MapType
void analyze(const edm::Event &e, const edm::EventSetup &c) override
Analyze.
dqm::legacy::MonitorElement MonitorElement
edm::EDGetTokenT< edm::HepMCProduct > HepMCToken
edm::EDGetTokenT< edm::PCaloHitContainer > EEHitsToken
edm::EDGetTokenT< edm::PCaloHitContainer > ESHitsToken