]>
Commit | Line | Data |
---|---|---|
be9c5115 | 1 | #ifndef ALITRACKER_H |
2 | #define ALITRACKER_H | |
3 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
4 | * See cxx source for full Copyright notice */ | |
5 | ||
fb17acd4 | 6 | /* $Id$ */ |
7 | ||
be9c5115 | 8 | //------------------------------------------------------------------------- |
9 | // class AliTracker | |
41377c29 | 10 | // that is the base for AliTPCtracker, AliITStrackerV2 and AliTRDtracker |
be9c5115 | 11 | // Origin: Iouri Belikov, CERN, Jouri.Belikov@cern.ch |
12 | //------------------------------------------------------------------------- | |
f7a1cc68 | 13 | |
4811a3f4 | 14 | #include "AliTrackerBase.h" |
57acd2d2 | 15 | |
f7a1cc68 | 16 | #include "AliRecoParam.h" |
17 | #include "AliPlaneEff.h" | |
be9c5115 | 18 | |
e23a38cb | 19 | class TTree; |
be9c5115 | 20 | class AliCluster; |
af885e0f | 21 | class AliESDEvent; |
48ce48d1 | 22 | class AliESDtrack; |
0c4ea33b | 23 | class AliExternalTrackParam; |
98937d93 | 24 | class AliTrackPoint; |
f7a1cc68 | 25 | class AliKalmanTrack; |
1f26f3e7 | 26 | class AliEventInfo; |
4811a3f4 | 27 | |
28 | class AliTracker : public AliTrackerBase { | |
be9c5115 | 29 | public: |
3b242889 | 30 | AliTracker(); |
be9c5115 | 31 | virtual ~AliTracker(){} |
4811a3f4 | 32 | |
af885e0f | 33 | virtual Int_t Clusters2Tracks(AliESDEvent *event)=0; |
34 | virtual Int_t PropagateBack(AliESDEvent *event)=0; | |
35 | virtual Int_t RefitInward(AliESDEvent *event)=0; | |
c630aafd | 36 | virtual Int_t LoadClusters(TTree *)=0; |
e24ea474 | 37 | virtual void UnloadClusters()=0; |
be9c5115 | 38 | virtual AliCluster *GetCluster(Int_t index) const=0; |
4811a3f4 | 39 | |
40 | virtual Int_t PostProcess(AliESDEvent */*event*/) {return 0;} | |
41 | virtual void FillClusterArray(TObjArray* array) const; | |
7167ae53 | 42 | virtual AliPlaneEff *GetPlaneEff() {return NULL;} |
1a191ea2 | 43 | virtual Bool_t GetTrackPoint(Int_t /* index */ , AliTrackPoint& /* p */) const { return kFALSE;} |
48ce48d1 | 44 | virtual Bool_t GetTrackPointTrackingError(Int_t /* index */, |
45 | AliTrackPoint& /* p */, const AliESDtrack* /* t */) { return kFALSE;} | |
be9c5115 | 46 | virtual void UseClusters(const AliKalmanTrack *t, Int_t from=0) const; |
47 | virtual void CookLabel(AliKalmanTrack *t,Float_t wrong) const; | |
7f6ddf58 | 48 | |
e23a38cb | 49 | static void FillResiduals(const AliExternalTrackParam *t, |
50 | Double_t *p, Double_t *cov, | |
51 | UShort_t id, Bool_t updated=kTRUE); | |
9efabefd | 52 | static void FillResiduals(const AliExternalTrackParam *t, |
53 | const AliCluster *c, Bool_t updated=kTRUE); | |
57acd2d2 | 54 | static void SetFillResiduals(AliRecoParam::EventSpecie_t es, Bool_t flag=kTRUE) { fFillResiduals=flag; fEventSpecie = es ;} |
55 | static void SetResidualsArray(TObjArray **arr) { fResiduals=arr; } | |
eca4fa66 | 56 | static TObjArray ** GetResidualsArray() { return fResiduals; } |
e23a38cb | 57 | |
1f26f3e7 | 58 | void SetEventInfo(AliEventInfo *evInfo) {fEventInfo = evInfo;} |
59 | const AliEventInfo* GetEventInfo() const {return fEventInfo;} | |
ddfbc51a | 60 | |
6c94f330 | 61 | protected: |
62 | AliTracker(const AliTracker &atr); | |
7f6ddf58 | 63 | private: |
90e48c0c | 64 | AliTracker & operator=(const AliTracker & atr); |
4811a3f4 | 65 | static Bool_t fFillResiduals; // Fill residuals flag |
57acd2d2 | 66 | static TObjArray **fResiduals; //! Array of histograms with residuals |
e23a38cb | 67 | |
57acd2d2 | 68 | static AliRecoParam::EventSpecie_t fEventSpecie ; //! event specie, see AliRecoParam |
1f26f3e7 | 69 | AliEventInfo* fEventInfo; //! pointer to the event info object |
57acd2d2 | 70 | |
4811a3f4 | 71 | ClassDef(AliTracker,6) //abstract tracker |
be9c5115 | 72 | }; |
73 | ||
f7a1cc68 | 74 | #endif |