17 using namespace fhicl;
25 std::string
const parameter_comment{
26 R
"(The 'idsToMatch' parameter value is a sequence of patterns, 27 each of which are composed three fields: 29 <run>:<subrun>:<event> 31 Each of the run, subrun, and event fields can be represented 32 by a number, or set of numbers. The '*' wildcard can be used to 33 represent any number, and the ',' and '-' characters can be used 34 to sets or ranges of numbers. For example: 36 "1:*:*" // Accept Run 1, any SubRun, any Event 37 "1:2:*" // Accept Run 1, SubRun 2, any Event 38 "1:2:3" // Accept Run 1, SubRun 2, Event 3 39 "1:*:4" // Accept Run 1, any SubRun, Event 4 40 "1:2-5:*" // Accept Run 1, SubRuns 2 through 5 (inclusive), any Event 41 "*:9:10,11" // Accept any Run, SubRun 9, Events 10 and 11 42 "7:2-5,8:*" // Accept Run 7, SubRuns 2 through 5 (inclusive) and 8, any Event 44 Specifying multiple patterns in the sequence corresponds to a 45 logical OR of the patterns. In other words, if the event in question 46 matches any (not all) of the patterns, the event is accepted.
bool filter(Event &, ProcessingFrame const &) override
EventIDFilter(Parameters const &p, ProcessingFrame const &)
#define DEFINE_ART_MODULE(klass)
EventIDMatcher const matcher_