propagator and setup task
[u/mrichter/AliRoot.git] / PWG4 / UserTasks / 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 SetOadbPath(const char *n) { fOadbPath = n; }
21   void SetOcdbPath(const char *n) { fOcdbPath = n; }
22
23  protected:
24   TString            fOcdbPath;        // path to ocdb (def=none)
25   TString            fOadbPath;        // path to oadb
26   AliESDEvent       *fEsdEv;           //!esd event
27   Bool_t             fIsInit;          //!=true then already initialized 
28
29  private:
30   AliEmcalSetupTask(const AliEmcalSetupTask&);            // not implemented
31   AliEmcalSetupTask &operator=(const AliEmcalSetupTask&); // not implemented
32
33   ClassDef(AliEmcalSetupTask, 1); // Class to setup geometry for emcal
34 };
35
36 #endif