Added possibility to introduce downscaling in the selection of raw-data event based...
authorcvetan <cvetan@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 10 Feb 2010 14:46:50 +0000 (14:46 +0000)
committercvetan <cvetan@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 10 Feb 2010 14:46:50 +0000 (14:46 +0000)
RAW/AliRawReader.cxx

index a336d46..09b4f4a 100644 (file)
@@ -474,6 +474,8 @@ Bool_t AliRawReader::IsEventSelected() const
        expr.ReplaceAll(Form("[%d]",itrigger),"0");
       }
     }
+    // Possibility to introduce downscaling
+    expr.ReplaceAll("%",Form("&& !%d %%",GetEventIndex()));
     Int_t error;
     if ((gROOT->ProcessLineFast(expr.Data(),&error) == 0) &&
        (error == TInterpreter::kNoError)) {