CMS 3D CMS Logo

MaterialBudgetCastorHistos.h
Go to the documentation of this file.
1 #ifndef Validation_Geometry_MaterialBudgetCastorHistos_h
2 #define Validation_Geometry_MaterialBudgetCastorHistos_h 1
3 
5 
6 #include "G4Step.hh"
7 #include "G4Track.hh"
8 
9 #include <TH1F.h>
10 #include <TH2F.h>
11 #include <TProfile.h>
12 #include <TProfile2D.h>
13 
14 #include <string>
15 #include <vector>
16 
18 public:
21 
22  void fillStartTrack(const G4Track *);
23  void fillPerStep(const G4Step *);
24  void fillEndTrack();
25 
26 private:
27  void book();
28  void fillHisto(int id, int ix);
29 
30 private:
31  static const int maxSet = 20;
33  int binEta, binPhi;
34  double etaLow, etaHigh;
35  std::vector<std::string> matList;
36  std::vector<double> stepLength, radLength, intLength;
37  TH1F *me400[maxSet], *me800[maxSet];
38  TH2F *me1200[maxSet];
39  TProfile *me100[maxSet], *me200[maxSet], *me300[maxSet];
40  TProfile *me500[maxSet], *me600[maxSet], *me700[maxSet];
41  TProfile2D *me900[maxSet], *me1000[maxSet], *me1100[maxSet];
42  int id1, id2, steps;
43  double radLen, intLen, stepLen;
44  double eta_, phi_;
45 };
46 
47 #endif
MaterialBudgetCastorHistos::me100
TProfile * me100[maxSet]
Definition: MaterialBudgetCastorHistos.h:39
MaterialBudgetCastorHistos::me1200
TH2F * me1200[maxSet]
Definition: MaterialBudgetCastorHistos.h:38
MaterialBudgetCastorHistos::me700
TProfile * me700[maxSet]
Definition: MaterialBudgetCastorHistos.h:40
MaterialBudgetCastorHistos::me200
TProfile * me200[maxSet]
Definition: MaterialBudgetCastorHistos.h:39
MaterialBudgetCastorHistos::eta_
double eta_
Definition: MaterialBudgetCastorHistos.h:44
MaterialBudgetCastorHistos::intLen
double intLen
Definition: MaterialBudgetCastorHistos.h:43
MaterialBudgetCastorHistos::me1100
TProfile2D * me1100[maxSet]
Definition: MaterialBudgetCastorHistos.h:41
MaterialBudgetCastorHistos::binEta
int binEta
Definition: MaterialBudgetCastorHistos.h:33
MaterialBudgetCastorHistos::binPhi
int binPhi
Definition: MaterialBudgetCastorHistos.h:33
MaterialBudgetCastorHistos::id2
int id2
Definition: MaterialBudgetCastorHistos.h:42
MaterialBudgetCastorHistos::stepLength
std::vector< double > stepLength
Definition: MaterialBudgetCastorHistos.h:36
MaterialBudgetCastorHistos::~MaterialBudgetCastorHistos
virtual ~MaterialBudgetCastorHistos()
Definition: MaterialBudgetCastorHistos.cc:33
MaterialBudgetCastorHistos::me500
TProfile * me500[maxSet]
Definition: MaterialBudgetCastorHistos.h:40
MaterialBudgetCastorHistos::fillPerStep
void fillPerStep(const G4Step *)
Definition: MaterialBudgetCastorHistos.cc:64
MaterialBudgetCastorHistos::radLength
std::vector< double > radLength
Definition: MaterialBudgetCastorHistos.h:36
MaterialBudgetCastorHistos::radLen
double radLen
Definition: MaterialBudgetCastorHistos.h:43
MaterialBudgetCastorHistos::matList
std::vector< std::string > matList
Definition: MaterialBudgetCastorHistos.h:35
MaterialBudgetCastorHistos::fillHistos
bool fillHistos
Definition: MaterialBudgetCastorHistos.h:32
MaterialBudgetCastorHistos::book
void book()
Definition: MaterialBudgetCastorHistos.cc:166
MaterialBudgetCastorHistos::me1000
TProfile2D * me1000[maxSet]
Definition: MaterialBudgetCastorHistos.h:41
edm::ParameterSet
Definition: ParameterSet.h:47
AlCaHLTBitMon_ParallelJobs.p
def p
Definition: AlCaHLTBitMon_ParallelJobs.py:153
MaterialBudgetCastorHistos::me600
TProfile * me600[maxSet]
Definition: MaterialBudgetCastorHistos.h:40
MaterialBudgetCastorHistos::me900
TProfile2D * me900[maxSet]
Definition: MaterialBudgetCastorHistos.h:41
MaterialBudgetCastorHistos::printSum
bool printSum
Definition: MaterialBudgetCastorHistos.h:32
MaterialBudgetCastorHistos::fillEndTrack
void fillEndTrack()
Definition: MaterialBudgetCastorHistos.cc:151
MaterialBudgetCastorHistos::etaHigh
double etaHigh
Definition: MaterialBudgetCastorHistos.h:34
MaterialBudgetCastorHistos::fillHisto
void fillHisto(int id, int ix)
Definition: MaterialBudgetCastorHistos.cc:256
MaterialBudgetCastorHistos::me300
TProfile * me300[maxSet]
Definition: MaterialBudgetCastorHistos.h:39
MaterialBudgetCastorHistos::me400
TH1F * me400[maxSet]
Definition: MaterialBudgetCastorHistos.h:37
MaterialBudgetCastorHistos::fillStartTrack
void fillStartTrack(const G4Track *)
Definition: MaterialBudgetCastorHistos.cc:38
MaterialBudgetCastorHistos
Definition: MaterialBudgetCastorHistos.h:17
MaterialBudgetCastorHistos::id1
int id1
Definition: MaterialBudgetCastorHistos.h:42
MaterialBudgetCastorHistos::etaLow
double etaLow
Definition: MaterialBudgetCastorHistos.h:34
MaterialBudgetCastorHistos::phi_
double phi_
Definition: MaterialBudgetCastorHistos.h:44
MaterialBudgetCastorHistos::intLength
std::vector< double > intLength
Definition: MaterialBudgetCastorHistos.h:36
ParameterSet.h
MaterialBudgetCastorHistos::MaterialBudgetCastorHistos
MaterialBudgetCastorHistos(const edm::ParameterSet &p)
Definition: MaterialBudgetCastorHistos.cc:17
MaterialBudgetCastorHistos::steps
int steps
Definition: MaterialBudgetCastorHistos.h:42
MaterialBudgetCastorHistos::me800
TH1F * me800[maxSet]
Definition: MaterialBudgetCastorHistos.h:37
MaterialBudgetCastorHistos::stepLen
double stepLen
Definition: MaterialBudgetCastorHistos.h:43
MaterialBudgetCastorHistos::maxSet
static const int maxSet
Definition: MaterialBudgetCastorHistos.h:31