}
//_____________________________________________________________________________
-void
+Bool_t
AliMUONTriggerSubprocessor::Initialize(Int_t run, UInt_t startTime, UInt_t endTime)
{
/// When starting a new run, reads in the trigger online files.
{
Master()->Log("FATAL ERROR : DA does not seem to have been run !!!");
Master()->Invalidate();
- return;
+ return kFALSE;
}
// OK. We have an exportedFiles.dat file at hand.
WhichFilesToRead(GetFileName("EXPORTED").Data(),
globalFile,regionalFile,localFile,lutFile);
+ if ((globalFile+regionalFile+localFile+lutFile) == 0) {
+ Master()->Log("No file(s) to be processed for this run. Exiting.");
+ return kTRUE;
+ }
+
delete fRegionalConfig; fRegionalConfig = 0x0;
delete fLocalMasks; fLocalMasks = 0x0;
delete fGlobalConfig; fGlobalConfig = 0x0;
{
Master()->Log("Could not read some input file(s). Aborting");
Master()->Invalidate();
- return;
+ return kFALSE;
}
if ( regionalFile ) fRegionalConfig = new AliMUONRegionalTriggerConfig();
fLUT = 0x0;
}
}
+ return kTRUE;
}
//_____________________________________________________________________________