16 mutable std::atomic<unsigned int>
m_count;
25 desc.add<
bool>(
"saveTags",
false);
26 descriptions.
add(
"hltDynamicPrescaler",
desc);
32 unsigned int dynamicScale = 1;
33 while (
count > dynamicScale * 10) {
37 return (0 ==
count % dynamicScale);
#define DEFINE_FWK_MODULE(type)
std::atomic< unsigned int > m_count
~HLTDynamicPrescaler() override
bool filter(edm::StreamID, edm::Event &event, edm::EventSetup const &setup) const override
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
void add(std::string const &label, ParameterSetDescription const &psetDescription)
HLTDynamicPrescaler(edm::ParameterSet const &configuration)