Including latest changes
[u/mrichter/AliRoot.git] / HLT / comp / AliL3Modeller.h
1 #ifndef AliL3_Modeller
2 #define AliL3_Modeller
3
4
5 #include "AliL3RootTypes.h"
6
7 class AliL3TrackArray;
8 class AliL3MemHandler;
9 class AliL3DigitRowData;
10 class AliL3Transform;
11
12 struct Cluster {
13   UInt_t fCharge;
14   UInt_t fPad;
15   UInt_t fTime;
16   UInt_t fSigmaY2;
17   UInt_t fSigmaZ2;
18 };
19
20 struct Digit {
21   Short_t fCharge;
22   Bool_t fUsed;
23 };
24
25 class AliL3Modeller {
26   
27  private:
28   
29   AliL3TrackArray *fTracks; //!
30   AliL3MemHandler *fMemHandler; //!
31   AliL3DigitRowData *fRowData;//!
32
33   AliL3Transform *fTransform; //!
34   Int_t fNClusters;
35   Int_t fMaxClusters;
36   
37   Float_t fPadOverlap;
38   Float_t fTimeOverlap;
39   
40   Int_t fSlice;
41   Int_t fPatch;
42   
43   void CalcClusterWidth(Cluster *cl,Float_t &sigmaY2,Float_t &sigmaZ2);
44   
45  public:
46   
47   AliL3Modeller();
48   virtual ~AliL3Modeller();
49   
50   void Init(Int_t slice,Int_t patch,Char_t *path);
51   void Process();
52   void CheckForOverlaps();
53   void CalculateCrossingPoints();
54
55   void SetInputData(AliL3DigitRowData *digits) {fRowData = digits;}
56   
57     
58   ClassDef(AliL3Modeller,1) //Modeller class
59     
60 };
61
62 #endif