e THnSparse structure to store MC residuals
[u/mrichter/AliRoot.git] / PWG1 / TRD / AliTRDonlineTrackletFilter.h
CommitLineData
b220e595 1#ifndef ALITRDONLINETRACKLETFILTER
2#define ALITRDONLINETRACKLETFILTER
3
4#include "AliAnalysisTask.h"
5
6class TList;
7
8class AliInputEventHandler;
9class AliVEvent;
10class AliAODEvent;
11class AliMCEvent;
12
13class AliTRDgeometry;
14class AliTRDpadPlane;
15class AliTRDtrackletMCM;
16class AliTRDtrackletWord;
17
18class 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