29 :
public edm::one::EDProducer<edm::one::WatchLuminosityBlocks, edm::EndLuminosityBlockProducer> {
49 produces<edm::MergeableCounter, edm::Transition::EndLuminosityBlock>();
55 eventsProcessedInLumi_++;
60 eventsProcessedInLumi_ = 0;
67 LogTrace(
"EventCounting") <<
"endLumi: adding " << eventsProcessedInLumi_ <<
" events" << endl;
70 numEventsPtr->value = eventsProcessedInLumi_;
unsigned int eventsProcessedInLumi_
#define DEFINE_FWK_MODULE(type)
void produce(edm::Event &, const edm::EventSetup &) override
EventCountProducer(const edm::ParameterSet &)
void put(std::unique_ptr< PROD > product)
Put a new product.
void endLuminosityBlockProduce(edm::LuminosityBlock &, const edm::EventSetup &) override
void beginLuminosityBlock(const edm::LuminosityBlock &, const edm::EventSetup &) override
void endLuminosityBlock(edm::LuminosityBlock const &, const edm::EventSetup &) override
~EventCountProducer() override