14 class LuminosityBlockID;
67 std::map<edm::ParameterTypes, FillDescriptionFromParameter>& findTheRightFunction() {
91 for (ParameterSet::table::const_iterator entry = entries.begin(),
92 endEntries = entries.end();
95 std::map<edm::ParameterTypes, FillDescriptionFromParameter>::iterator
iter =
96 findTheRightFunction().find(static_cast<edm::ParameterTypes>(entry->second.typeCode()));
97 if (iter != findTheRightFunction().end()) {
98 iter->second(pset, entry->first, entry->second.isTracked(), desc);
103 for (ParameterSet::psettable::const_iterator pset_entry = pset_entries.begin(),
104 endEntries = pset_entries.end();
105 pset_entry != endEntries;
108 if (pset_entry->second.isTracked()) {
116 if (pset_entry->second.isTracked()) {
125 for (ParameterSet::vpsettable::const_iterator vpset_entry = vpset_entries.begin(),
126 endEntries = vpset_entries.end();
127 vpset_entry != endEntries;
129 std::vector<edm::ParameterSet> nestedVPset;
130 if (vpset_entry->second.isTracked()) {
138 std::auto_ptr<ParameterDescription<std::vector<ParameterSet> > >
139 pd(
new ParameterDescription<std::vector<ParameterSet> >(vpset_entry->first, emptyDescription, vpset_entry->second.isTracked(), nestedVPset));
141 pd->setPartOfDefaultOfVPSet(
true);
142 std::auto_ptr<ParameterDescriptionNode>
node(pd);
T getParameter(std::string const &) const
T getUntrackedParameter(std::string const &, T const &) const
VParameterSet const & getParameterSetVector(std::string const &name) const
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)
void(* FillDescriptionFromParameter)(edm::ParameterSet const &, std::string const &, bool, edm::ParameterSetDescription &)
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
const String & name() const
return full name
std::map< std::string, VParameterSetEntry > vpsettable
vpsettable const & vpsetTable() const
VParameterSet getUntrackedParameterSetVector(std::string const &name, VParameterSet const &defaultValue) const
table const & tbl() const