16 produces<nanoaod::UniqueString, edm::InRun>(vname);
25 strings.setComment(
"a parameter set definining the a pair of strings to be added in run flat table");
35 iRun.
put(std::make_unique<nanoaod::UniqueString>(pair.second), pair.first);
40 std::vector<std::pair<std::string, std::string>>
strings_;
void addWithDefaultLabel(ParameterSetDescription const &psetDescription)
T getParameter(std::string const &) const
void produce(edm::StreamID, edm::Event &, edm::EventSetup const &) const override
~UniqueStringProducer() override
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
std::vector< std::pair< std::string, std::string > > strings_
#define DEFINE_FWK_MODULE(type)
void put(std::unique_ptr< PROD > product)
Put a new product.
UniqueStringProducer(edm::ParameterSet const &iConfig)
void globalBeginRunProduce(edm::Run &iRun, edm::EventSetup const &) const override