31 <<
"SwitchProducer does not support non-event branches. Got " << iBranch.
branchType()
32 <<
" for SwitchProducer with label " << moduleLabel <<
" whose chosen case is " << chosenLabel <<
".";
48 desc.
add<std::vector<std::string>>(
"@all_cases");
void callWhenNewProductsRegistered(std::function< void(BranchDescription const &)> const &func)
T getUntrackedParameter(std::string const &, T const &) const
const edm::EventSetup & c
BranchType const & branchType() const
ParameterDescriptionBase * addUntracked(U const &iLabel, T const &value)
#define DEFINE_FWK_MODULE(type)
std::string const & processName() const
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
void addDefault(ParameterSetDescription const &psetDescription)
std::string const & moduleLabel() const
std::string const & productInstanceName() const
static void fillDescriptions(ConfigurationDescriptions &descriptions)
SwitchProducer(ParameterSet const &iConfig)
TypeID unwrappedTypeID() const
ParameterDescriptionBase * add(U const &iLabel, T const &value)
T getParameter(std::string const &) const
void produce(StreamID, Event &e, EventSetup const &c) const final
~SwitchProducer() override=default