#include "CommonTools/CandUtils/interface/helicityAngle.h"
#include "DataFormats/Candidate/interface/Candidate.h"
#include "CommonTools/CandUtils/interface/Booster.h"
#include <Math/VectorUtil.h>
Go to the source code of this file.
Functions | |
double | helicityAngle (const reco::Candidate &mother, const reco::Candidate &daughter) |
return the helicity angle for two particles. More... | |
double | helicityAngle (const Candidate &cand) |
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().
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().