CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 public:
33  // ---------- Constructor and destructor -----------------
35  virtual ~HcalTB06Histo();
36 
37  // ---------- member functions ---------------------------
38  void fillPrimary(double energy, double eta, double phi);
39  void fillEdep(double etots, double eecals, double ehcals);
40  void fillTree(std::vector<double> &ecalo, std::vector<double> &etrig);
41 
42 private:
43  // ---------- Private Data members -----------------------
45 
46  TH1D *iniE, *iEta, *iPhi;
47  TH1D *edepS, *edecS, *edhcS;
48  TH1D *edepN, *edecN, *edhcN, *emhcN;
49  TH2D *edehS;
50  TTree *tree_;
55  double mip_;
56 };
57 
58 #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)