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