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()) {
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()) {
119 nestedPset =
pset.getParameterSet(pset_entry->first);
121 nestedPset =
pset.getUntrackedParameterSet(pset_entry->first);
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()) {
138 nestedVPset =
pset.getParameterSetVector(vpset_entry->first);
140 nestedVPset =
pset.getUntrackedParameterSetVector(vpset_entry->first);
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));
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