CMS 3D CMS Logo

HcalTB06Histo.h
Go to the documentation of this file.
1 #ifndef HcalTestBeam_HcalTB06Histo_H
2 #define HcalTestBeam_HcalTB06Histo_H
3 // -*- C++ -*-
4 //
5 // Package: HcalTestBeam
6 // Class : HcalTB06Histo
7 //
14 //
15 // Original Author: Sunanda Banerjee
16 // Created: Tue Oct 10 10:14:34 CEST 2006
17 //
18 
19 // system include files
20 #include<string>
21 #include<vector>
22 
23 // user include files
26 
27 #include <TH1D.h>
28 #include <TH2D.h>
29 #include <TTree.h>
30 
32 
33 public:
34 
35  // ---------- Constructor and destructor -----------------
37  virtual ~HcalTB06Histo();
38 
39  // ---------- member functions ---------------------------
40  void fillPrimary(double energy, double eta, double phi);
41  void fillEdep(double etots, double eecals, double ehcals);
42  void fillTree(std::vector<double>& ecalo, std::vector<double>& etrig);
43 
44 private:
45 
46  // ---------- Private Data members -----------------------
48 
49  TH1D *iniE, *iEta, *iPhi;
50  TH1D *edepS, *edecS, *edhcS;
51  TH1D *edepN, *edecN, *edhcN, *emhcN;
52  TH2D *edehS;
53  TTree *tree_;
58  double mip_;
59 };
60 
61 #endif
virtual ~HcalTB06Histo()
void fillEdep(double etots, double eecals, double ehcals)
void fillTree(std::vector< double > &ecalo, std::vector< double > &etrig)
void fillPrimary(double energy, double eta, double phi)
HcalTB06Histo(const edm::ParameterSet &ps)