CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Functions
ElectronUtilities.h File Reference
#include <DataFormats/GeometryVector/interface/GlobalPoint.h>
#include <DataFormats/GeometryVector/interface/GlobalVector.h>
#include <DataFormats/Math/interface/Point3D.h>
#include <DataFormats/Math/interface/Vector3D.h>
#include <CLHEP/Units/GlobalPhysicalConstants.h>

Go to the source code of this file.

Classes

class  EleRelPoint
 
class  EleRelPointPair
 
class  ExceptionSafeStlPtrCol< StlColType >
 

Functions

template<typename Type1 , typename Type2 >
void ele_convert (const Type1 &obj1, Type2 &obj2)
 
template<typename RealType >
RealType normalized_phi (RealType phi)
 
template<typename PointType >
double relative_eta (const PointType &p, const PointType &origin)
 
template<typename PointType >
double relative_phi (const PointType &p, const PointType &origin)
 

Function Documentation

template<typename Type1 , typename Type2 >
void ele_convert ( const Type1 &  obj1,
Type2 &  obj2 
)
template<typename RealType >
RealType normalized_phi ( RealType  phi)
template<typename PointType >
double relative_eta ( const PointType &  p,
const PointType &  origin 
)

Definition at line 103 of file ElectronUtilities.h.

104  { return (p-origin).eta() ; }
template<typename PointType >
double relative_phi ( const PointType &  p,
const PointType &  origin 
)

Definition at line 107 of file ElectronUtilities.h.

References normalized_phi(), and phi().

108  { return normalized_phi((p-origin).phi()) ; }
RealType normalized_phi(RealType phi)
Geom::Phi< T > phi() const