14 class LuminosityBlockID;
61 &fillDescriptionFromParameter<std::vector<edm::LuminosityBlockID>>;
69 &fillDescriptionFromParameter<std::vector<edm::LuminosityBlockRange>>;
74 std::map<edm::ParameterTypes, FillDescriptionFromParameter>& findTheRightFunction() {
98 for (ParameterSet::table::const_iterator
entry = entries.begin(), endEntries = entries.end();
entry != endEntries;
100 std::map<edm::ParameterTypes, FillDescriptionFromParameter>::iterator iter =
101 findTheRightFunction().find(static_cast<edm::ParameterTypes>(
entry->second.typeCode()));
102 if (iter != findTheRightFunction().end()) {
108 for (ParameterSet::psettable::const_iterator pset_entry = pset_entries.begin(), endEntries = pset_entries.end();
109 pset_entry != endEntries;
112 if (pset_entry->second.isTracked()) {
113 nestedPset =
pset.getParameterSet(pset_entry->first);
115 nestedPset =
pset.getUntrackedParameterSet(pset_entry->first);
119 if (pset_entry->second.isTracked()) {
127 for (ParameterSet::vpsettable::const_iterator vpset_entry = vpset_entries.begin(), endEntries = vpset_entries.end();
128 vpset_entry != endEntries;
130 std::vector<edm::ParameterSet> nestedVPset;
131 if (vpset_entry->second.isTracked()) {
132 nestedVPset =
pset.getParameterSetVector(vpset_entry->first);
134 nestedVPset =
pset.getUntrackedParameterSetVector(vpset_entry->first);
138 auto pd = std::make_unique<ParameterDescription<std::vector<ParameterSet>>>(
139 vpset_entry->first, emptyDescription, vpset_entry->second.isTracked(), nestedVPset);
141 pd->setPartOfDefaultOfVPSet(
true);
142 std::unique_ptr<ParameterDescriptionNode> node(
std::move(pd));
std::map< std::string, ParameterSetEntry, std::less<> > psettable
void fillDescriptionFromPSet(ParameterSet const &pset, ParameterSetDescription &desc)
TEMPL(T2) struct Divides void
void(* FillDescriptionFromParameter)(edm::ParameterSet const &, std::string const &, bool, edm::ParameterSetDescription &)
static std::map< edm::ParameterTypes, FillDescriptionFromParameter > s_findTheRightFunction
std::map< std::string, VParameterSetEntry, std::less<> > vpsettable
std::map< std::string, Entry, std::less<> > table