Go to the documentation of this file.
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");
std::string const & productInstanceName() const
ParameterDescriptionBase * add(U const &iLabel, T const &value)
static void fillDescriptions(ConfigurationDescriptions &descriptions)
SwitchProducer(ParameterSet const &iConfig)
T getUntrackedParameter(std::string const &, T const &) const
void callWhenNewProductsRegistered(std::function< void(BranchDescription const &)> const &func)
#define DEFINE_FWK_MODULE(type)
std::string const & processName() const
TypeID unwrappedTypeID() const
ParameterDescriptionBase * addUntracked(U const &iLabel, T const &value)
void produce(StreamID, Event &e, EventSetup const &c) const final
BranchType const & branchType() const
~SwitchProducer() override=default
T getParameter(std::string const &) const
BranchAliasSetterT< ProductType > produces()
declare what type of product will make and with which optional label
std::string const & moduleLabel() const
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
void addDefault(ParameterSetDescription const &psetDescription)