CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
MaterialBudgetHGCalHistos.h
Go to the documentation of this file.
1 #ifndef MaterialBudgetHGCalHistos_h
2 #define MaterialBudgetHGCalHistos_h 1
3 
6 
8 public:
9  MaterialBudgetHGCalHistos(std::shared_ptr<MaterialBudgetData> data,
10  std::shared_ptr<TestHistoMgr> mgr,
11  const std::string& fileName);
12  MaterialBudgetHGCalHistos(std::shared_ptr<MaterialBudgetData> data,
13  std::shared_ptr<TestHistoMgr> mgr,
14  const std::string& fileName,
15  double minZ,
16  double maxZ,
17  int nintZ,
18  double rMin,
19  double rMax,
20  int nrbin,
21  double etaMin,
22  double etaMax,
23  int netabin,
24  double phiMin,
25  double phiMax,
26  int nphibin,
27  double RMin,
28  double RMax,
29  int nRbin);
31  void fillStartTrack() override;
32  void fillPerStep() override;
33  void fillEndTrack() override;
34  void endOfRun() override;
35 
36 private:
37  virtual void book();
38  double* theDmb;
39  double* theX;
40  double* theY;
41  double* theZ;
42  double* theVoluId;
43  double* theMateId;
44 
45  std::shared_ptr<TestHistoMgr> hmgr;
46 
47  double zMin_, zMax_;
48  int nzbin_;
49  double rMin_, rMax_;
50  int nrbin_;
51  double etaMin_, etaMax_;
52  int netabin_;
53  double phiMin_, phiMax_;
54  int nphibin_;
55  double RMin_, RMax_;
56  int nRbin_;
57 };
58 
59 #endif
MaterialBudgetHGCalHistos(std::shared_ptr< MaterialBudgetData > data, std::shared_ptr< TestHistoMgr > mgr, const std::string &fileName)
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:80
std::shared_ptr< TestHistoMgr > hmgr