2 // Original: AliHLTConfMapTrack.h,v 1.4 2004/06/16 11:25:06 loizides
4 #ifndef ALIHLTTPCCONFMAPTRACK_H
5 #define ALIHLTTPCCONFMAPTRACK_H
7 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
8 * See cxx source for full Copyright notice */
10 /** @file AliHLTTPCConfMapTrack.h
11 @author Anders Vestbo, maintained by Matthias Richter
13 @brief Track class for conformal mapper
18 #include "AliHLTTPCTrack.h"
20 #include "AliHLTTPCRootTypes.h"
21 #include "AliHLTTPCConfMapPoint.h"
23 class AliHLTTPCVertex;
26 * @class AliHLTTPCConfMapTrack
27 * Track class for conformal mapper
30 class AliHLTTPCConfMapTrack :public AliHLTTPCTrack {
34 AliHLTTPCConfMapTrack();
35 /** not a valid copy constructor, defined according to effective C++ style */
36 AliHLTTPCConfMapTrack(const AliHLTTPCConfMapTrack&);
37 /** not a valid assignment op, but defined according to effective C++ style */
38 AliHLTTPCConfMapTrack& operator=(const AliHLTTPCConfMapTrack&);
40 virtual ~AliHLTTPCConfMapTrack();
41 void Fill(AliHLTTPCVertex *vertex,Double_t max_Dca);
43 void UpdateParam(AliHLTTPCConfMapPoint *hit);
44 void DeleteCandidate();
46 void StartLoop() {fCurrentHit = fFirstHit;}
47 void GetNextHit() {fCurrentHit = ((AliHLTTPCConfMapPoint*)fCurrentHit)->GetNextTrackHit();}
48 Int_t LoopDone() const {return fCurrentHit != 0;}
51 void SetChiSq1(Double_t f) {fChiSq[0]=f;}
52 void SetChiSq2(Double_t f) {fChiSq[1]=f;}
53 void SetProperties(Bool_t fUsage);
56 Double_t const *GetChiSq() const { return fChiSq;}
57 Double_t GetChiSq1() const { return fChiSq[0]; }
58 Double_t GetChiSq2() const { return fChiSq[1]; }
61 Double_t GetS11Xy() const {return fs11Xy;}
62 Double_t GetS12Xy() const {return fs12Xy;}
63 Double_t GetS22Xy() const {return fs22Xy;}
64 Double_t GetG1Xy() const {return fg1Xy;}
65 Double_t GetG2Xy() const {return fg2Xy;}
66 Double_t GetS11Sz() const {return fs11Sz;}
67 Double_t GetS12Sz() const {return fs12Sz;}
68 Double_t GetS22z() const {return fs22Sz;}
69 Double_t GetG1Sz() const {return fg1Sz;}
70 Double_t GetG2Sz() const { return fg2Sz;}
73 Double_t GetDDXy() const {return fddXy;}
74 Double_t GetA1Xy() const {return fa1Xy;}
75 Double_t GetA2Xy() const {return fa2Xy;}
76 Double_t GetDDSz() const {return fddSz;}
77 Double_t GetA1Sz() const {return fa1Sz;}
78 Double_t GetA2Sz() const {return fa2Sz;}
80 AliHLTTPCConfMapPoint* GetFirstHit() const {return fFirstHit;}
81 AliHLTTPCConfMapPoint* GetLastHit() const {return fLastHit;}
82 AliHLTTPCConfMapPoint* GetCurrentHit() const {return fCurrentHit;}
87 AliHLTTPCConfMapPoint *fCurrentHit; //!
88 AliHLTTPCConfMapPoint *fLastHit; //!
89 AliHLTTPCConfMapPoint *fFirstHit; //!
92 Double_t fChiSq[2]; //chi squared
94 //fit parameters. Bad naming convention, i know...
95 Double_t fs11Xy; //helper
96 Double_t fs12Xy; //helper
97 Double_t fs22Xy; //helper
98 Double_t fg1Xy; //helper
99 Double_t fg2Xy; //helper
100 Double_t fs11Sz; //helper
101 Double_t fs12Sz; //helper
102 Double_t fs22Sz; //helper
103 Double_t fg1Sz; //helper
104 Double_t fg2Sz; //helper
106 Double_t fddXy, fa1Xy, fa2Xy ; /*fit par in xy */
107 Double_t fddSz, fa1Sz, fa2Sz ; /*fit par in sz */
109 ClassDef(AliHLTTPCConfMapTrack,1) //Conformal mapping track class
112 #endif // ALIHLTTPCCONFMAPTRACK_H