#include <FSRWeightAlgo.h>
Public Member Functions | |
void | addGenParticle (const reco::GenParticle &gen) |
void | clear () |
FSRWeightAlgo () | |
double | weight () const |
virtual | ~FSRWeightAlgo () |
Private Member Functions | |
double | alphaRatio (double) const |
Private Attributes | |
std::vector< reco::GenParticle > | genParticles_ |
Definition at line 8 of file FSRWeightAlgo.h.
|
inline |
Definition at line 11 of file FSRWeightAlgo.h.
|
inlinevirtual |
Definition at line 12 of file FSRWeightAlgo.h.
|
inline |
Definition at line 13 of file FSRWeightAlgo.h.
References genParticles_.
|
private |
Definition at line 76 of file FSRWeightAlgo.cc.
References patCaloMETCorrections_cff::A, TtFullHadDaughter::B, patCaloMETCorrections_cff::C, cmsBatch::log, and M_PI.
Referenced by clear(), and weight().
|
inline |
Definition at line 14 of file FSRWeightAlgo.h.
References alphaRatio(), genParticles_, and weight().
double heppy::FSRWeightAlgo::weight | ( | void | ) | const |
Definition at line 11 of file FSRWeightAlgo.cc.
References funct::abs(), alphaRatio(), funct::cos(), reco::CompositeRefCandidateT< D >::daughter(), reco::CompositeRefCandidateT< D >::daughterRef(), delta, reco::Candidate::energy(), reco::LeafCandidate::energy(), genParticles_, mps_fire::i, softMuonTagInfos_cfi::leptonId, reco::Candidate::mass(), reco::LeafCandidate::mass(), reco::CompositeRefCandidateT< D >::mother(), reco::CompositeRefCandidateT< D >::numberOfDaughters(), reco::CompositeRefCandidateT< D >::numberOfMothers(), reco::Candidate::pdgId(), reco::LeafCandidate::pdgId(), reco::Candidate::phi(), reco::LeafCandidate::phi(), muons2muons_cfi::photon, funct::pow(), funct::sin(), mathSSE::sqrt(), reco::LeafCandidate::status(), reco::Candidate::theta(), and reco::LeafCandidate::theta().
Referenced by clear().
|
private |
Definition at line 20 of file FSRWeightAlgo.h.
Referenced by addGenParticle(), clear(), and weight().