#include <AddFourMomenta.h>
Public Member Functions | |
AddFourMomenta () | |
default constructor More... | |
AddFourMomenta () | |
default constructor More... | |
AddFourMomenta (const edm::ParameterSet &) | |
constructor More... | |
AddFourMomenta (const edm::ParameterSet &) | |
constructor More... | |
void | set (reco::Candidate &c) const |
set up a candidate More... | |
void | set (reco::Candidate &c) const |
set up a candidate More... | |
set up a composite reco::Candidate adding its daughters four-momenta and electric charge
set up a composite reco::Candidate adding its daughters four-momenta and electric charge
Definition at line 18 of file AddFourMomenta.h.
|
inline |
|
inlineexplicit |
|
inline |
|
inlineexplicit |
void AddFourMomenta::set | ( | reco::Candidate & | c | ) | const |
set up a candidate
void AddFourMomenta::set | ( | reco::Candidate & | c | ) | const |
set up a candidate
Definition at line 6 of file AddFourMomenta.cc.
References EnergyCorrector::c, RecoTauCleanerPlugins::charge, reco::Candidate::charge(), ztail::d, i, gen::n, reco::Candidate::numberOfDaughters(), reco::Candidate::p4(), p4, reco::Candidate::setCharge(), and reco::Candidate::setP4().
Referenced by reco::tau::RecoTauPiZeroStripPlugin2::addCandsToStrip(), reco::tau::RecoTauPiZeroStripPlugin3::addCandsToStrip(), BPHDecayMomentum::computeMomentum(), V0Fitter::fitAll(), TtFullHadHypothesis::hypo(), TtFullLepHypothesis::hypo(), TtSemiLepHypothesis::hypo(), reco::tau::RecoTauPiZeroCombinatoricPlugin::operator()(), reco::tau::xclean::CrossCleanPiZeros< PtrIter >::operator()(), reco::tau::RecoTauPiZeroStripPlugin::operator()(), reco::tau::RecoTauPiZeroStripPlugin2::operator()(), reco::tau::RecoTauPiZeroStripPlugin3::operator()(), RecoTauPiZeroProducer::produce(), TruthTauDecayModeProducer::produce(), PatJPsiProducer::produce(), TtSemiEvtSolution::setupHyp(), reco::WMuNuCandidate::WMuNuCandidate(), and reco::WMuNuCandidatePtr::WMuNuCandidatePtr().