AliPhysics  vAN-20150924 (e816f45)
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros
AliEmcalTrackPropagatorTask.h
Go to the documentation of this file.
1 #ifndef ALIEMCALTRACKPROPAGATORTASK_H
2 #define ALIEMCALTRACKPROPAGATORTASK_H
3 
4 // $Id: AliEmcalTrackPropagatorTask.h | Mon Dec 9 12:59:28 2013 +0100 | Constantin Loizides $
5 
6 class TClonesArray;
7 
8 #include "AliAnalysisTaskSE.h"
9 
10 class AliEmcalTrackPropagatorTask : public AliAnalysisTaskSE {
11  public:
13  AliEmcalTrackPropagatorTask(const char *name);
15 
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; }
20 
21  protected:
23  void UserExec(Option_t *option);
24 
25  TString fTracksInName; // name of tracks in
26  TString fTracksOutName; // name of tracks out
27  Double_t fDist; // distance to surface (440cm default)
28  Bool_t fOnlyIfNotSet; // only attempt if not already at surface
29  TClonesArray *fTracksIn;
30  TClonesArray *fTracksOut;
31 
32  private:
35 
36  ClassDef(AliEmcalTrackPropagatorTask, 2); // Class to propagate and store track parameters at EMCAL surface
37 };
38 #endif
AliEmcalTrackPropagatorTask & operator=(const AliEmcalTrackPropagatorTask &)
TClonesArray * fTracksOut
track array in
ClassDef(AliEmcalTrackPropagatorTask, 2)