]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/STEER/AliReconstruction.h
Implementing the possibility of loading the CDB as a snapshot in two ways:
[u/mrichter/AliRoot.git] / STEER / STEER / AliReconstruction.h
index 92a910d6b09d90d6dd9be96d034d272beb157a7a..eabb81600aa80bab8bf039ecc625bb42cece6462 100644 (file)
@@ -118,6 +118,8 @@ public:
   // CDB storage activation
   void SetDefaultStorage(const char* uri);
   void SetSpecificStorage(const char* calibType, const char* uri);
+  void SetFromCDBSnapshot(const char* snapshotFileName) {fFromCDBSnapshot = kTRUE; fSnapshotFileName=snapshotFileName;}
+  void UnSetFromCDBSnapshot() {fFromCDBSnapshot = kFALSE;}
 
   Bool_t MisalignGeometry(const TString& detectors);
 
@@ -310,6 +312,8 @@ private:
   TString       fQARefUri;         //! Uri of the default QA reference storage
   TObjArray      fSpecCDBUri;         //! Array with detector specific CDB storages
   Bool_t        fInitCDBCalled;               //! flag to check if CDB storages are already initialized
+  Bool_t        fFromCDBSnapshot;             //! flag to check if we are loading the CDB from a snapshot
+  TString        fSnapshotFileName;           //! string for the file containing the CDB snapshot
   Bool_t        fSetRunNumberFromDataCalled;  //! flag to check if run number is already loaded from run loader
 
   //Quality Assurance
@@ -357,7 +361,7 @@ private:
   TString              fAnalysisMacro; // Full path to a macro creating an analysis manager train
   AliAnalysisManager  *fAnalysis;      //! Analysis manager
   AliRecoInputHandler *fRecoHandler;   //! Input handler adapted for reconstruction
-  ClassDef(AliReconstruction, 40)      // class for running the reconstruction
+  ClassDef(AliReconstruction, 41)      // class for running the reconstruction
 };
 
 #endif