]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWG0/TPC/AliTPCClusterHistograms.h
forgot this...
[u/mrichter/AliRoot.git] / PWG0 / TPC / AliTPCClusterHistograms.h
1 #ifndef ALITPCClusterHistograms_H
2 #define ALITPCClusterHistograms_H
3
4 /* $Id$ */
5
6 //
7 // This class contains a number of histograms for diagnostics of a TPC
8 // read out chamber from the reconstructed clusters.
9 //
10
11 #include "TNamed.h"
12
13 class TH3;
14 class TH2F;
15 class TCanvas;
16 class TProfile;
17 class TProfile2D;
18 class TString;
19
20 class AliTPCclusterMI;
21
22 class AliTPCClusterHistograms : public TNamed
23 {
24 public:
25
26   AliTPCClusterHistograms();
27   AliTPCClusterHistograms(Int_t detector, const Char_t* comment="", Int_t timeStart=-1, Int_t timeStop=-1);
28   
29   AliTPCClusterHistograms(const AliTPCClusterHistograms& c);
30   virtual ~AliTPCClusterHistograms();
31   AliTPCClusterHistograms& operator=(const AliTPCClusterHistograms& corrMatrix);
32
33   virtual Long64_t Merge(TCollection* list);
34
35   virtual void SaveHistograms();
36
37   void FillCluster(AliTPCclusterMI* clusterMI, Int_t time=-1);
38   //  void FillCluster(AliTPCclusterMI* clusterMI, Int_t time=-1, Float_t trackangle);
39
40   TCanvas* DrawHistograms(const Char_t* opt="");
41
42 protected:
43
44   Int_t       fTimeStart;               // begin time of run(s)
45   Int_t       fTimeStop;                // end time of runs(s)
46
47   TH2F*       fhQmaxVsRow;              //
48   TH2F*       fhQtotVsRow;              //
49   TH2F*       fhSigmaYVsRow;            //
50   TH2F*       fhSigmaZVsRow;            //
51
52   TProfile2D* fhQmaxProfileYVsRow;      //
53   TProfile2D* fhQtotProfileYVsRow;      // 
54   TProfile2D* fhSigmaYProfileYVsRow;    //
55   TProfile2D* fhSigmaZProfileYVsRow;    //
56
57   TProfile2D* fhQmaxProfileZVsRow;      //
58   TProfile2D* fhQtotProfileZVsRow;      //
59   TProfile2D* fhSigmaYProfileZVsRow;    //
60   TProfile2D* fhSigmaZProfileZVsRow;    //
61
62   TProfile*   fhQtotVsTime;             //
63   TProfile*   fhQmaxVsTime;             //
64
65   ClassDef(AliTPCClusterHistograms,1)
66 };
67
68 #endif
69