]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/comp/AliL3ModelTrack.h
Started classes for modeling and compression
[u/mrichter/AliRoot.git] / HLT / comp / AliL3ModelTrack.h
1 #ifndef AliL3Model_Track
2 #define AliL3Model_Track
3
4 #include "AliL3Track.h"
5
6
7 struct ClusterComp {
8   Bool_t fEmpty;
9   Float_t fDTime;
10   Float_t fDPad;
11   Float_t fDCharge;
12   Float_t fDShape;
13 };
14
15
16 class AliL3ModelTrack : public AliL3Track {
17
18  private:
19   
20   Short_t fClusterCharge; //Average cluster charge
21   ClusterComp *fClusters; //!
22   Short_t fNClusters;
23   Int_t fOverlap;
24
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);
34   void SetCluster(Float_t dpad,Float_t dtime,Float_t charge,Float_t sigmaY2,Float_t sigmaZ2);
35   
36   void SetPadHit(Int_t row,Float_t f) {fPad[row]=f;}
37   void SetTimeHit(Int_t row,Float_t f) {fTime[row]=f;}
38   void SetOverlap(Int_t i) {fOverlap=i;}
39   
40   Int_t GetOverlap() {return fOverlap;}
41   Float_t GetPadHit(Int_t row) {return fPad[row];}
42   Float_t GetTimeHit(Int_t row) {return fTime[row];}
43
44   ClassDef(AliL3ModelTrack,1)
45
46 };
47
48 #endif