23 #include <boost/foreach.hpp>
25 namespace reco {
namespace tau {
45 output.reserve(pfGammaCands.size());
49 0, (*gamma).p4(), (*gamma).vertex(), 22, 1000,
true,
51 piZero->addDaughter(gamma);
52 output.push_back(piZero);
54 return output.release();
62 "RecoTauPiZeroTrivialPlugin");
RecoTauPiZeroTrivialPlugin(const edm::ParameterSet &pset)
return_type operator()(const reco::PFJet &jet) const
Build a collection of piZeros from objects in the input jet.
Coll filterRefs(const Coll &refcoll, bool invert=false) const
Filter a ref vector of PFCandidates.
std::vector< PFCandidatePtr > pfGammas(const PFJet &jet, bool sort=true)
Extract all pfGammas from a PFJet.
ParameterSet const & getParameterSet(ParameterSetID const &id)
Jets made from PFObjects.
~RecoTauPiZeroTrivialPlugin()
RecoTauQualityCuts qcuts_
std::auto_ptr< PiZeroVector > return_type
boost::ptr_vector< RecoTauPiZero > PiZeroVector
#define DEFINE_EDM_PLUGIN(factory, type, name)