#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 funct::A, funct::C, dqm-mbProfile::log, and M_PI.
Referenced by weight().
|
inline |
Definition at line 14 of file FSRWeightAlgo.h.
References genParticles_.
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_, i, j, HLT_FULL_cff::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(), funct::pow(), funct::sin(), mathSSE::sqrt(), reco::LeafCandidate::status(), reco::Candidate::theta(), and reco::LeafCandidate::theta().
Referenced by cuy.ValElement::__init__(), cuy.additionElement::__init__(), cuy.superimposeElement::__init__(), and cuy.graphElement::__init__().
|
private |
Definition at line 20 of file FSRWeightAlgo.h.
Referenced by addGenParticle(), clear(), and weight().