14 class LuminosityBlockID;
47 &fillDescriptionFromParameter<std::vector<unsigned>>;
50 &fillDescriptionFromParameter<std::vector<long long>>;
53 &fillDescriptionFromParameter<std::vector<unsigned long long>>;
59 &fillDescriptionFromParameter<std::vector<std::string>>;
62 &fillDescriptionFromParameter<std::vector<edm::EventID>>;
64 &fillDescriptionFromParameter<edm::LuminosityBlockID>;
66 &fillDescriptionFromParameter<std::vector<edm::LuminosityBlockID>>;
69 &fillDescriptionFromParameter<std::vector<edm::InputTag>>;
72 &fillDescriptionFromParameter<edm::LuminosityBlockRange>;
74 &fillDescriptionFromParameter<std::vector<edm::LuminosityBlockRange>>;
77 &fillDescriptionFromParameter<std::vector<edm::EventRange>>;
80 std::map<edm::ParameterTypes, FillDescriptionFromParameter>& findTheRightFunction() {
104 for (ParameterSet::table::const_iterator
entry = entries.begin(), endEntries = entries.end();
entry != endEntries;
106 std::map<edm::ParameterTypes, FillDescriptionFromParameter>::iterator iter =
107 findTheRightFunction().find(static_cast<edm::ParameterTypes>(
entry->second.typeCode()));
108 if (iter != findTheRightFunction().end()) {
109 iter->second(pset,
entry->first,
entry->second.isTracked(), desc);
114 for (ParameterSet::psettable::const_iterator pset_entry = pset_entries.begin(), endEntries = pset_entries.end();
115 pset_entry != endEntries;
118 if (pset_entry->second.isTracked()) {
125 if (pset_entry->second.isTracked()) {
133 for (ParameterSet::vpsettable::const_iterator vpset_entry = vpset_entries.begin(), endEntries = vpset_entries.end();
134 vpset_entry != endEntries;
136 std::vector<edm::ParameterSet> nestedVPset;
137 if (vpset_entry->second.isTracked()) {
144 auto pd = std::make_unique<ParameterDescription<std::vector<ParameterSet>>>(
145 vpset_entry->first, emptyDescription, vpset_entry->second.isTracked(), nestedVPset);
147 pd->setPartOfDefaultOfVPSet(
true);
148 std::unique_ptr<ParameterDescriptionNode> node(
std::move(pd));
T getParameter(std::string const &) const
T getUntrackedParameter(std::string const &, T const &) const
VParameterSet const & getParameterSetVector(std::string const &name) const
void(* FillDescriptionFromParameter)(edm::ParameterSet const &, std::string const &, bool, edm::ParameterSetDescription &)
ParameterDescriptionBase * addUntracked(U const &iLabel, T const &value)
std::map< std::string, ParameterSetEntry > psettable
ParameterDescriptionNode * addNode(ParameterDescriptionNode const &node)
ParameterSet getUntrackedParameterSet(std::string const &name, ParameterSet const &defaultValue) const
void fillDescriptionFromPSet(ParameterSet const &pset, ParameterSetDescription &desc)
ParameterDescriptionBase * add(U const &iLabel, T const &value)
psettable const & psetTable() const
static std::map< edm::ParameterTypes, FillDescriptionFromParameter > s_findTheRightFunction
ParameterSet const & getParameterSet(std::string const &) const
std::map< std::string, Entry > table
std::map< std::string, VParameterSetEntry > vpsettable
vpsettable const & vpsetTable() const
VParameterSet getUntrackedParameterSetVector(std::string const &name, VParameterSet const &defaultValue) const
table const & tbl() const