31 edm::EndLuminosityBlockProducer> {
56 produces<edm::MergeableCounter, edm::InLumi>();
65 eventsProcessedInLumi_++;
72 eventsProcessedInLumi_ = 0;
82 LogTrace(
"EventCounting") <<
"endLumi: adding " << eventsProcessedInLumi_ <<
" events" << endl;
85 numEventsPtr->value = eventsProcessedInLumi_;
unsigned int eventsProcessedInLumi_
#define DEFINE_FWK_MODULE(type)
virtual void produce(edm::Event &, const edm::EventSetup &) override
EventCountProducer(const edm::ParameterSet &)
void put(std::unique_ptr< PROD > product)
Put a new product.
virtual void endLuminosityBlockProduce(edm::LuminosityBlock &, const edm::EventSetup &) override
virtual void beginLuminosityBlock(const edm::LuminosityBlock &, const edm::EventSetup &) override
virtual void endLuminosityBlock(edm::LuminosityBlock const &, const edm::EventSetup &) override