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 // $Id: HcalTB04Histo.h,v 1.4 2008/07/24 15:19:15 sunanda Exp $
18 //
19 
20 // system include files
21 #include<string>
22 #include<vector>
23 
24 // user include files
27 
28 #include <TH1D.h>
29 #include <TH2D.h>
30 #include <TProfile.h>
31 
33 
34 public:
35 
36  // ---------- Constructor and destructor -----------------
38  virtual ~HcalTB04Histo();
39 
40  // ---------- member functions ---------------------------
41  void fillPrimary(double energy, double eta, double phi);
42  void fillEdep(double etots, double eecals, double ehcals,
43  double etotq, double eecalq, double ehcalq);
44  void fillTrnsProf(std::vector<double> es1, std::vector<double> eq1,
45  std::vector<double> es2, std::vector<double> eq2);
46  void fillLongProf(std::vector<double> es, std::vector<double> eq);
47 
48 private:
49 
50  // ---------- Private Data members -----------------------
51  bool verbose;
52  double eTotMax, eHcalMax;
53 
54  TH1D *iniE, *iEta, *iPhi;
55  TH1D *edepS, *edecS, *edhcS, *edepQ, *edecQ, *edhcQ;
56  TH2D *edehS, *edehQ;
57  TProfile *latse, *latqe, *latsf, *latqf, *lngs, *lngq;
58 };
59 
60 #endif
void fillLongProf(std::vector< double > es, std::vector< double > eq)
void fillPrimary(double energy, double eta, double phi)
TProfile * lngq
Definition: HcalTB04Histo.h:57
T eta() const
TProfile * lngs
Definition: HcalTB04Histo.h:57
TProfile * latse
Definition: HcalTB04Histo.h:57
TProfile * latqf
Definition: HcalTB04Histo.h:57
void fillTrnsProf(std::vector< double > es1, std::vector< double > eq1, std::vector< double > es2, std::vector< double > eq2)
HcalTB04Histo(const edm::ParameterSet &ps)
virtual ~HcalTB04Histo()
TProfile * latsf
Definition: HcalTB04Histo.h:57
TProfile * latqe
Definition: HcalTB04Histo.h:57
void fillEdep(double etots, double eecals, double ehcals, double etotq, double eecalq, double ehcalq)
Definition: DDAxes.h:10