$treeview $search $mathjax $extrastylesheet
artdaq_demo
v3_04_00
$projectbrief
|
$projectbrief
|
$searchbox |
An art::EDFilter module that passes one out of N events. More...
Public Member Functions | |
NthEvent (fhicl::ParameterSet const &p) | |
Construct the NthEvent Filter. | |
NthEvent (NthEvent const &) | |
Plugins should not be copied or assigned. | |
NthEvent (NthEvent &&) | |
Plugins should not be copied or assigned. | |
NthEvent & | operator= (NthEvent const &) |
Plugins should not be copied or assigned. | |
NthEvent & | operator= (NthEvent &&) |
Plugins should not be copied or assigned. | |
bool | filter (art::Event &e) override |
Perform the filtering. NthEvent module passes events where event number % nth == 0. |
An art::EDFilter module that passes one out of N events.
Definition at line 28 of file NthEvent_module.cc.
NthEvent::NthEvent | ( | fhicl::ParameterSet const & | p | ) | [explicit] |
Construct the NthEvent Filter.
p | fhicl::ParameterSet for configuring the filter. Parameter "nth", mod of events to pass |
Definition at line 66 of file NthEvent_module.cc.
bool NthEvent::filter | ( | art::Event & | e | ) | [inline, override] |
Perform the filtering. NthEvent module passes events where event number % nth == 0.
e | Event to filter |
Definition at line 70 of file NthEvent_module.cc.