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