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_;
86 theLuminosityBlock.
put(numEventsPtr);
unsigned int eventsProcessedInLumi_
#define DEFINE_FWK_MODULE(type)
virtual void produce(edm::Event &, const edm::EventSetup &) override
EventCountProducer(const edm::ParameterSet &)
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
void put(std::auto_ptr< PROD > product)
Put a new product.