34 std::unique_ptr<tau::RecoTauQualityCuts>
qcuts_;
63 qcuts_->setLeadTrack(*
tau->leadChargedHadrCand());
65 for (
auto const&
cand :
tau->signalChargedHadrCands()) {
71 bool accepted =
false;
73 if (
np == 1 ||
np == 3)
101 desc.add<
bool>(
"BooleanOutput",
true);
103 desc.add<
unsigned int>(
"MinN", 1);
104 desc.add<
unsigned int>(
"MaxN", 0);
105 descriptions.
add(
"pfRecoTauDiscriminationByNProngs",
desc);
T getParameter(std::string const &) const
~PFRecoTauDiscriminationByNProngs() override
static void fillDescriptions(edm::ParameterSetDescription &descriptions)
Declare all parameters read from python config file.
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
#define DEFINE_FWK_MODULE(type)
ParameterSet const & getParameterSet(std::string const &) const
std::unique_ptr< tau::RecoTauVertexAssociator > vertexAssociator_
double discriminate(const reco::PFTauRef &) const override
bool isNonnull() const
Checks for non-null.
ParameterDescriptionBase * add(U const &iLabel, T const &value)
void beginEvent(const edm::Event &, const edm::EventSetup &) override
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
PFRecoTauDiscriminationByNProngs(const ParameterSet &)
void add(std::string const &label, ParameterSetDescription const &psetDescription)
ParameterSet const & getParameterSet(ParameterSetID const &id)
edm::ParameterSet qualityCuts
std::unique_ptr< tau::RecoTauQualityCuts > qcuts_