2 #include "DataFormats/TestObjects/interface/ThingCollection.h" 11 produces<ThingCollection>();
12 produces<ThingCollection, edm::Transition::BeginLuminosityBlock>(
"beginLumi");
13 produces<ThingCollection, edm::Transition::BeginLuminosityBlock>(
"endLumi");
14 produces<ThingCollection, edm::Transition::BeginRun>(
"beginRun");
15 produces<ThingCollection, edm::Transition::BeginRun>(
"endRun");
26 auto result = std::make_unique<ThingCollection>();
40 auto result = std::make_unique<ThingCollection>();
55 auto result = std::make_unique<ThingCollection>();
69 auto result = std::make_unique<ThingCollection>();
84 auto result = std::make_unique<ThingCollection>();
95 desc.setComment(
"Creates ThingCollections for testing.");
97 descriptions.
add(
"source",
desc);
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
void produce(edm::Event &e) override
void endLuminosityBlock(edm::LuminosityBlock &lb)
void put(std::unique_ptr< PROD > product)
Put a new product.
void run(ThingCollection &thingCollection) const
ThingSource(edm::ParameterSet const &pset, edm::InputSourceDescription const &desc)
static void fillDescription(ParameterSetDescription &desc)
void beginRun(edm::Run &r) override
void add(std::string const &label, ParameterSetDescription const &psetDescription)
void beginLuminosityBlock(edm::LuminosityBlock &lb) override