]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TRD/qaRec/AliTRDcalibration.h
first version of cluster error parameterization
[u/mrichter/AliRoot.git] / TRD / qaRec / AliTRDcalibration.h
1 #ifndef ALITRDCALIBRATION_H
2 #define ALITRDCALIBRATION_H
3
4 // macro for extremely simple analysis
5
6
7 #ifndef ALITRDRECOTASK_H
8 #include "AliTRDrecoTask.h"
9 #endif
10
11 class TList;
12 class TObject;
13 class TH1F;
14 class TProfile2D;
15 class TH2I;
16 class TTree;
17 class TObjArray;
18 class AliTRDtrackV1;
19 class AliTRDCalibraFillHisto;
20 class AliTRDCalibraVLFDebug;
21 class AliTRDCalibraPRFDebug;
22 class AliTRDcluster;
23 class AliTRDtrackInfo;
24 class AliTRDcalibration : public AliTRDrecoTask 
25 {
26 public:
27   AliTRDcalibration();
28   virtual ~AliTRDcalibration(){;}
29   
30   virtual void   CreateOutputObjects();
31   virtual void   Exec(Option_t *option);
32   virtual void   Terminate(Option_t *);
33
34   void SetLow(Int_t low)        {flow=low;};
35   void SetHigh(Int_t high)      {fhigh=high;};
36   void SetFillZero(Bool_t fillZero)     {ffillZero =  fillZero;   };
37
38   
39 private:
40   AliTRDtrackInfo  *fTrackInfo;                  // track info
41
42   AliTRDtrackV1 *ftrdTrack;                      //trdtrack
43   AliTRDcluster *fcl;                            //cluster
44   
45   AliTRDCalibraFillHisto *fTRDCalibraFillHisto;  //calibration analyse object
46   TH1F        *fNbTRDTrackUsed;                  //nb ESD tracks used for calibration
47   TH1F        *fNbTimeBin;                       //nb Time Bin
48   TH1F        *fNbClusters;                      //nb Clusters
49   TProfile2D  *fPHSum;                           //sum PH
50   TH2I        *fCHSum;                           //sum CH
51   
52   Int_t       flow;                              //lower limit
53   Int_t       fhigh;                             //higher limit
54   Int_t       fNbTimeBins;                       //number of timebins 
55   Bool_t      ffillZero;                         //fill zero
56
57
58   AliTRDcalibration(const AliTRDcalibration&); 
59   AliTRDcalibration& operator=(const AliTRDcalibration&); 
60
61   ClassDef(AliTRDcalibration, 1) // calibration task
62 };
63
64 #endif