Major bugfix in AliL3Compress::WriteRestoredData(). Also added naming conventions...
[u/mrichter/AliRoot.git] / HLT / comp / AliL3ModelTrack.h
CommitLineData
735e167e 1#ifndef AliL3Model_Track
2#define AliL3Model_Track
3
4#include "AliL3Track.h"
95a00d93 5#include "AliL3Models.h"
029912b7 6#include "AliL3Defs.h"
735e167e 7
8class AliL3ModelTrack : public AliL3Track {
9
10 private:
11
12 Short_t fClusterCharge; //Average cluster charge
95a00d93 13 AliL3ClusterModel *fClusters; //!
14 AliL3TrackModel *fTrackModel; //!
735e167e 15 Short_t fNClusters;
029912b7 16 Int_t *fOverlap; //!
95a00d93 17 Float_t fXYResidualQ; //Quantization steps.
18 Float_t fZResidualQ;
029912b7 19 Float_t fXYResolution;
20 Float_t fZResolution;
21 Float_t fXYWidthQ;
22 Float_t fZWidthQ;
23 Int_t fSlice;
24 Int_t fPatch;
95a00d93 25
735e167e 26 //Crossing points with padrows
27 Float_t *fPad; //!
28 Float_t *fTime; //!
29
30 public:
31 AliL3ModelTrack();
32 virtual ~AliL3ModelTrack();
33
34 void Init(Int_t slice,Int_t patch);
029912b7 35 void SetCluster(Int_t row,Float_t dpad,Float_t dtime,Float_t charge,Float_t sigmaY2,Float_t sigmaZ2);
95a00d93 36 void FillModel();
029912b7 37 void FillTrack();
95a00d93 38 void Print();
735e167e 39
029912b7 40 void SetPadHit(Int_t row,Float_t f);
41 void SetTimeHit(Int_t row,Float_t f);
42 void SetOverlap(Int_t row,Int_t id);
43 void SetXYResolution(Float_t f) {fXYResolution=f;}
44 void SetZResolution(Float_t f) {fZResolution=f;}
735e167e 45
95a00d93 46 AliL3ClusterModel *GetClusters() {return fClusters;}
95a00d93 47 AliL3TrackModel *GetModel() {return fTrackModel;}
029912b7 48 AliL3ClusterModel *GetClusterModel(Int_t row);
49 Int_t GetOverlap(Int_t row);
50 Float_t GetPadHit(Int_t row);
51 Float_t GetTimeHit(Int_t row);
52 Bool_t GetPad(Int_t row,Float_t &pad);
53 Bool_t GetTime(Int_t row,Float_t &time);
54 Bool_t GetClusterCharge(Int_t row,Int_t &charge);
55 Bool_t GetXYWidth(Int_t row,Float_t &width);
56 Bool_t GetZWidth(Int_t row,Float_t &width);
95a00d93 57 Bool_t GetPadResidual(Int_t row,Float_t &res);
58 Bool_t GetTimeResidual(Int_t row,Float_t &res);
59 Int_t GetNClusters() {return fNClusters;}
60
61 Double_t GetParSigmaY2(Double_t r);
62 Double_t GetParSigmaZ2(Double_t r);
63
735e167e 64 ClassDef(AliL3ModelTrack,1)
65
66};
67
68#endif