test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HcalTB04Histo.h
Go to the documentation of this file.
1 #ifndef HcalTestBeam_HcalTB04Histo_H
2 #define HcalTestBeam_HcalTB04Histo_H
3 // -*- C++ -*-
4 //
5 // Package: HcalTestBeam
6 // Class : HcalTB04Histo
7 //
14 //
15 // Original Author: Sunanda Banerjee
16 // Created: Thu May 18 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 <TProfile.h>
30 
32 
33 public:
34 
35  // ---------- Constructor and destructor -----------------
37  virtual ~HcalTB04Histo();
38 
39  // ---------- member functions ---------------------------
40  void fillPrimary(double energy, double eta, double phi);
41  void fillEdep(double etots, double eecals, double ehcals,
42  double etotq, double eecalq, double ehcalq);
43  void fillTrnsProf(const std::vector<double>& es1, const std::vector<double>& eq1,
44  const std::vector<double>& es2, const std::vector<double>& eq2);
45  void fillLongProf(const std::vector<double>& es, const std::vector<double>& eq);
46 
47 private:
48 
49  // ---------- Private Data members -----------------------
50  bool verbose;
51  double eTotMax, eHcalMax;
52 
53  TH1D *iniE, *iEta, *iPhi;
54  TH1D *edepS, *edecS, *edhcS, *edepQ, *edecQ, *edhcQ;
55  TH2D *edehS, *edehQ;
56  TProfile *latse, *latqe, *latsf, *latqf, *lngs, *lngq;
57 };
58 
59 #endif
void fillPrimary(double energy, double eta, double phi)
TProfile * lngq
Definition: HcalTB04Histo.h:56
void fillTrnsProf(const std::vector< double > &es1, const std::vector< double > &eq1, const std::vector< double > &es2, const std::vector< double > &eq2)
TProfile * lngs
Definition: HcalTB04Histo.h:56
TProfile * latse
Definition: HcalTB04Histo.h:56
TProfile * latqf
Definition: HcalTB04Histo.h:56
HcalTB04Histo(const edm::ParameterSet &ps)
virtual ~HcalTB04Histo()
TProfile * latsf
Definition: HcalTB04Histo.h:56
TProfile * latqe
Definition: HcalTB04Histo.h:56
void fillEdep(double etots, double eecals, double ehcals, double etotq, double eecalq, double ehcalq)
void fillLongProf(const std::vector< double > &es, const std::vector< double > &eq)