]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/AliShuttleInterface.h
Calib data usage reactivated for Nmean, thres is still not active
[u/mrichter/AliRoot.git] / STEER / AliShuttleInterface.h
index 75a9cd792f48abcd43e372f50b31782ce303fd47..8030818646e548effb9fdd2300f56cfe370b728a 100644 (file)
 //
 
 #include <TObject.h>
+#include <TString.h>
 
 class TList;
-class AliCDBMetaData;
 class AliPreprocessor;
+class AliCDBMetaData;
 class AliCDBPath;
+class AliCDBEntry;
 
 class AliShuttleInterface : public TObject
 {
@@ -29,6 +31,8 @@ class AliShuttleInterface : public TObject
     virtual const char* GetFile(Int_t system, const char* detector, const char* id, const char* source) = 0;
     virtual TList* GetFileSources(Int_t system, const char* detector, const char* id) = 0;
     virtual const char* GetRunParameter(const char* lbEntry) = 0;
+    virtual AliCDBEntry* GetFromOCDB(const AliCDBPath& path) = 0;
+    virtual const char* GetRunType(const char* detCode) = 0;
     virtual void Log(const char* detector, const char* message) = 0;
 
     virtual void RegisterPreprocessor(AliPreprocessor* preprocessor) = 0;
@@ -40,10 +44,28 @@ class AliShuttleInterface : public TObject
     static const Int_t GetDetPos(const char* detName);
     static const UInt_t NDetectors() {return kNDetectors;}
 
+    static TString GetMainCDB () {return fgkMainCDB;}
+    static TString GetLocalCDB () {return fgkLocalCDB;}
+
+    static TString GetMainRefStorage() {return fgkMainRefStorage;}
+    static TString GetLocalRefStorage() {return fgkLocalRefStorage;}
+
+    static const char* GetShuttleTempDir() {return fgkShuttleTempDir.Data();}
+    static const char* GetShuttleLogDir() {return fgkShuttleLogDir.Data();}
+
   protected:
+
     static const char* fkSystemNames[3];               // names of the systems providing data to the shuttle
-    static const char* fgkDetName[kNDetectors];        //! names of detectors' preprocessors (3-letter code convention)
-    static const char* fgkOfflineDetName[kNDetectors];  //! names of detectors in OCDB (AliRoot naming convention)
+    static const char* fgkDetName[kNDetectors];        // names of detectors' preprocessors (3-letter code convention)
+    static const char* fgkOfflineDetName[kNDetectors];  // names of detectors in OCDB (AliRoot naming convention)
+
+    static TString fgkMainCDB;         // URI of the main (Grid) CDB storage
+    static TString fgkLocalCDB;                // URI of the local backup CDB storage
+    static TString fgkMainRefStorage;  // URI of the main (Grid) REFERENCE storage
+    static TString fgkLocalRefStorage; // URI of the local REFERENCE storage
+
+    static TString fgkShuttleTempDir;  // path of SHUTTLE temp folder
+    static TString fgkShuttleLogDir;   // path of SHUTTLE log folder
 
   private:
     ClassDef(AliShuttleInterface, 0);