26 n_(ps.getParameter<int>(
"prescaleFactor")),
27 offset_(ps.getParameter<int>(
"prescaleOffset")) {
44 desc.
add<
int>(
"prescaleFactor")->setComment(
"Accept one event every N events");
45 desc.
add<
int>(
"prescaleOffset")->setComment(
"The first event to accept should be the Mth one. Choose 'prescaleFactor'=1 to accept the first event from the source.");
46 descriptions.
add(
"preScaler", desc);
Prescaler(ParameterSet const &)
static void fillDescriptions(ConfigurationDescriptions &descriptions)
#define DEFINE_FWK_MODULE(type)
virtual bool filter(Event &e, EventSetup const &c)
ParameterDescriptionBase * add(U const &iLabel, T const &value)
void add(std::string const &label, ParameterSetDescription const &psetDescription)