How can I discard one event and go on to the next one?


Use the gAnalyzer->SetFillEvent(false) method.

This method stoppes the task execution for the current event and prevents the event from filling to the tree.

This flag is always set to true at the beginning of an event. Therefore this method has to be called for every event which has to be discarded.


Matthias Schneebeli, Ryu Sawada
e-mail: ryu.sawada@cern.ch