Go to the source code of this file.
Functions | |
double | helicityAngle (const reco::Candidate &c) |
double | helicityAngle (const reco::Candidate &mother, const reco::Candidate &daughter) |
return the helicity angle for two particles. More... | |
double helicityAngle | ( | const reco::Candidate & | c | ) |
return the helicity angle of a two body decay with daughter automatically retreived Note: asserts if the candidate does not have two daughters
Definition at line 18 of file helicityAngle.cc.
References cms::cuda::assert(), and helicityAngle().
double helicityAngle | ( | const reco::Candidate & | mother, |
const reco::Candidate & | daughter | ||
) |
return the helicity angle for two particles.
helicityAngle
Utility function that returns the helicity angle It is defined as the angle between the candidate momentum and one of the daughters momentum in the mother's center-of-mass reference frame. This angle has a two-fold ambiguity (h, pi - h ), and by convention the angle smaller than pi/2 is chosen.
Definition at line 9 of file helicityAngle.cc.
References h, M_PI, and reco::Candidate::p4().
Referenced by helicityAngle().