StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
HitHistograms.h
1 
9 #ifndef HitHistograms_H
10 #define HitHistograms_H
11 
12 #include "TpcHitUtilities.h"
13 
14 class TH1F;
15 class TH2F;
16 class StMaker;
17 
19 public:
20  HitHistograms();
21  HitHistograms(const char *name,const char *title,
22  Int_t nbinsx,Axis_t xlow,Axis_t xup, Int_t nbinxy,
23  StMaker* mk=0);
24  virtual ~HitHistograms();
25 
26  //Access---------------------------------------
27  TH1F* innerSectorDeDxHist() const; // Return a histogram for inner
28  TH1F* outerSectorDeDxHist() const;
29 
30  //Methods------------------------------------
31  void clearHistograms(); //Zero all histograms
32  void fillHistograms(); //Fill Histograms from inheried TpcHitVec
33  void fitGainHistograms(); //Fit Gain Histograms with a Landau
34  void buildHistMaps();
35 
36 protected:
37  TH1F* m_innerSectorDeDxHist;
38  TH1F* m_outerSectorDeDxHist;
39  TH2F *m_allSectorsDeDxHist;
40 
41 };
42 
43 #endif
44 // $Id: HitHistograms.h,v 1.5 2003/09/19 22:58:11 genevb Exp $
46 // $Log: HitHistograms.h,v $
47 // Revision 1.5 2003/09/19 22:58:11 genevb
48 // Initialize pointers to zero, some doxygenization
49 //
50 // Revision 1.4 2002/02/12 18:41:59 genevb
51 // Additional FTPC histograms
52 //
53 // Revision 1.3 2000/08/25 16:04:09 genevb
54 // Introduction of files
55 //
56 // Revision 1.2 2000/08/09 18:57:44 lansdell
57 // improvements in TPC gains code reduces CPU time per event by factor of 2
58 //