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 
19 public:
20 
23 
24  void fillStartTrack(const G4Track*);
25  void fillPerStep(const G4Step *);
26  void fillEndTrack();
27 
28 private:
29 
30  void book();
31  void fillHisto(int id, int ix);
32 
33 private:
34 
35  static const int maxSet = 20;
37  int binEta, binPhi;
38  double etaLow, etaHigh;
39  std::vector<std::string> matList;
40  std::vector<double> stepLength, radLength, intLength;
41  TH1F *me400[maxSet], *me800[maxSet];
42  TH2F *me1200[maxSet];
43  TProfile *me100[maxSet], *me200[maxSet], *me300[maxSet];
44  TProfile *me500[maxSet], *me600[maxSet], *me700[maxSet];
45  TProfile2D *me900[maxSet], *me1000[maxSet],*me1100[maxSet];
46  int id1, id2, steps;
47  double radLen, intLen, stepLen;
48  double eta, phi;
49 };
50 
51 
52 #endif
std::vector< std::string > matList
MaterialBudgetCastorHistos(const edm::ParameterSet &p)