fpSpecArray[current]=pBlock->fSpecification;
fpBlockNoArray[current]=blockNo;
}
+ // indicate availability of component statistic block
+ iResult=1;
}
- if (iResult>=0) {
+ if (iResult>0) {
fNofSets=fPosition;
fpStatTree->Fill();
iResult=PushBack(fpStatTree, kAliHLTDataTypeTTree);
- }
- // init the timer for the next cycle
- if (!fpTimer) fpTimer=new TStopwatch;
- if (fpTimer) {
- fpTimer->Reset();
- fpTimer->Start();
+ // init the timer for the next cycle
+ if (!fpTimer) fpTimer=new TStopwatch;
+ if (fpTimer) {
+ fpTimer->Reset();
+ fpTimer->Start();
+ }
}
+ if (iResult>0) iResult=-1;
return iResult;
}
pBlock=GetNextInputBlock()) {
if (pBlock->fDataType!=kAliHLTDataTypeESDObject &&
pBlock->fDataType!=kAliHLTDataTypeESDTree) continue;
- HLTInfo("writing ESD, data type %s", (DataType2Text(pBlock->fDataType).c_str()));
+ HLTInfo("writing ESD, data type %s event %d", (DataType2Text(pBlock->fDataType).c_str()), GetEventCount());
iResult=fpManager->WriteESD(reinterpret_cast<const AliHLTUInt8_t*>(pBlock->fPtr),
pBlock->fSize, pBlock->fDataType, NULL, GetEventCount());
}
AliHLTComponentBlockDataList& outputBlocks )
{
// see header file for class documentation
+
+ // process data events only
+ if (!IsDataEvent()) return 0;
+
int iResult=0;
TObjLink *lnk=fpCurrent;
if (lnk==NULL) lnk=fEvents.FirstLink();
AliHLTComponentTriggerData& /*trigData*/)
{
// see header file for class documentation
+
+ // process data events only
+ if (!IsDataEvent()) return 0;
+
int iResult=0;
// fetch runLoader instance from interface
AliRunLoader* pRunLoader=GetRunLoader();
{
// see header file for class documentation
int iResult=0;
+
+ // process data events only
+ if (!IsDataEvent()) return 0;
+
unsigned int offset=0;
AliHLTOUT* pHLTOUT=NULL;
AliRawReader* pRawReader=GetRawReader();
{
// see header file for class documentation
int iResult=0;
+
+ // process data events only
+ if (!IsDataEvent()) return 0;
+
unsigned int offset=0;
assert(outputPtr!=NULL || size==0);
AliRawReader* pRawReader=GetRawReader();