#include <AddFourMomenta.h>
Public Member Functions | |
AddFourMomenta () | |
default constructor More... | |
AddFourMomenta (const edm::ParameterSet &) | |
constructor 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
Definition at line 18 of file AddFourMomenta.h.
|
inline |
|
inlineexplicit |
void AddFourMomenta::set | ( | reco::Candidate & | c | ) | const |
set up a candidate
Definition at line 6 of file AddFourMomenta.cc.
References EnergyCorrector::c, ALCARECOTkAlJpsiMuMu_cff::charge, reco::Candidate::charge(), edmIntegrityCheck::d, mps_fire::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(), BoostedTopProducer::produce(), TtSemiEvtSolution::setupHyp(), reco::WMuNuCandidate::WMuNuCandidate(), and reco::WMuNuCandidatePtr::WMuNuCandidatePtr().