]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PWG/EMCAL/AliEmcalSetupTask.h
Merge branch 'master' of https://git.cern.ch/reps/AliRoot
[u/mrichter/AliRoot.git] / PWG / EMCAL / AliEmcalSetupTask.h
index f220b25edbbbe365b438bbd6c54be20d554c3d5c..6567e52e28111e521aa95645de3096cff51ddf40 100644 (file)
@@ -16,26 +16,32 @@ class AliEmcalSetupTask : public AliAnalysisTaskSE {
   AliEmcalSetupTask(const char *name);
   virtual ~AliEmcalSetupTask();
 
-  void SetGeoPath(const char *n)  { fGeoPath  = n; }
-  void SetOadbPath(const char *n) { fOadbPath = n; }
-  void SetOcdbPath(const char *n) { fOcdbPath = n; }
-  void SetObjs(const char *n)     { fObjs     = n; }
-  void UserExec(Option_t *option);
-  void Terminate(Option_t *option);
+  void               SetGeoPath(const char *n)  { fGeoPath  = n; }
+  void               SetNoOCDB(Bool_t b)        { fNoOCDB   = b; }
+  void               SetOadbPath(const char *n) { fOadbPath = n; }
+  void               SetOcdbPath(const char *n) { fOcdbPath = n; }
+  void               SetObjs(const char *n)     { fObjs     = n; }
 
  protected:
+  void               ConnectInputData(Option_t *option = "");
+  void               UserExec(Option_t *option);
+  void               Setup(Int_t runno);
+  void               Terminate(Option_t *option);
+
   TString            fOcdbPath;        // path to ocdb (def=uselocal)
   TString            fOadbPath;        // path to oadb
   TString            fGeoPath;         // path to geometry
   TString            fObjs;            // string of objects for alignment to apply
+  Bool_t             fNoOCDB;          // if true then do not mess with OCDB
   Bool_t             fIsInit;          //!=true then already initialized 
-  TString            fLocalOcdb;       //!path to local ocdb
+  TString            fLocalOcdb;       //!directory path to local ocdb
+  TString            fLocalOcdbStor;   //!storage path to local ocdb
 
  private:
   AliEmcalSetupTask(const AliEmcalSetupTask&);            // not implemented
   AliEmcalSetupTask &operator=(const AliEmcalSetupTask&); // not implemented
 
-  ClassDef(AliEmcalSetupTask, 4); // Class to setup geometry for EMCal
+  ClassDef(AliEmcalSetupTask, 6); // Class to setup geometry for EMCal
 };
 
 #endif