]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWG1/TRD/AliTRDonlineTrackletFilter.h
using AliCDBConnect task in test train of TRD
[u/mrichter/AliRoot.git] / PWG1 / TRD / AliTRDonlineTrackletFilter.h
1 #ifndef ALITRDONLINETRACKLETFILTER
2 #define ALITRDONLINETRACKLETFILTER
3
4 #include "AliAnalysisTask.h"
5
6 class TList;
7
8 class AliInputEventHandler;
9 class AliVEvent;
10 class AliAODEvent;
11 class AliMCEvent;
12
13 class AliTRDgeometry;
14 class AliTRDpadPlane;
15 class AliTRDtrackletMCM;
16 class AliTRDtrackletWord;
17
18 class AliTRDonlineTrackletFilter : public AliAnalysisTask
19 {
20  public:
21   AliTRDonlineTrackletFilter(const char *name);
22   ~AliTRDonlineTrackletFilter();
23
24   void ConnectInputData(const Option_t *option);
25   void CreateOutputObjects();
26   void Exec(const Option_t *option);
27   void LocalInit();
28   void Terminate(const Option_t *option);
29
30   Bool_t Notify(); 
31   Bool_t LoadEvent();
32
33
34  protected:
35   AliESDEvent *fESD;                    //!
36
37   AliInputEventHandler *fInputHandler;  //!
38   AliVEvent            *fInputEvent;    //!
39   AliAODEvent          *fOutputAOD;     //!
40   AliMCEvent           *fMCEvent;       //!
41
42   TClonesArray         *fTrackletsRaw;  //!
43   TClonesArray         *fTrackletsSim;  //!
44
45   // ----- output objects -----
46   TTree                *fTrackletTree;  //!
47
48   // ----- internal use -----
49   AliTRDgeometry       *fGeo; //! TRD geometry
50
51   Int_t fNevent;
52
53   TString fPath; //!
54   TFile *fTrackletFile; //!
55   Int_t fNEventsPerFile; //!
56   Int_t fEvent;  //!
57   Int_t fFileNumber; //!
58   TTree *fTrackletTreeSim;  //!
59   TTree *fTrackletTreeRaw; //!
60
61  private:
62   AliTRDonlineTrackletFilter(const AliTRDonlineTrackletFilter&); // not implemented
63   AliTRDonlineTrackletFilter& operator=(const AliTRDonlineTrackletFilter&); // not implemented
64
65   ClassDef(AliTRDonlineTrackletFilter, 0);
66 };
67
68 #endif