]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - RAW/AliRawReaderDateOnline.cxx
Removal of the default physics event selection. Requested by Filimon and FMD experts...
[u/mrichter/AliRoot.git] / RAW / AliRawReaderDateOnline.cxx
index 39091c854925485ce9405ed4370b187fe5dff6ce..6a6c247e130fcea757ef43f73d1348d1722cf892 100644 (file)
@@ -52,6 +52,11 @@ AliRawReaderDateOnline::AliRawReaderDateOnline(
 
 #ifdef ALI_DATE
 
+
+  //  Removal of the selection of physics events
+  //  Requested by Filimon and FMD experts
+  //  fSelectEventType = PHYSICS_EVENT;
+
   int status;
 
   /* define data source : this is argument 1 */  
@@ -92,7 +97,7 @@ Bool_t AliRawReaderDateOnline::NextEvent()
     /* get next event (blocking call until timeout) */
     int status=monitorGetEventDynamic((void**)&fEvent);
 
-    if ((unsigned int)status==MON_ERR_EOF) {
+    if (status==MON_ERR_EOF) {
       AliInfo("End of File detected");
       Reset();
       fEvent = NULL;
@@ -120,11 +125,11 @@ Bool_t AliRawReaderDateOnline::NextEvent()
       return kFALSE;
     }
     
-    if (eventT!=PHYSICS_EVENT) {
+    if (!IsEventSelected()) {
       continue;
     }
 
-    AliInfo(Form("Run #%lu, event size: %lu, BC:%u, Orbit:%u, Period:%u",
+    AliInfo(Form("Run #%lu, event size: %lu, BC:0x%x, Orbit:0x%x, Period:0x%x",
                 (unsigned long)fEvent->eventRunNb,
                 (unsigned long)fEvent->eventSize,
                 EVENT_ID_GET_BUNCH_CROSSING(fEvent->eventId),