5 #include <boost/foreach.hpp>
28 std::auto_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
#define DEFINE_FWK_MODULE(type)
ParameterSet const & getParameterSet(ParameterSetID const &id)
double discriminate(const reco::PFTauRef &) override
bool isNonnull() const
Checks for non-null.
bool isNonnull() const
Checks for non-null.
ConsumesCollector consumesCollector()
Use a ConsumesCollector to gather consumes information from helper functions.
~PFRecoTauDiscriminationByNProngs()
std::auto_ptr< tau::RecoTauVertexAssociator > vertexAssociator_
void beginEvent(const edm::Event &, const edm::EventSetup &) override
ParameterSet const & getParameterSet(std::string const &) const
PFRecoTauDiscriminationByNProngs(const ParameterSet &)
std::auto_ptr< tau::RecoTauQualityCuts > qcuts_
edm::ParameterSet qualityCuts