CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ElectronStudy.h
Go to the documentation of this file.
1 #ifndef SimG4CMS_Calo_ElectronStudy_H
2 #define SimG4CMS_Calo_ElectronStudy_H
3 
6 
11 
15 
18 
21 
24 
25 #include <TH1F.h>
26 
27 #include <memory>
28 #include <iostream>
29 #include <fstream>
30 #include <vector>
31 #include <string>
32 
34 
35 public:
36 
39 
40  void analyze (const edm::Event& e, const edm::EventSetup& c);
41 
42 private:
43 
44  static const int NEtaBins = 3;
45  static const int NPBins = 8;
46  double pBins[NPBins+1], etaBins[NEtaBins+1];
47 
50  bool histos;
54 };
55 
56 #endif
ElectronStudy(const edm::ParameterSet &ps)
std::string hitLabEE
Definition: ElectronStudy.h:48
TH1F * histoR2[NPBins+1][NEtaBins+1]
Definition: ElectronStudy.h:51
std::string g4Label
Definition: ElectronStudy.h:48
std::string hitLabEB
Definition: ElectronStudy.h:48
TH1F * histoE3x3[NPBins+1][NEtaBins+1]
Definition: ElectronStudy.h:53
TH1F * histoE1x1[NPBins+1][NEtaBins+1]
Definition: ElectronStudy.h:52
void analyze(const edm::Event &e, const edm::EventSetup &c)
static const int NPBins
Definition: ElectronStudy.h:45
TH1F * histoR3[NPBins+1][NEtaBins+1]
Definition: ElectronStudy.h:52
double etaBins[NEtaBins+1]
Definition: ElectronStudy.h:46
TH1F * histoR1[NPBins+1][NEtaBins+1]
Definition: ElectronStudy.h:51
std::string sourceLabel
Definition: ElectronStudy.h:48
TH1F * histoE5x5[NPBins+1][NEtaBins+1]
Definition: ElectronStudy.h:53
double pBins[NPBins+1]
Definition: ElectronStudy.h:46
static const int NEtaBins
Definition: ElectronStudy.h:44