18 class CaloRecoTauDiscriminationByNProngs final
24 booleanOutput = iConfig.
getParameter<
bool>(
"BooleanOutput");
26 ~CaloRecoTauDiscriminationByNProngs()
override{}
36 double CaloRecoTauDiscriminationByNProngs::discriminate(
const CaloTauRef&
tau)
const {
38 int np = tau->signalTracks().size();
52 desc.
add<
unsigned int>(
"nProngs", 0);
58 psd1.
add<
double>(
"cut");
65 desc.
add<
bool>(
"BooleanOutput",
true);
66 descriptions.
add(
"caloRecoTauDiscriminationByNProngs", desc);
T getParameter(std::string const &) const
ParameterDescriptionBase * addOptional(U const &iLabel, T const &value)
#define DEFINE_FWK_MODULE(type)
ParameterDescriptionBase * add(U const &iLabel, T const &value)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
bool accepted(std::vector< std::string_view > const &, std::string_view)
void add(std::string const &label, ParameterSetDescription const &psetDescription)