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