CMS 3D CMS Logo

Classes | Functions

/data/refman/pasoursint/CMSSW_5_3_4/src/RecoEgamma/EgammaElectronAlgos/interface/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.

 { 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.

 { return normalized_phi((p-origin).phi()) ; }