]>
Commit | Line | Data |
---|---|---|
6ea93b32 | 1 | #ifndef ALIEMCALTRACKPROPAGATORTASK_H |
2 | #define ALIEMCALTRACKPROPAGATORTASK_H | |
3 | ||
5f2a3bf7 | 4 | // $Id: AliEmcalTrackPropagatorTask.h | Mon Dec 9 12:59:28 2013 +0100 | Constantin Loizides $ |
6ea93b32 | 5 | |
6 | class TClonesArray; | |
6ea93b32 | 7 | |
8 | #include "AliAnalysisTaskSE.h" | |
9 | ||
10 | class AliEmcalTrackPropagatorTask : public AliAnalysisTaskSE { | |
11 | public: | |
12 | AliEmcalTrackPropagatorTask(); | |
13 | AliEmcalTrackPropagatorTask(const char *name); | |
14 | virtual ~AliEmcalTrackPropagatorTask(); | |
15 | ||
5f2a3bf7 | 16 | void SetDist(Double_t d) { fDist = d; } |
17 | void SetOnlyIfNotSet(Bool_t b) { fOnlyIfNotSet = b; } | |
18 | void SetTracksInName(const char *n) { fTracksInName = n; } | |
19 | void SetTracksOutName(const char *n) { fTracksOutName = n; } | |
6ea93b32 | 20 | |
21 | protected: | |
5f2a3bf7 | 22 | void UserCreateOutputObjects(); |
23 | void UserExec(Option_t *option); | |
24 | ||
25 | TString fTracksInName; // name of tracks in | |
26 | TString fTracksOutName; // name of tracks out | |
af2f024d | 27 | Double_t fDist; // distance to surface (440cm default) |
5f2a3bf7 | 28 | Bool_t fOnlyIfNotSet; // only attempt if not already at surface |
29 | TClonesArray *fTracksIn; //!track array in | |
30 | TClonesArray *fTracksOut; //!track array out | |
6ea93b32 | 31 | |
32 | private: | |
33 | AliEmcalTrackPropagatorTask(const AliEmcalTrackPropagatorTask&); // not implemented | |
34 | AliEmcalTrackPropagatorTask &operator=(const AliEmcalTrackPropagatorTask&); // not implemented | |
35 | ||
5f2a3bf7 | 36 | ClassDef(AliEmcalTrackPropagatorTask, 2); // Class to propagate and store track parameters at EMCAL surface |
6ea93b32 | 37 | }; |
6ea93b32 | 38 | #endif |