New topdir Makefile for compiling all libraries in the HLT tree.
[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"
92a876e2 6
735e167e 7class AliL3ModelTrack : public AliL3Track {
8
9 private:
10
11 Short_t fClusterCharge; //Average cluster charge
95a00d93 12 AliL3ClusterModel *fClusters; //!
13 AliL3TrackModel *fTrackModel; //!
735e167e 14 Short_t fNClusters;
029912b7 15 Int_t *fOverlap; //!
95a00d93 16 Float_t fXYResidualQ; //Quantization steps.
17 Float_t fZResidualQ;
029912b7 18 Float_t fXYResolution;
19 Float_t fZResolution;
20 Float_t fXYWidthQ;
21 Float_t fZWidthQ;
22 Int_t fSlice;
23 Int_t fPatch;
95a00d93 24
735e167e 25 //Crossing points with padrows
26 Float_t *fPad; //!
27 Float_t *fTime; //!
28
29 public:
30 AliL3ModelTrack();
31 virtual ~AliL3ModelTrack();
32
33 void Init(Int_t slice,Int_t patch);
4a838220 34 void SetCluster(Int_t row,Float_t dpad,Float_t dtime,Float_t charge,Float_t sigmaY2,Float_t sigmaZ2,Int_t npads);
95a00d93 35 void FillModel();
029912b7 36 void FillTrack();
95a00d93 37 void Print();
735e167e 38
029912b7 39 void SetPadHit(Int_t row,Float_t f);
40 void SetTimeHit(Int_t row,Float_t f);
41 void SetOverlap(Int_t row,Int_t id);
42 void SetXYResolution(Float_t f) {fXYResolution=f;}
43 void SetZResolution(Float_t f) {fZResolution=f;}
4a838220 44 Int_t CheckClustersQuality(UInt_t npads=3);
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);
4a838220 50 Int_t GetNPads(Int_t row);
029912b7 51 Float_t GetPadHit(Int_t row);
52 Float_t GetTimeHit(Int_t row);
53 Bool_t GetPad(Int_t row,Float_t &pad);
54 Bool_t GetTime(Int_t row,Float_t &time);
55 Bool_t GetClusterCharge(Int_t row,Int_t &charge);
56 Bool_t GetXYWidth(Int_t row,Float_t &width);
57 Bool_t GetZWidth(Int_t row,Float_t &width);
95a00d93 58 Bool_t GetPadResidual(Int_t row,Float_t &res);
59 Bool_t GetTimeResidual(Int_t row,Float_t &res);
4a838220 60 Bool_t GetXYWidthResidual(Int_t row,Float_t &res);
61 Bool_t GetZWidthResidual(Int_t row,Float_t &res);
95a00d93 62 Int_t GetNClusters() {return fNClusters;}
63
92a876e2 64 Double_t GetParSigmaY2(Int_t row);
65 Double_t GetParSigmaZ2(Int_t row);
95a00d93 66
735e167e 67 ClassDef(AliL3ModelTrack,1)
68
69};
70
71#endif