Bool_t boolMkdir = gGrid->Mkdir(dir.Data());
if (!boolMkdir) {
Log("SHUTTLE",Form("Impossible to create dir %s in alien catalogue for run %i!",dir.Data(),GetCurrentRun()));
- if (valueLsPath) {
- delete valueLsPath;
- valueLsPath = 0x0;
- }
- delete mapLs;
- mapLs = 0x0;
delete resultLs;
resultLs = 0x0;
return kFALSE;
Log("SHUTTLE",Form("Directory %s correctly found for run %i",dir.Data(),GetCurrentRun()));
}
- delete valueLsPath;
- valueLsPath = 0x0;
- delete mapLs;
- mapLs = 0x0;
delete resultLs;
resultLs = 0x0;
TObjString *valueTouch = dynamic_cast<TObjString*>(mapTouch->GetValue("__result__"));
if (!valueTouch){
Log("SHUTTLE",Form("No value for \"__result__\" key set in the map for touching command, returning without touching for run %i",GetCurrentRun()));
- delete mapTouch;
- mapTouch = 0x0;
delete resultTouch;
resultTouch = 0x0;
return kFALSE;
}
if (valueTouch->GetString()!="1"){
Log("SHUTTLE",Form("Failing the touching command, returning without touching for run %i",GetCurrentRun()));
- delete valueTouch;
- valueTouch = 0x0;
- delete mapTouch;
- mapTouch = 0x0;
delete resultTouch;
resultTouch = 0x0;
return kFALSE;
}
- delete valueTouch;
- valueTouch = 0x0;
- delete mapTouch;
- mapTouch = 0x0;
delete resultTouch;
resultTouch = 0x0;
return kTRUE;