/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
CommonTools/CandUtils/interface/helicityAngle.h
28 строк
973 B
Cms Build
Clang-Format
03 июн 2019, 06:44
03 июн 2019, 06:44
6a63925
Код
Авторство
О чём код?
#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