30 <<
"SwitchProducer does not support non-event branches. Got " << iBranch.
branchType()
31 <<
" for SwitchProducer with label " <<
moduleLabel <<
" whose chosen case is " << chosenLabel <<
".";
47 desc.
add<std::vector<std::string>>(
"@all_cases");
BranchAliasSetterT< ProductType > produces()
declare what type of product will make and with which optional label
T getParameter(std::string const &) const
void callWhenNewProductsRegistered(std::function< void(BranchDescription const &)> const &func)
T getUntrackedParameter(std::string const &, T const &) const
BranchType const & branchType() const
ParameterDescriptionBase * addUntracked(U const &iLabel, T const &value)
std::string const & processName() const
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
#define DEFINE_FWK_MODULE(type)
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)
void produce(StreamID, Event &e, EventSetup const &c) const final
~SwitchProducer() override=default