Possibility to set offset in SZ runs
[u/mrichter/AliRoot.git] / HMPID / AliHMPIDTracker.h
CommitLineData
d3da6dc4 1#ifndef AliHMPIDTracker_h
2#define AliHMPIDTracker_h
3
4#include <AliTracker.h> //base class
3c6274c1 5#include "AliHMPID.h" //Recon()
6#include <AliRun.h> //Recon()
423554a3 7#include <TF1.h> //field
8//.
9// HMPID base class fo tracking
10//.
11
af885e0f 12class AliESDEvent; //Recon()
59280a5a 13class AliESDtrack; //IntTrkCha()
d3da6dc4 14class AliHMPIDTracker : public AliTracker
15{
16public:
94b1fbfa 17 AliHMPIDTracker();
18 virtual ~AliHMPIDTracker() {delete fClu;}
d3da6dc4 19//framework part
3c6274c1 20 AliCluster *GetCluster (Int_t )const {return 0;} //pure virtual from AliTracker
21 Bool_t GetTrackPoint (Int_t idx,AliTrackPoint &pt)const; // from AliTracker
af885e0f 22 Int_t Clusters2Tracks(AliESDEvent * ) {return 0;} //pure virtual from AliTracker
3c6274c1 23 Int_t LoadClusters (TTree *pCluTr ); //pure virtual from AliTracker
af885e0f 24 Int_t PropagateBack (AliESDEvent *pEsd ); //pure virtual from AliTracker
25 Int_t RefitInward (AliESDEvent * ) {return 0;} //pure virtual from AliTracker
3c6274c1 26 void UnloadClusters ( ) { } //pure virtual from AliTracker
c1af14f7 27 void FillClusterArray(TObjArray* array) const; // from AliTracker
d3da6dc4 28//private part
39cd22e6 29 static Int_t IntTrkCha (AliESDtrack *pTrk,Float_t &xPc,Float_t &yPc,Float_t &xRa,Float_t &yRa,Float_t &theta,Float_t &phi);//find track-PC intersection, retuns chamber ID
afe12692 30 static Int_t Recon (AliESDEvent *pEsd,TObjArray *pCluAll,TObjArray *pNmean=0,TObjArray *pQthre=0);//do actual job, returns status code
49881df7 31 static Int_t ReconHiddenTrk(Int_t iCh,Int_t iHVsec,AliESDtrack *pTrk,TClonesArray *pClus,TObjArray *pNmean, TObjArray *pQthre);//do actual job with Hidden Track Algorithm
8f05fd11 32
d3da6dc4 33protected:
94b1fbfa 34 TObjArray *fClu; //! each chamber holds it's one list of clusters
8f05fd11 35//
36private:
37 AliHMPIDTracker(const AliHMPIDTracker& r); //dummy copy constructor
38 AliHMPIDTracker &operator=(const AliHMPIDTracker& r); //dummy assignment operator
39//
94b1fbfa 40ClassDef(AliHMPIDTracker,0)
d3da6dc4 41};//class AliHMPIDTracker
3c6274c1 42//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
3c6274c1 43
d3da6dc4 44
45#endif//AliHMPIDTracker_h