CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HcalTB02Histo.h
Go to the documentation of this file.
1 #ifndef HcalTestBeam_HcalTB02Histo_H
2 #define HcalTestBeam_HcalTB02Histo_H
3 // -*- C++ -*-
4 //
5 // Package: HcalTestBeam
6 // Class : HcalTB02Histo
7 //
14 //
15 // Original Author:
16 // Created: Thu Sun 21 10:14:34 CEST 2006
17 // $Id: HcalTB02Histo.h,v 1.2 2008/03/01 21:28:40 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 
32 
33 public:
34 
35  // ---------- Constructor and destructor -----------------
37  virtual ~HcalTB02Histo();
38 
39  // ---------- member functions ---------------------------
40  void fillAllTime(float v);
41  void fillTransProf(float u, float v);
42  void fillProfile(int ilayer, float value);
43  float getMean(int ilayer);
44  float getRMS (int ilayer);
45 
46 private:
47 
48  // ---------- Private Data members -----------------------
49  std::string fileName;
50  bool verbose;
51 
52  TH1D *rt_tbTimes;
53  TH2D *rt_TransProf;
54  std::vector<TH1D *> rt_histoProf;
55 };
56 
57 #endif
void fillTransProf(float u, float v)
std::vector< TH1D * > rt_histoProf
Definition: HcalTB02Histo.h:54
void fillAllTime(float v)
HcalTB02Histo(const edm::ParameterSet &ps)
float getMean(int ilayer)
TH2D * rt_TransProf
Definition: HcalTB02Histo.h:53
void fillProfile(int ilayer, float value)
TH1D * rt_tbTimes
Definition: HcalTB02Histo.h:52
virtual ~HcalTB02Histo()
std::string fileName
Definition: HcalTB02Histo.h:49
float getRMS(int ilayer)
mathSSE::Vec4< T > v