27 std::unique_ptr<tau::RecoTauQualityCuts>
qcuts_;
59 qcuts_->setLeadTrack(tau->leadPFChargedHadrCand());
61 for(
auto const&
cand : tau->signalPFChargedHadrCands() ) {
66 bool accepted =
false;
68 if(np == 1 || np == 3) accepted =
true;
70 if(np >=
minN && np <=
maxN) accepted =
true;
T getParameter(std::string const &) const
bool isNonnull() const
Checks for non-null.
double discriminate(const reco::PFTauRef &) const override
~PFRecoTauDiscriminationByNProngs() override
#define DEFINE_FWK_MODULE(type)
ParameterSet const & getParameterSet(ParameterSetID const &id)
std::unique_ptr< tau::RecoTauVertexAssociator > vertexAssociator_
bool isNonnull() const
Checks for non-null.
void beginEvent(const edm::Event &, const edm::EventSetup &) override
ParameterSet const & getParameterSet(std::string const &) const
PFRecoTauDiscriminationByNProngs(const ParameterSet &)
edm::ParameterSet qualityCuts
std::unique_ptr< tau::RecoTauQualityCuts > qcuts_