CMS 3D CMS Logo

EcalSimHitsValidation.h
Go to the documentation of this file.
1 #ifndef EcalSimHitsValidation_H
2 #define EcalSimHitsValidation_H
3 
4 /*
5  * \file EcalSimHitsValidation.h
6  *
7  * \author C.Rovelli
8  *
9  */
10 
13 
18 
21 
24 
34 
35 #include <fstream>
36 #include <iostream>
37 #include <map>
38 #include <vector>
39 
41  typedef std::map<uint32_t, float, std::less<uint32_t>> MapType;
42 
43 public:
46 
49 
51  ~EcalSimHitsValidation() override;
52 
53 protected:
55  void analyze(const edm::Event &e, const edm::EventSetup &c) override;
56 
57  // BeginJob
58  void beginJob() override;
59 
60  // EndJob
61  void endJob(void) override;
62 
63 private:
69 
70  bool verbose_;
71 
72  DQMStore *dbe_;
73 
75 
76  MonitorElement *meGunEnergy_;
77  MonitorElement *meGunEta_;
78  MonitorElement *meGunPhi_;
79 
80  MonitorElement *meEBEnergyFraction_;
81  MonitorElement *meEEEnergyFraction_;
82  MonitorElement *meESEnergyFraction_;
83 };
84 
85 #endif
MonitorElement * meEBEnergyFraction_
~EcalSimHitsValidation() override
Destructor.
edm::EDGetTokenT< edm::PCaloHitContainer > EBHitsCollectionToken
edm::EDGetTokenT< edm::HepMCProduct > HepMCToken
MonitorElement * meGunEnergy_
edm::EDGetTokenT< edm::PCaloHitContainer > EEHitsCollectionToken
EcalSimHitsValidation(const edm::ParameterSet &ps)
Constructor.
edm::EDGetTokenT< edm::PCaloHitContainer > ESHitsCollectionToken
MonitorElement * meEEEnergyFraction_
void analyze(const edm::Event &e, const edm::EventSetup &c) override
Analyze.
dqm::legacy::MonitorElement MonitorElement
MonitorElement * meESEnergyFraction_
dqm::legacy::DQMStore DQMStore
void endJob(void) override
std::map< uint32_t, float, std::less< uint32_t > > MapType