Line data Source code
1 : #ifndef ALITPCCALIBCALIB_H
2 : #define ALITPCCALIBCALIB_H
3 :
4 : /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 : * See cxx source for full Copyright notice */
6 :
7 : ////
8 : ////
9 : ////
10 :
11 : #include "AliTPCcalibBase.h"
12 : class AliTPCseed;
13 : class AliESDEvent;
14 : class AliESDtrack;
15 : class TCollection;
16 : class TTreeSRedirector;
17 : class AliExternalTrackParam;
18 : class AliTPCclusterMI;
19 :
20 : class AliTPCcalibCalib:public AliTPCcalibBase {
21 : public:
22 : AliTPCcalibCalib();
23 : AliTPCcalibCalib(const Text_t *name, const Text_t *title);
24 : AliTPCcalibCalib(const AliTPCcalibCalib&calib);
25 : AliTPCcalibCalib &operator=(const AliTPCcalibCalib&calib);
26 : virtual ~AliTPCcalibCalib();
27 : virtual void Process(AliESDEvent *event);
28 0 : virtual void Analyze(){return;}
29 :
30 : Bool_t RefitTrack(AliESDtrack * track, AliTPCseed *seed, Float_t magesd);
31 : Bool_t RejectCluster(AliTPCclusterMI* cl, AliExternalTrackParam * param);
32 0 : void Process(AliESDtrack *track, Int_t runNo=-1){AliTPCcalibBase::Process(track,runNo);};
33 0 : void Process(AliTPCseed *track){return AliTPCcalibBase::Process(track);}
34 :
35 0 : void SetApplyExBCorrection(Int_t flag){fApplyExBCorrection=flag;}
36 0 : void SetApplyTOFCorrection(Int_t flag){fApplyTOFCorrection=flag;}
37 0 : void SetApplyPositionCorrection(Int_t flag){fApplyPositionCorrection=flag;}
38 0 : void SetApplySectorAlignment(Int_t flag){fApplySectorAlignment=flag;}
39 0 : void SetApplyRPhiCorrection(Int_t flag){fApplyRPhiCorrection=flag;}
40 0 : void SetApplyRCorrection(Int_t flag){fApplyRCorrection=flag;}
41 :
42 : //
43 0 : Int_t GetApplyExBCorrection() const {return fApplyExBCorrection;}
44 0 : Int_t GetApplyTOFCorrection() const {return fApplyTOFCorrection;}
45 0 : Int_t GetApplyPositionCorrection() const {return fApplyPositionCorrection;}
46 0 : Int_t GetApplySectorAlignment() const {return fApplySectorAlignment;}
47 0 : Int_t GetApplyRPhiCorrection() const {return fApplyRPhiCorrection;}
48 0 : Int_t GetApplyRCorrection() const {return fApplyRCorrection;}
49 :
50 : protected:
51 : Int_t fApplyExBCorrection; // apply ExB correction (in AliTPCTransform)
52 : Int_t fApplyTOFCorrection; // apply TOF correction (in AliTPCTransform)
53 : Int_t fApplyPositionCorrection; // apply position correction
54 : Int_t fApplySectorAlignment; // apply sector alignment
55 : Int_t fApplyRPhiCorrection; // apply R-Phi correction
56 : Int_t fApplyRCorrection; // apply Radial correction
57 : private:
58 6 : ClassDef(AliTPCcalibCalib,2)
59 : };
60 :
61 : #endif
|