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
std::vector< std::string > matList
MaterialBudgetCastorHistos(const edm::ParameterSet &p)
ALPAKA_FN_ACC ALPAKA_FN_INLINE uint32_t ix(uint32_t id)