#include <AddFourMomenta.h>
Public Member Functions | |
AddFourMomenta () | |
default constructor | |
AddFourMomenta (const edm::ParameterSet &) | |
constructor | |
AddFourMomenta (const edm::ParameterSet &) | |
constructor | |
AddFourMomenta () | |
default constructor | |
void | set (reco::Candidate &c) const |
set up a candidate | |
void | set (reco::Candidate &c) const |
set up a candidate |
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.
AddFourMomenta::AddFourMomenta | ( | ) | [inline] |
AddFourMomenta::AddFourMomenta | ( | const edm::ParameterSet & | ) | [inline, explicit] |
AddFourMomenta::AddFourMomenta | ( | ) | [inline] |
AddFourMomenta::AddFourMomenta | ( | const edm::ParameterSet & | ) | [inline, explicit] |
void AddFourMomenta::set | ( | reco::Candidate & | c | ) | const |
set up a candidate
Definition at line 6 of file AddFourMomenta.cc.
References trackerHits::c, reco::Candidate::charge(), DeDxDiscriminatorTools::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(), TtSemiLepHypothesis::hypo(), TtFullHadHypothesis::hypo(), TtFullLepHypothesis::hypo(), PFRecoTauDecayModeDeterminator::mergePiZeroes(), PFRecoTauDecayModeDeterminator::mergePiZeroesByBestMatch(), reco::tau::RecoTauPiZeroStripPlugin2::operator()(), reco::tau::RecoTauPiZeroStripPlugin::operator()(), reco::tau::RecoTauPiZeroCombinatoricPlugin::operator()(), reco::tau::xclean::CrossCleanPiZeros< PtrIter >::operator()(), PFRecoTauDecayModeDeterminator::produce(), RecoTauPiZeroProducer::produce(), TruthTauDecayModeProducer::produce(), PatJPsiProducer::produce(), TtSemiEvtSolution::setupHyp(), reco::WMuNuCandidate::WMuNuCandidate(), and reco::WMuNuCandidatePtr::WMuNuCandidatePtr().
void AddFourMomenta::set | ( | reco::Candidate & | c | ) | const |
set up a candidate