AliHLTUInt32_t eventType=0;
if (!IsDataEvent(&eventType)) {
- if (eventType==gkAliEventTypeEndOfRun) PrintStatistics(fTrigger, kHLTLogImportant, 0);
if (fDataEventsOnly)
{
+ if (eventType == gkAliEventTypeEndOfRun) PrintStatistics(fTrigger, kHLTLogImportant);
IgnoreEvent(); // dont generate any trigger decision.
return 0;
}
static UInt_t lastTime=0;
TDatime time;
- if (time.Get()-lastTime>60) {
+ if (time.Get()-lastTime>60)
+ {
lastTime=time.Get();
PrintStatistics(fTrigger, kHLTLogImportant);
}
-
+ else if (eventType==gkAliEventTypeEndOfRun)
+ {
+ PrintStatistics(fTrigger, kHLTLogImportant);
+ }
+
// add readout filter to event done data
CreateEventDoneReadoutFilter(decision.TriggerDomain(), 3);
return -EIO;
}
Int_t version = store->GetLatestVersion(cdbPath, GetRunNo());
+ if (version < 0)
+ {
+ HLTError("Could not find an entry in the CDB for \"%s\".", cdbPath);
+ return -EIO;
+ }
Int_t subVersion = store->GetLatestSubVersion(cdbPath, GetRunNo(), version);
AliCDBEntry* entry = AliCDBManager::Instance()->Get(cdbPath, GetRunNo(), version, subVersion);
if (entry == NULL)