15 #include <boost/foreach.hpp>
26 namespace reco {
namespace tau {
41 if (cand->pdgId()==22)
60 jetMatchSrc_(pset.getParameter<edm::InputTag>(
"jetTruthMatch")) {}
72 evt()->getByLabel(jetMatchSrc_, jetMatch_);
98 "RecoTauTruthEmbedder");
102 "RecoTauPFTauEmbedder");
unsigned int nGammas(const GenJet &jet)
bool isNonnull() const
Checks for non-null.
const PFJetRef & jetRef() const
virtual void beginEvent() override
virtual ~RecoTauObjectEmbedder()
PFTau::hadronicDecayMode translateDecayMode(unsigned int nCharged, unsigned int nPiZero)
virtual Constituents getJetConstituents() const
list of constituents
virtual void operator()(PFTau &) const override
const std::vector< RecoTauPiZero > & signalPiZeroCandidates() const
Retrieve the association of signal region gamma candidates into candidate PiZeros.
void setalternatLorentzVect(const math::XYZTLorentzVector &)
Jets made from MC generator particles.
edm::InputTag jetMatchSrc_
void setbremsRecoveryEOverPLead(const float &)
unsigned int nCharged(const GenJet &jet)
edm::Handle< edm::Association< T > > jetMatch_
RecoTauObjectEmbedder(const edm::ParameterSet &pset, edm::ConsumesCollector &&iC)
#define DEFINE_EDM_PLUGIN(factory, type, name)
const std::vector< reco::PFCandidatePtr > & signalPFChargedHadrCands() const
Charged hadrons in signal region.