artdaq_demo
v3_04_00
|
An art::EDFilter module that passes one out of N events. More...
Public Member Functions | |
NthEvent (fhicl::ParameterSet const &p) | |
Construct the NthEvent Filter. More... | |
NthEvent (NthEvent const &)=delete | |
Plugins should not be copied or assigned. | |
NthEvent (NthEvent &&)=delete | |
Plugins should not be copied or assigned. | |
NthEvent & | operator= (NthEvent const &)=delete |
Plugins should not be copied or assigned. | |
NthEvent & | operator= (NthEvent &&)=delete |
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. More... | |
An art::EDFilter module that passes one out of N events.
Definition at line 28 of file NthEvent_module.cc.
|
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.
|
inlineoverride |
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.