CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 
53 
54 protected:
55 
57 void analyze(const edm::Event& e, const edm::EventSetup& c);
58 
59 // BeginJob
60 void beginJob();
61 
62 // EndJob
63 void endJob(void);
64 
65 private:
66 
67  std::string HepMCLabel;
68  std::string g4InfoLabel;
69  std::string EBHitsCollection;
70  std::string EEHitsCollection;
71  std::string ESHitsCollection;
72 
73  bool verbose_;
74 
76 
77  std::string outputFile_;
78 
82 
86 };
87 
88 #endif
MonitorElement * meEBEnergyFraction_
std::map< uint32_t, float, std::less< uint32_t > > MapType
void analyze(const edm::Event &e, const edm::EventSetup &c)
Analyze.
MonitorElement * meGunEnergy_
EcalSimHitsValidation(const edm::ParameterSet &ps)
Constructor.
MonitorElement * meEEEnergyFraction_
MonitorElement * meESEnergyFraction_
~EcalSimHitsValidation()
Destructor.