]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWG/EMCAL/AliEmcalSetupTask.h
change order of bookkeeping events
[u/mrichter/AliRoot.git] / PWG / EMCAL / 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               SetGeoPath(const char *n)  { fGeoPath  = n; }
20   void               SetOadbPath(const char *n) { fOadbPath = n; }
21   void               SetOcdbPath(const char *n) { fOcdbPath = n; }
22   void               SetObjs(const char *n)     { fObjs     = n; }
23
24  protected:
25   void               ConnectInputData(Option_t *option = "");
26   void               UserExec(Option_t *option);
27   void               Setup(Int_t runno);
28   void               Terminate(Option_t *option);
29
30   TString            fOcdbPath;        // path to ocdb (def=uselocal)
31   TString            fOadbPath;        // path to oadb
32   TString            fGeoPath;         // path to geometry
33   TString            fObjs;            // string of objects for alignment to apply
34   Bool_t             fIsInit;          //!=true then already initialized 
35   TString            fLocalOcdb;       //!directory path to local ocdb
36   TString            fLocalOcdbStor;   //!storage path to local ocdb
37
38  private:
39   AliEmcalSetupTask(const AliEmcalSetupTask&);            // not implemented
40   AliEmcalSetupTask &operator=(const AliEmcalSetupTask&); // not implemented
41
42   ClassDef(AliEmcalSetupTask, 5); // Class to setup geometry for EMCal
43 };
44
45 #endif