#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
Referenced by betterConfigParser.BetterConfigParser::getGeneral().
void AddFourMomenta::set | ( | reco::Candidate & | c | ) | const |
set up a candidate
Definition at line 6 of file AddFourMomenta.cc.
References EnergyCorrector::c, reco::Candidate::charge(), reco::Candidate::daughter(), i, n, reco::Candidate::numberOfDaughters(), reco::Candidate::p4(), p4, reco::Candidate::setCharge(), and reco::Candidate::setP4().
Referenced by reco::tau::RecoTauPiZeroStripPlugin2::addCandsToStrip(), V0Fitter::fitAll(), betterConfigParser.BetterConfigParser::getGeneral(), TtFullHadHypothesis::hypo(), TtFullLepHypothesis::hypo(), TtSemiLepHypothesis::hypo(), reco::tau::RecoTauPiZeroCombinatoricPlugin::operator()(), reco::tau::xclean::CrossCleanPiZeros< PtrIter >::operator()(), reco::tau::RecoTauPiZeroStripPlugin::operator()(), reco::tau::RecoTauPiZeroStripPlugin2::operator()(), RecoTauPiZeroProducer::produce(), TruthTauDecayModeProducer::produce(), PatJPsiProducer::produce(), TtSemiEvtSolution::setupHyp(), reco::WMuNuCandidate::WMuNuCandidate(), and reco::WMuNuCandidatePtr::WMuNuCandidatePtr().