#include "RecoMET/METAlgorithms/interface/GlobalHaloAlgo.h"
Go to the source code of this file.
Definition at line 21 of file GlobalHaloAlgo.cc.
References phi, and Pi.
Referenced by GlobalHaloAlgo::Calculate().
{ phi = phi < 0 ? phi + 2.*TMath::Pi() : phi ; float phi_degrees = phi * (360.) / ( 2. * TMath::Pi() ) ; int iPhi = (int) ( phi_degrees + 1.); return iPhi < 361 ? iPhi : 360 ; }
Definition at line 12 of file GlobalHaloAlgo.cc.
{ phi = phi < 0 ? phi + 2.*TMath::Pi() : phi ; float phi_degrees = phi * (360.) / ( 2. * TMath::Pi() ) ; int iPhi = (int) ( ( phi_degrees/5. ) + 1.); return iPhi < 73 ? iPhi : 73 ; }