2 #include "DataFormats/TestObjects/interface/ThingCollection.h" 16 alg_(iConfig.getParameter<
int>(
"offsetDelta"),
18 iConfig.getParameter<
bool>(
"grow")),
23 desc.add<
int>(
"offsetDelta", 0)
25 "How much extra to increment the value used when creating Things for a new container. E.g. the last " 27 "used to create Thing from the previous event is incremented by 'offsetDelta' to compute the value to " 29 "of the first Thing created in the next Event.");
30 desc.add<std::vector<int>>(
"detSets", std::vector<int>{1, 2, 3})->setComment(
"Vector of DetSet ids");
31 desc.add<
int>(
"nThings", 20)->setComment(
"How many Things to put in each DetSet.");
32 desc.add<
bool>(
"grow",
false)
33 ->setComment(
"If true, multiply 'nThings' by the value of offset for each run of the algorithm.");
43 auto begin =
tmp.begin();
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
void addWithDefaultLabel(ParameterSetDescription const &psetDescription)
ret
prodAgent to be discontinued
void produce(edm::StreamID, edm::Event &e, edm::EventSetup const &c) const override
edm::EDPutTokenT< edmNew::DetSetVector< Thing > > evToken_
DetSetVectorThingProducer(edm::ParameterSet const &iConfig)
#define DEFINE_FWK_MODULE(type)
void run(ThingCollection &thingCollection) const
std::vector< int > detSets_