AliHMPIDRecoParam is updated with RunTypes:
[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
496c71b0 8#include <TObjArray.h> //field
423554a3 9//.
10// HMPID base class fo tracking
11//.
12
af885e0f 13class AliESDEvent; //Recon()
451299f3 14class AliESDtrack; //IntTrkCha()
496c71b0 15class AliHMPIDtrack;
451299f3 16class AliHMPIDRecoParam;
17
d3da6dc4 18class AliHMPIDTracker : public AliTracker
19{
20public:
94b1fbfa 21 AliHMPIDTracker();
22 virtual ~AliHMPIDTracker() {delete fClu;}
d3da6dc4 23//framework part
3c6274c1 24 AliCluster *GetCluster (Int_t )const {return 0;} //pure virtual from AliTracker
25 Bool_t GetTrackPoint (Int_t idx,AliTrackPoint &pt)const; // from AliTracker
af885e0f 26 Int_t Clusters2Tracks(AliESDEvent * ) {return 0;} //pure virtual from AliTracker
3c6274c1 27 Int_t LoadClusters (TTree *pCluTr ); //pure virtual from AliTracker
af885e0f 28 Int_t PropagateBack (AliESDEvent *pEsd ); //pure virtual from AliTracker
29 Int_t RefitInward (AliESDEvent * ) {return 0;} //pure virtual from AliTracker
3c6274c1 30 void UnloadClusters ( ) { } //pure virtual from AliTracker
c1af14f7 31 void FillClusterArray(TObjArray* array) const; // from AliTracker
d3da6dc4 32//private part
39cd22e6 33 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
496c71b0 34 static Int_t IntTrkCha (Int_t ch,AliHMPIDtrack *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
35
e56b695f 36 static Int_t Recon (AliESDEvent *pEsd,TObjArray *pClus,TObjArray *pNmean=0,TObjArray *pQthre=0);//do actual job, returns status code
37 static Int_t ReconHiddenTrk(AliESDEvent *pEsd,TObjArray *pClus,TObjArray *pNmean=0,TObjArray *pQthre=0);//do actual job with Hidden Track Algorithm
8f05fd11 38
496c71b0 39
d3da6dc4 40protected:
496c71b0 41 TObjArray *fClu; //! each chamber holds it's one list of clusters
8f05fd11 42//
43private:
44 AliHMPIDTracker(const AliHMPIDTracker& r); //dummy copy constructor
45 AliHMPIDTracker &operator=(const AliHMPIDTracker& r); //dummy assignment operator
46//
94b1fbfa 47ClassDef(AliHMPIDTracker,0)
d3da6dc4 48};//class AliHMPIDTracker
3c6274c1 49//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
3c6274c1 50
d3da6dc4 51
52#endif//AliHMPIDTracker_h