#include "PhysicsTools/CandUtils/interface/helicityAngle.h"
#include "DataFormats/Candidate/interface/Candidate.h"
#include "PhysicsTools/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 8 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 17 of file helicityAngle.cc.
References assert(), reco::Candidate::daughter(), helicityAngle(), and reco::Candidate::numberOfDaughters().