AliCDBManager::Instance()->SetDefaultStorage(ocdb);
AliCDBManager::Instance()->SetRun(run);
if (gSystem->AccessPathName("OCDB.root", kFileExists)==0) {
+ Printf("ConfigCalibTrain: using OCDB snapshot");
AliCDBManager::Instance()->SetSnapshotMode("OCDB.root");
}
+ else {
+ Printf("ConfigCalibTrain: NOT using OCDB snapshot");
+ }
// magnetic field
if ( !TGeoGlobalMagField::Instance()->GetField() ) {
printf("Loading field map...\n");
AliCDBManager::Instance()->SetDefaultStorage(ocdb);
AliCDBManager::Instance()->SetRun(run);
if (gSystem->AccessPathName("OCDB.root", kFileExists)==0) {
+ Printf("ConfigCalibTrain: using OCDB snapshot");
AliCDBManager::Instance()->SetSnapshotMode("OCDB.root");
}
+ else {
+ Printf("ConfigCalibTrain: NOT using OCDB snapshot");
+ }
// magnetic field
if ( !TGeoGlobalMagField::Instance()->GetField() ) {
printf("Loading field map...\n");