5 #include <boost/foreach.hpp> 28 std::unique_ptr<tau::RecoTauQualityCuts>
qcuts_;
60 qcuts_->setLeadTrack(tau->leadPFChargedHadrCand());
63 if (
qcuts_->filterCandRef(cand) ) np++;
67 bool accepted =
false;
69 if(np == 1 || np == 3) accepted =
true;
71 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_