]> git.uio.no Git - u/mrichter/AliRoot.git/blame - HLT/TPCLib/AliHLTTPCConfMapTrack.h
- support for event by event reconstruction added to AliHLTSystem
[u/mrichter/AliRoot.git] / HLT / TPCLib / AliHLTTPCConfMapTrack.h
CommitLineData
a6c02c85 1// @(#) $Id$
4aa41877 2// Original: AliHLTConfMapTrack.h,v 1.4 2004/06/16 11:25:06 loizides
a6c02c85 3
2a083ac4 4#ifndef ALIHLTTPCCONFMAPTRACK_H
5#define ALIHLTTPCCONFMAPTRACK_H
6
7/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
8 * See cxx source for full Copyright notice */
9
10/** @file AliHLTTPCConfMapTrack.h
11 @author Anders Vestbo, maintained by Matthias Richter
12 @date
13 @brief Track class for conformal mapper
14*/
a6c02c85 15
16#include <string.h>
17
18#include "AliHLTTPCTrack.h"
19
20#include "AliHLTTPCRootTypes.h"
21#include "AliHLTTPCConfMapPoint.h"
22
23class AliHLTTPCVertex;
24
2a083ac4 25/**
26 * @class AliHLTTPCConfMapTrack
27 * Track class for conformal mapper
28 *
29 */
a6c02c85 30class AliHLTTPCConfMapTrack :public AliHLTTPCTrack {
31
32 public:
33
34 AliHLTTPCConfMapTrack();
2a083ac4 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&);
39 /** destructor */
a6c02c85 40 virtual ~AliHLTTPCConfMapTrack();
41 void Fill(AliHLTTPCVertex *vertex,Double_t max_Dca);
42 void Reset();
43 void UpdateParam(AliHLTTPCConfMapPoint *hit);
44 void DeleteCandidate();
45
46 void StartLoop() {fCurrentHit = fFirstHit;}
47 void GetNextHit() {fCurrentHit = ((AliHLTTPCConfMapPoint*)fCurrentHit)->GetNextTrackHit();}
48 Int_t LoopDone() const {return fCurrentHit != 0;}
49
50 // setter
51 void SetChiSq1(Double_t f) {fChiSq[0]=f;}
52 void SetChiSq2(Double_t f) {fChiSq[1]=f;}
53 void SetProperties(Bool_t fUsage);
54
55 // getter
56 Double_t const *GetChiSq() const { return fChiSq;}
57 Double_t GetChiSq1() const { return fChiSq[0]; }
58 Double_t GetChiSq2() const { return fChiSq[1]; }
59
60 /*
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;}
71 */
72
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;}
79
80 AliHLTTPCConfMapPoint* GetFirstHit() const {return fFirstHit;}
81 AliHLTTPCConfMapPoint* GetLastHit() const {return fLastHit;}
82 AliHLTTPCConfMapPoint* GetCurrentHit() const {return fCurrentHit;}
83 Int_t GetMCLabel();
84
85 protected:
86
87 AliHLTTPCConfMapPoint *fCurrentHit; //!
88 AliHLTTPCConfMapPoint *fLastHit; //!
89 AliHLTTPCConfMapPoint *fFirstHit; //!
90
91
92 Double_t fChiSq[2]; //chi squared
93
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
105
106 Double_t fddXy, fa1Xy, fa2Xy ; /*fit par in xy */
107 Double_t fddSz, fa1Sz, fa2Sz ; /*fit par in sz */
108
109 ClassDef(AliHLTTPCConfMapTrack,1) //Conformal mapping track class
110};
111
2a083ac4 112#endif // ALIHLTTPCCONFMAPTRACK_H
a6c02c85 113