+
+void AliRawReaderDateOnline::SelectEvents(Int_t type,
+ ULong64_t triggerMask,
+ const char *triggerExpr)
+{
+ // Select event by using DATE monitoring
+ // library
+#ifdef ALI_DATE
+ const Char_t* table[] = {"ALL", "no", "*", "*",
+ "PHY", "yes","*", "*",
+ "EOR", "yes","*", "*",
+ NULL, NULL, NULL, NULL};
+ TString trSelection;
+ for (Int_t i = 0; i < 50; i++) {
+ if (triggerMask & (1ull << i)) {
+ if (!trSelection.IsNull()) trSelection += "&";
+ trSelection += Form("%d",i);
+ }
+ }
+ table[7] = trSelection.Data();
+
+ monitorLogout();
+ monitorDeclareTableExtended(const_cast<char**>(table));
+
+#endif
+ AliRawReader::SelectEvents(type,triggerMask,triggerExpr);
+}
+
+//______________________________________________________________________________
+void AliRawReaderDateOnline::Stop()
+{
+ // Stop the event loop (called on SIGUSR1)
+
+ fStop = kTRUE;
+}