bugfix: only increment CTP counters for data events, skip for SOD and EOD
authorrichterm <richterm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 27 Aug 2009 14:40:11 +0000 (14:40 +0000)
committerrichterm <richterm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 27 Aug 2009 14:40:11 +0000 (14:40 +0000)
HLT/BASE/AliHLTComponent.cxx

index 2231f8e9080bca6eae5dcb0beea1d54ed280e3ee..3c67b23b1b3a183fea1cb439ac1837067a75a49c 100644 (file)
@@ -1736,7 +1736,7 @@ int AliHLTComponent::ProcessEvent( const AliHLTComponentEventData& evtData,
   if (fRequireSteeringBlocks) bSkipDataProcessing=0;
 
   // increment CTP trigger counters if available
-  if (fpCTPData) fpCTPData->Increment(trigData);
+  if (fpCTPData && IsDataEvent()) fpCTPData->Increment(trigData);
 
   AliHLTComponentBlockDataList blockData;
   if (iResult>=0 && !bSkipDataProcessing)