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 <iostream>
36 #include <fstream>
37 #include <vector>
38 #include <map>
40 
41 
43 
44  typedef std::map<uint32_t,float,std::less<uint32_t> > MapType;
45 
46 public:
47 
50 
52 ~EcalSimHitsValidation() override;
53 
54 protected:
55 
57 void analyze(const edm::Event& e, const edm::EventSetup& c) override;
58 
59 // BeginJob
60 void beginJob() override;
61 
62 // EndJob
63 void endJob(void) override;
64 
65 private:
66 
72 
73  bool verbose_;
74 
76 
78 
82 
86 };
87 
88 #endif
MonitorElement * meEBEnergyFraction_
~EcalSimHitsValidation() override
Destructor.
std::map< uint32_t, float, std::less< uint32_t > > MapType
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.
MonitorElement * meESEnergyFraction_
void endJob(void) override