Exaple usage case added
authormivanov <marian.ivanov@cern.ch>
Tue, 6 May 2014 14:36:32 +0000 (16:36 +0200)
committermivanov <marian.ivanov@cern.ch>
Tue, 6 May 2014 14:36:32 +0000 (16:36 +0200)
STEER/CDB/AliOCDBtoolkit.cxx

index bf228c4..143a992 100644 (file)
@@ -670,8 +670,8 @@ void DumpTObjectArray(){
 Bool_t AliOCDBtoolkit::AddoptOCDBEntry( const char *finput, const char *output,  Int_t ustartRun, Int_t uendRun){
   //
   // Addopt OCDB entry - keeping all of the CDBentry quantities
-  // finput = "/cvmfs/alice.gsi.de/alice/simulation/2008/v4-15-Release/Residual/TPC/Calib/ClusterParam/Run127712_130850_v4_s0.root"
-  
+  // // Example usage: 
+  //  AliOCDBtoolkit::AddoptOCDBEntry("/cvmfs/alice.gsi.de/alice/simulation/2008/v4-15-Release/Residual/TPC/Calib/ClusterParam/Run127712_130850_v4_s0.root",0,0,AliCDBRunRange::Infinity())
   TFile * fin = TFile::Open(finput);
   if (!fin) return kFALSE;
   AliCDBEntry * entry = (AliCDBEntry*) fin->Get("AliCDBEntry");