CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions
jetcorrextractor Namespace Reference

Functions

double sign (double x)
 

Function Documentation

double jetcorrextractor::sign ( double  x)
inline

Definition at line 32 of file JetCorrExtractorT.h.

Referenced by JetCorrExtractorT< T >::operator()().

33  {
34  if ( x > 0. ) return +1.;
35  else if ( x < 0. ) return -1.;
36  else return 0.;
37  }