1 #ifndef ALIEMCALTRACKPROPAGATORTASK_H
2 #define ALIEMCALTRACKPROPAGATORTASK_H
7 class AliEMCALRecoUtils;
11 #include "AliAnalysisTaskSE.h"
13 class AliEmcalTrackPropagatorTask : public AliAnalysisTaskSE {
15 AliEmcalTrackPropagatorTask();
16 AliEmcalTrackPropagatorTask(const char *name);
17 virtual ~AliEmcalTrackPropagatorTask();
19 void UserCreateOutputObjects();
20 void UserExec(Option_t *option);
22 void SetDist(Double_t d) { fDist = d; }
23 void SetMinPt(Double_t pt) { fMinPtCut = pt; }
24 void SetRecoUtils(AliEMCALRecoUtils *ru) { fRecoUtils = ru; }
25 void SetTracksName(const char *name) { fTracksName = name; }
26 void SetUseGlobalTrackParam(Bool_t b) { fUseGlobalTrackParam = b; }
27 void SetUseOuterTrackParam(Bool_t b) { fUseOuterTrackParam = b; }
30 AliEMCALRecoUtils *fRecoUtils; // esd reco utils
31 TString fTracksName; // name of tracks
32 Double_t fDist; // distance to surface (440cm default)
33 Double_t fMinPtCut; // minimum track pt cut (350 MeV/c default)
34 AliESDEvent *fEsdEv; //!esd event
35 TClonesArray *fTracks; //!track array
36 Bool_t fUseGlobalTrackParam; // use global track param in propagation
37 Bool_t fUseOuterTrackParam; // use global track param in propagation
40 AliEmcalTrackPropagatorTask(const AliEmcalTrackPropagatorTask&); // not implemented
41 AliEmcalTrackPropagatorTask &operator=(const AliEmcalTrackPropagatorTask&); // not implemented
43 ClassDef(AliEmcalTrackPropagatorTask, 1); // Class to propagate and store track parameters at EMCAL surface