Not setting the default storage to local if the snapshot is there
authorzampolli <Chiara.Zampolli@cern.ch>
Wed, 7 Jan 2015 15:58:22 +0000 (16:58 +0100)
committerzampolli <Chiara.Zampolli@cern.ch>
Wed, 7 Jan 2015 15:58:22 +0000 (16:58 +0100)
PWGPP/CalibMacros/CPass0/ConfigCalibTrain.C
PWGPP/CalibMacros/CPass1/ConfigCalibTrain.C

index 62bedd1..2b3d857 100644 (file)
@@ -18,7 +18,6 @@ void ConfigCalibTrain(Int_t run, const char *ocdb="raw://"){
   if (gSystem->AccessPathName("OCDB.root", kFileExists)==0) {  
     Printf("ConfigCalibTrain: using OCDB snapshot");
     AliCDBManager::Instance()->SetSnapshotMode("OCDB.root");
-    ocdb = "local://";
   }
   else {
     Printf("ConfigCalibTrain: NOT using OCDB snapshot");
index 603fbac..f68d3ed 100644 (file)
@@ -18,7 +18,6 @@ void ConfigCalibTrain(Int_t run, const char *ocdb="raw://"){
   if (gSystem->AccessPathName("OCDB.root", kFileExists)==0) {  
     Printf("ConfigCalibTrain: using OCDB snapshot");
     AliCDBManager::Instance()->SetSnapshotMode("OCDB.root");
-    ocdb = "local://";
   }
   else {
     Printf("ConfigCalibTrain: NOT using OCDB snapshot");