|
|
Go to the documentation of this file. 1 #ifndef FWCore_ParameterSet_PluginDescription_h
2 #define FWCore_ParameterSet_PluginDescription_h
122 std::set<ParameterTypes>& parameterTypes,
123 std::set<ParameterTypes>& wildcardTypes)
const final {}
129 auto n =
pset.getParameterNames();
130 validatedLabels.insert(
n.begin(),
n.end());
134 std::ostream& os,
bool optional,
bool& startWithComma,
int indentation,
bool& wroteSomething)
const final {
145 wroteSomething =
true;
158 std::stringstream
ss;
159 ss << dfh.section() <<
"." << dfh.counter();
163 os <<
"Section " << newSection <<
" " <<
Factory::get()->category() <<
" Plugins description:\n";
169 unsigned int pluginCount = 0;
171 for (
auto const&
info :
174 if (previousName ==
info.name_) {
178 std::stringstream
ss;
179 ss << dfh.section() <<
"." << dfh.counter();
182 os <<
"Section " << newSection <<
"." << ++pluginCount <<
" " <<
info.name_ <<
" Plugin description:\n";
192 previousName =
info.name_;
229 std::shared_ptr<ParameterSetDescription>
desc = std::make_shared<ParameterSetDescription>(
a->description());
ParameterDescriptionNode * clone() const final
PluginDescription(std::string typeLabel, bool typeLabelIsTracked)
void printNestedContent_(std::ostream &os, bool, DocFormatHelper &dfh) const final
void loadPlugin(std::string const &iName) const
bool exists(ParameterSet const &pset) const
std::shared_ptr< ParameterSetDescription > cache_
T getUntrackedParameter(std::string const &, T const &) const
bool existsAs(std::string const ¶meterName, bool trackiness=true) const
checks if a parameter exists as a given type
def create(alignables, pedeDump, additionalData, outputFile, config)
static PluginManager * get()
const CategoryToInfos & categoryToInfos() const
PluginDescription(std::string typeLabel, std::string defaultType, bool typeLabelIsTracked)
std::shared_ptr< ParameterSetDescription > loadDescription(std::string const &iName) const
int howManyXORSubNodesExist_(ParameterSet const &pset) const final
bool exists_(ParameterSet const &pset) const final
bool partiallyExists_(ParameterSet const &pset) const final
bool hasNestedContent_() const final
static PluginManager & configure(const Config &)
void checkAndGetLabelsAndTypes_(std::set< std::string > &usedLabels, std::set< ParameterTypes > ¶meterTypes, std::set< ParameterTypes > &wildcardTypes) const final
T const & get(Event const &event, InputTag const &tag) noexcept(false)
void writeCfi_(std::ostream &os, bool optional, bool &startWithComma, int indentation, bool &wroteSomething) const final
PluginManager::Config config()
std::string findType(edm::ParameterSet const &iPSet) const
static void printSpaces(std::ostream &os, int n)
static Factory const * get()
T getParameter(std::string const &) const
void validate_(ParameterSet &pset, std::set< std::string > &validatedLabels, bool optional) const final
static bool isAvailable()