]> git.uio.no Git - u/mrichter/AliRoot.git/blame - HLT/comp/AliL3ModelTrack.h
Coding conventions, delete members of some HLT arrays, cosmetics (C.Loizides)
[u/mrichter/AliRoot.git] / HLT / comp / AliL3ModelTrack.h
CommitLineData
3e87ef69 1// @(#) $Id$
2
735e167e 3#ifndef AliL3Model_Track
4#define AliL3Model_Track
5
6#include "AliL3Track.h"
95a00d93 7#include "AliL3Models.h"
92a876e2 8
735e167e 9class AliL3ModelTrack : public AliL3Track {
10
11 private:
12
13 Short_t fClusterCharge; //Average cluster charge
95a00d93 14 AliL3ClusterModel *fClusters; //!
15 AliL3TrackModel *fTrackModel; //!
735e167e 16 Short_t fNClusters;
3e87ef69 17 Int_t fMaxOverlaps;
18 Int_t *fNoverlaps; //!
19 Int_t **fOverlap; //!
20 Float_t *fParSigmaY2; //!
21 Float_t *fParSigmaZ2; //!
22 Float_t *fCrossingAngle; //!
029912b7 23 Int_t fPatch;
5a31e9df 24 Bool_t fArraysCreated;
3e87ef69 25
735e167e 26 //Crossing points with padrows
1f1942b8 27 Float_t *fPad; //!
28 Float_t *fTime; //!
6f388e0d 29
5a31e9df 30 void DeleteArrays();
31
735e167e 32 public:
33 AliL3ModelTrack();
34 virtual ~AliL3ModelTrack();
35
36 void Init(Int_t slice,Int_t patch);
3e87ef69 37 void CalculateClusterWidths(Int_t row,Bool_t parametrize=kFALSE);
4a838220 38 void SetCluster(Int_t row,Float_t dpad,Float_t dtime,Float_t charge,Float_t sigmaY2,Float_t sigmaZ2,Int_t npads);
95a00d93 39 void FillModel();
029912b7 40 void FillTrack();
3e87ef69 41 void Print(Bool_t everything=kTRUE);
42 void Set(AliL3Track *tpt);
43
029912b7 44 void SetPadHit(Int_t row,Float_t f);
45 void SetTimeHit(Int_t row,Float_t f);
3e87ef69 46 void SetCrossingAngleLUT(Int_t row,Float_t angle);
029912b7 47 void SetOverlap(Int_t row,Int_t id);
3e87ef69 48 void SetClusterLabel(Int_t row,Int_t *trackID);
49 void SetNClusters(Int_t i) {fNClusters = i;}
50
2357bb38 51 Int_t GetNPresentClusters();
f64c4364 52 Bool_t IsPresent(Int_t row);
3e87ef69 53 Bool_t IsSet(Int_t row);
f64c4364 54
95a00d93 55 AliL3ClusterModel *GetClusters() {return fClusters;}
95a00d93 56 AliL3TrackModel *GetModel() {return fTrackModel;}
029912b7 57 AliL3ClusterModel *GetClusterModel(Int_t row);
3e87ef69 58 Int_t *GetOverlaps(Int_t row);
59 Int_t GetNOverlaps(Int_t row);
4a838220 60 Int_t GetNPads(Int_t row);
3e87ef69 61 Int_t GetSlice(Int_t row);
029912b7 62 Float_t GetPadHit(Int_t row);
63 Float_t GetTimeHit(Int_t row);
3e87ef69 64 Float_t GetCrossingAngleLUT(Int_t row);
65 Float_t GetParSigmaY2(Int_t row);
66 Float_t GetParSigmaZ2(Int_t row);
029912b7 67 Bool_t GetPad(Int_t row,Float_t &pad);
68 Bool_t GetTime(Int_t row,Float_t &time);
69 Bool_t GetClusterCharge(Int_t row,Int_t &charge);
1f1942b8 70 Bool_t GetSigmaY2(Int_t row,Float_t &sigma2);
71 Bool_t GetSigmaZ2(Int_t row,Float_t &sigma2);
95a00d93 72 Bool_t GetPadResidual(Int_t row,Float_t &res);
73 Bool_t GetTimeResidual(Int_t row,Float_t &res);
5a31e9df 74 Bool_t GetSigmaYResidual(Int_t row,Float_t &res);
75 Bool_t GetSigmaZResidual(Int_t row,Float_t &res);
95a00d93 76 Int_t GetNClusters() {return fNClusters;}
3e87ef69 77 void GetClusterLabel(Int_t row,Int_t *trackID);
78
735e167e 79 ClassDef(AliL3ModelTrack,1)
80
81};
82
83#endif