Coding convention
[u/mrichter/AliRoot.git] / HMPID / AliHMPIDTracker.h
... / ...
CommitLineData
1#ifndef AliHMPIDTracker_h
2#define AliHMPIDTracker_h
3
4#include <AliTracker.h> //base class
5#include "AliHMPID.h" //Recon()
6#include <AliRun.h> //Recon()
7#include <TF1.h> //field
8//.
9// HMPID base class fo tracking
10//.
11
12class AliESD; //Recon()
13class AliESDtrack; //IntTrkCha()
14class AliHMPIDTracker : public AliTracker
15{
16public:
17 AliHMPIDTracker();
18 virtual ~AliHMPIDTracker() {delete fClu;}
19//framework part
20 AliCluster *GetCluster (Int_t )const {return 0;} //pure virtual from AliTracker
21 Bool_t GetTrackPoint (Int_t idx,AliTrackPoint &pt)const; // from AliTracker
22 Int_t Clusters2Tracks(AliESD * ) {return 0;} //pure virtual from AliTracker
23 Int_t LoadClusters (TTree *pCluTr ); //pure virtual from AliTracker
24 Int_t PropagateBack (AliESD *pEsd ); //pure virtual from AliTracker
25 Int_t RefitInward (AliESD * ) {return 0;} //pure virtual from AliTracker
26 void UnloadClusters ( ) { } //pure virtual from AliTracker
27//private part
28 static Int_t IntTrkCha(AliESDtrack *pTrk,Double_t &xPc,Double_t &yPc); //find track-PC intersection, retuns chamber ID
29 static Int_t Recon (AliESD *pEsd,TObjArray *pCluAll,TObjArray *pNmean=0); //do actual job, returns status code
30protected:
31 TObjArray *fClu; //! each chamber holds it's one list of clusters
32
33ClassDef(AliHMPIDTracker,0)
34};//class AliHMPIDTracker
35//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
36
37
38#endif//AliHMPIDTracker_h