]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Applying fix to data source components. They were not ignoring non-data events as...
authoraszostak <aszostak@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 26 Sep 2008 17:10:32 +0000 (17:10 +0000)
committeraszostak <aszostak@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 26 Sep 2008 17:10:32 +0000 (17:10 +0000)
HLT/MUON/OfflineInterface/AliHLTMUONDigitPublisherComponent.cxx
HLT/MUON/OfflineInterface/AliHLTMUONRecHitsSource.cxx
HLT/MUON/OfflineInterface/AliHLTMUONTriggerRecordsSource.cxx

index b643461422ec2bc28ff38cf60dd0f0c106c39598..ff254f4b16be02f6f03160bfbd86a252c938a64c 100644 (file)
@@ -602,6 +602,8 @@ int AliHLTMUONDigitPublisherComponent::GetEvent(
        /// Inherited from AliHLTOfflineDataSource.
        
        assert( fMCDataInterface != NULL or fDataInterface != NULL );
+       
+       if (not IsDataEvent()) return 0;  // ignore non data events.
 
        // Check the size of the event descriptor structure.
        if (evtData.fStructSize < sizeof(AliHLTComponentEventData))
index c3fd2e05d4f3cff327fa802f27ce300f7392844b..580e99ba896ac433dcb11c3cf8e2c222d83b3eb0 100644 (file)
@@ -388,6 +388,8 @@ int AliHLTMUONRecHitsSource::GetEvent(
        ///
        
        assert( fMCDataInterface != NULL or fDataInterface != NULL );
+       
+       if (not IsDataEvent()) return 0;  // ignore non data events.
 
        // Check the size of the event descriptor structure.
        if (evtData.fStructSize < sizeof(AliHLTComponentEventData))
index 72cc71cd5c55cf585a365fd37dd0ca9282b60807..dd588dcea508d06b46ce479569085f2cc206544e 100644 (file)
@@ -400,6 +400,8 @@ int AliHLTMUONTriggerRecordsSource::GetEvent(
        ///
        
        assert( fMCDataInterface != NULL or fDataInterface != NULL );
+       
+       if (not IsDataEvent()) return 0;  // ignore non data events.
 
        AliHLTInt32_t trigRecId = 0;