AliPhysics  66e96a0 (66e96a0)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliEmcalTrackPropagatorTask.h
Go to the documentation of this file.
1 #ifndef ALIEMCALTRACKPROPAGATORTASK_H
2 #define ALIEMCALTRACKPROPAGATORTASK_H
3 
4 #include "AliAnalysisTaskEmcal.h"
5 
7  public:
9  AliEmcalTrackPropagatorTask(const char *name);
11 
12  void SetDist(Double_t d) { fDist = d; }
13  void SetOnlyIfNotSet(Bool_t b) { fOnlyIfNotSet = b; }
14  void SetOnlyIfEmcal(Bool_t b) { fOnlyIfEmcal = b; }
15 
16  protected:
17  void ExecOnce();
18  Bool_t Run();
19 
20  Double_t fDist; // distance to surface (440cm default)
21  Bool_t fOnlyIfNotSet; // propagate only if needed
22  Bool_t fOnlyIfEmcal; // propagate only if it is in the EMCal acceptance
23 
24  private:
27 
28  ClassDef(AliEmcalTrackPropagatorTask, 3); // Class to propagate and store track parameters at EMCAL surface
29 };
30 #endif
ClassDef(AliEmcalTrackPropagatorTask, 3)
AliEmcalTrackPropagatorTask & operator=(const AliEmcalTrackPropagatorTask &)
Base task in the EMCAL framework.