Macros

Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
#ifndef CandUtils_helicityAngle_h
#define CandUtils_helicityAngle_h
/**  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.
 *
 * \author Luca Lista, INFN
 *
 * \version $Revision: 1.7 $
 *
 * $Id: helicityAngle.h,v 1.7 2007/12/11 08:42:52 hegner Exp $
 *
 */
#include "DataFormats/Candidate/interface/CandidateFwd.h"

/// return the helicity angle for two particles.
double helicityAngle(const reco::Candidate& mother, const reco::Candidate& daughter);

/// return the helicity angle of a two body decay with daughter automatically retreived
/// Note: asserts if the candidate does not have two daughters
double helicityAngle(const reco::Candidate& c);

#endif