22 psd1.add<
double>(
"selectionCut");
25 ps1.addParameter<
double>(
"selectionCut", 0.5);
26 desc.
addVPSet(
"discriminators", psd1, {ps1});
30 psd2.
add<std::vector<std::string>>(
"rawValues");
31 psd2.
add<std::vector<std::string>>(
"workingPoints");
32 psd2.
add<std::vector<double>>(
"selectionCuts");
33 desc.
addVPSet(
"discriminatorContainers", psd2, {});
35 descriptions.
add(
"pfTauSelector", desc);
PFTauSelector(const edm::ParameterSet &ps)
ParameterDescriptionBase * addVPSet(U const &iLabel, ParameterSetDescription const &validator, std::vector< ParameterSet > const &defaults)
#define DEFINE_FWK_MODULE(type)
void setComment(std::string const &value)
void addParameter(std::string const &name, T const &value)
ParameterDescriptionBase * add(U const &iLabel, T const &value)
void add(std::string const &label, ParameterSetDescription const &psetDescription)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)