]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWGGA/EMCALTasks/AliEmcalSetupTask.h
AddTasdk for v2 with EP modified to run in the lego train
[u/mrichter/AliRoot.git] / PWGGA / EMCALTasks / AliEmcalSetupTask.h
1 #ifndef ALIEMCALSETUPTASK_H
2 #define ALIEMCALSETUPTASK_H
3
4 // $Id$
5
6 class TClonesArray;
7 class AliESDEvent;
8 class AliESDtrack;
9 class AliESDtrackCuts;
10
11 #include "AliAnalysisTaskSE.h"
12
13 class AliEmcalSetupTask : public AliAnalysisTaskSE {
14  public:
15   AliEmcalSetupTask();
16   AliEmcalSetupTask(const char *name);
17   virtual ~AliEmcalSetupTask();
18
19   void UserExec(Option_t *option);
20   void SetGeoPath(const char *n)  { fGeoPath  = n; }
21   void SetOadbPath(const char *n) { fOadbPath = n; }
22   void SetOcdbPath(const char *n) { fOcdbPath = n; }
23
24  protected:
25   TString            fOcdbPath;        // path to ocdb (def=none)
26   TString            fOadbPath;        // path to oadb
27   TString            fGeoPath;         // path to geometry
28   AliESDEvent       *fEsdEv;           //!esd event
29   Bool_t             fIsInit;          //!=true then already initialized 
30
31  private:
32   AliEmcalSetupTask(const AliEmcalSetupTask&);            // not implemented
33   AliEmcalSetupTask &operator=(const AliEmcalSetupTask&); // not implemented
34
35   ClassDef(AliEmcalSetupTask, 1); // Class to setup geometry for emcal
36 };
37
38 #endif