SOD/EOD events are now root-ified to the level of equipments. This kind of events...
authorcvetan <cvetan@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 5 Aug 2008 12:44:43 +0000 (12:44 +0000)
committercvetan <cvetan@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 5 Aug 2008 12:44:43 +0000 (12:44 +0000)
RAW/AliMDC.cxx

index 724c235..618bfff 100644 (file)
@@ -319,7 +319,9 @@ Int_t AliMDC::ProcessEvent(void* event, Bool_t isIovecArray)
       if (header->Get("Type") == AliRawEventHeaderBase::kPhysicsEvent ||
          header->Get("Type") == AliRawEventHeaderBase::kCalibrationEvent ||
          header->Get("Type") == AliRawEventHeaderBase::kSystemSoftwareTriggerEvent ||
-         header->Get("Type") == AliRawEventHeaderBase::kDetectorSoftwareTriggerEvent) {
+         header->Get("Type") == AliRawEventHeaderBase::kDetectorSoftwareTriggerEvent ||
+         header->Get("Type") == AliRawEventHeaderBase::kStartOfData ||
+         header->Get("Type") == AliRawEventHeaderBase::kEndOfData) {
        while (rawSize > 0) {
          AliRawEquipment &equipment = *subEvent->NextEquipment();
          AliRawEquipmentHeader &equipmentHeader = 
@@ -367,7 +369,9 @@ Int_t AliMDC::ProcessEvent(void* event, Bool_t isIovecArray)
     if (header->Get("Type") == AliRawEventHeaderBase::kPhysicsEvent ||
        header->Get("Type") == AliRawEventHeaderBase::kCalibrationEvent ||
        header->Get("Type") == AliRawEventHeaderBase::kSystemSoftwareTriggerEvent ||
-       header->Get("Type") == AliRawEventHeaderBase::kDetectorSoftwareTriggerEvent) {
+       header->Get("Type") == AliRawEventHeaderBase::kDetectorSoftwareTriggerEvent ||
+       header->Get("Type") == AliRawEventHeaderBase::kStartOfData ||
+       header->Get("Type") == AliRawEventHeaderBase::kEndOfData) {
       Bool_t result = kFALSE;
       for (Int_t iFilter = 0; iFilter < fFilters.GetEntriesFast(); iFilter++) {
        AliFilter* filter = (AliFilter*) fFilters[iFilter];