+ // *without* using the MUONTRK event decoder, we update the number
+ // of events where we have information about MUONTRK.
+ // this should be what is called subevents in the logbook
+ // we do *not* use the MCH decoder on purpose, to not mistakenly
+ // believe there's no event if the data is corrupted (and thus the decoder
+ // "sees" nothing).
+
+ Bool_t mchThere(kFALSE);
+
+ for ( int iDDL = 0; iDDL < AliDAQ::NumberOfDdls("MUONTRK") && !mchThere; ++iDDL )
+ {
+ rawReader->Reset();
+ rawReader->Select("MUONTRK",iDDL,iDDL);
+ if (rawReader->ReadHeader() )
+ {
+ if (rawReader->GetEquipmentSize() ) mchThere = kTRUE;
+ }
+ }
+
+ if ( mchThere) ++numberOfEventsWithMCH;
+
+ rawReader->Reset();
+
+ // now do our real work with the MCH decoder
+