Go to the documentation of this file.
41 output.reserve(pfGammaCands.size());
43 for (
auto const&
gamma : pfGammaCands) {
44 std::unique_ptr<RecoTauPiZero> piZero(
46 piZero->addDaughter(
gamma);
57 "RecoTauPiZeroTrivialPlugin");
Base class for all types of Jets.
~RecoTauPiZeroTrivialPlugin() override
RecoTauQualityCuts qcuts_
RecoTauPiZeroTrivialPlugin(const edm::ParameterSet &pset, edm::ConsumesCollector &&iC)
#define DEFINE_EDM_PLUGIN(factory, type, name)
boost::ptr_vector< RecoTauPiZero > PiZeroVector
std::vector< CandidatePtr > pfGammas(const Jet &jet, bool sort=true)
Extract all pfGammas from a PFJet.
Coll filterCandRefs(const Coll &refcoll, bool invert=false) const
Filter a ref vector of Candidates.
ParameterSet const & getParameterSet(ParameterSetID const &id)
return_type operator()(const reco::Jet &jet) const override
Build a collection of piZeros from objects in the input jet.
std::unique_ptr< PiZeroVector > return_type