Added trigger code. For the moment only preliminary code for pileup removal
[u/mrichter/AliRoot.git] / HLT / trigger / AliL3Trigger.h
1 #ifndef AliL3_Trigger
2 #define AliL3_Trigger
3
4 #include "AliL3RootTypes.h"
5
6 class AliL3TrackSegmentData;
7 class AliL3DigitRowData;
8 class AliL3TrackArray;
9 class AliL3Transform;
10 class AliL3Vertex;
11
12 class AliL3Trigger {
13  
14  private:
15   AliL3TrackArray *fTracks; //!
16   AliL3DigitRowData *fDigitRowData; //!
17   AliL3DigitRowData *fOutput; //!
18   AliL3Vertex *fVertex; //!
19   AliL3Transform *fTransform;//!
20   Int_t fDataSize;
21
22   Float_t fZcut;
23   Int_t fTimeMatch;
24   Int_t fPadMatch;
25   Int_t fSlice;
26   Int_t fPatch;
27
28  public:
29   AliL3Trigger();
30   virtual ~AliL3Trigger();
31   
32   void InitTrigger();
33   void InitPatch(Int_t slice,Int_t patch);
34   void FillTracks(Int_t ntracks,AliL3TrackSegmentData *tr);
35   void FillData(AliL3DigitRowData *data);
36   void SetOutputData(AliL3DigitRowData *ptr);
37   void SetVertex(AliL3Vertex *vertex) {fVertex = vertex;}
38   void SetParameters(Float_t zcut,Int_t timematch,Int_t padmatch);
39   void RemovePileupTracks();
40   void RemovePileupData();
41   
42   Int_t GetDataSize() {return fDataSize;}
43   
44   ClassDef(AliL3Trigger,1) 
45
46 };
47
48 #endif