New class AliESDEvent, backward compatibility with the old AliESD (Christian)
[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
d3da6dc4 27//private part
5b2b2013 28 static Int_t IntTrkCha (AliESDtrack *pTrk,Float_t &xPc,Float_t &yPc ); //find track-PC intersection, retuns chamber ID
af885e0f 29 static Int_t Recon (AliESDEvent *pEsd,TObjArray *pCluAll,TObjArray *pNmean=0); //do actual job, returns status code
5b2b2013 30 static Int_t ReconHiddenTrk(Int_t iCh,AliESDtrack *pTrk,TClonesArray *pClus,TObjArray *pNmean);//do actual job with Hidden Track Algorithm
d3da6dc4 31protected:
94b1fbfa 32 TObjArray *fClu; //! each chamber holds it's one list of clusters
94b1fbfa 33ClassDef(AliHMPIDTracker,0)
d3da6dc4 34};//class AliHMPIDTracker
3c6274c1 35//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
3c6274c1 36
d3da6dc4 37
38#endif//AliHMPIDTracker_h