]> git.uio.no Git - u/mrichter/AliRoot.git/blame - HMPID/AliHMPIDtrack.h
Updated test macro (Zubayer)
[u/mrichter/AliRoot.git] / HMPID / AliHMPIDtrack.h
CommitLineData
83253968 1#ifndef ALIHMPIDTRACK_H
2#define ALIHMPIDTRACK_H
3
4/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
6
7//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
8// Class HMPID track matching in the common tracking framework
9//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
10
11#include "TMath.h"
12#include "TVector2.h"
13
14#include "AliKalmanTrack.h"
15
16#include "AliCluster3D.h"
17#include "AliHMPIDCluster.h"
18
19class TObject;
20class AliESDtrack;
21
22class AliHMPIDtrack : public AliKalmanTrack {
23
24public:
25 AliHMPIDtrack();
26 AliHMPIDtrack(const AliHMPIDtrack& t);
27 AliHMPIDtrack(const AliESDtrack& t);
28 AliHMPIDtrack& operator=(const AliHMPIDtrack &/*source*/); // ass. op.
29 Double_t GetPredictedChi2(const AliCluster3D *c) const;
30 Bool_t PropagateTo(const AliCluster3D *c);
31 Bool_t PropagateTo(Double_t xr, Double_t x0 = 8.72, Double_t rho = 5.86e-3); //Use material definition as for TOF???
32 void Propagate(Double_t len,Double_t x[3],Double_t p[3],Double_t bz) const; //HMPID method moved from AliExternalTrackParam
33 Int_t PropagateToR(Double_t r,Double_t step);
34 Bool_t Rotate(Double_t alpha, Bool_t absolute);
35 Int_t GetProlongation(Double_t xk, Double_t &y, Double_t &z);
36 Bool_t Intersect(Double_t pnt[3], Double_t norm[3], Double_t bz) const; //HMPID method moved from AliExternalTrackParam
37 Bool_t Intersect(AliHMPIDtrack *pTrk,Double_t pnt[3], Double_t norm[3]) ; //just for test
38 Double_t GetBz() const;
39
40
41protected:
42 Bool_t Update(const AliCluster */*c*/, Double_t /*chi2*/, Int_t /*idx*/) {return 0;}
43 Double_t GetPredictedChi2(const AliCluster */*c*/) const {return 0.;}
44
45 private:
46 ClassDef(AliHMPIDtrack,0) // HMPID reconstructed tracks
47
48};
49
50#endif