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 
36 #include <fstream>
37 #include <iostream>
38 #include <map>
39 #include <vector>
40 
42  typedef std::map<uint32_t, float, std::less<uint32_t>> MapType;
43 
44 public:
47 
49  ~EcalSimHitsValidation() override;
50 
51 protected:
53  void analyze(const edm::Event &e, const edm::EventSetup &c) override;
54 
55  // BeginJob
56  void beginJob() override;
57 
58  // EndJob
59  void endJob(void) override;
60 
61 private:
67 
68  bool verbose_;
69 
71 
73 
77 
81 };
82 
83 #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.
MonitorElement * meESEnergyFraction_
void endJob(void) override
std::map< uint32_t, float, std::less< uint32_t > > MapType