]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/CDB/AliCDBManager.h
possibility to set mirror SE at the menager level, not only for a single Put
[u/mrichter/AliRoot.git] / STEER / CDB / AliCDBManager.h
index c1ae71ed43866e6b4e47d497168fcdbfbc1b5e7a..c262dbbca78c92a40733899b3f2c4f1a3e687a7f 100644 (file)
@@ -103,6 +103,9 @@ class AliCDBManager: public TObject {
        void SetRun(Int_t run);
        Int_t GetRun() const {return fRun;}
 
+       void SetMirrorSEs(const char* mirrors){fMirrorSEs=mirrors;}
+       const char* GetMirrorSEs() const {return fMirrorSEs;}
+
        void DestroyActiveStorages();
        void DestroyActiveStorage(AliCDBStorage* storage);
 
@@ -182,6 +185,7 @@ protected:
        AliCDBParam* fRefParam;         // Reference data storage parameters
 
        Int_t fRun;                     //! The run number
+       const char* fMirrorSEs;         //! List of SEs used in case we are putting objects on an AliEn storage 
        Bool_t fCache;                  //! The cache flag
        Bool_t fLock;   //! Lock flag, if ON default storage and run number cannot be reset