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