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