CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
EleRelPointPair Class Reference

#include <ElectronUtilities.h>

Public Member Functions

auto dEta ()
 
auto dPerp ()
 
auto dPhi ()
 
auto dZ ()
 
 EleRelPointPair (const math::XYZPoint &p1, const math::XYZPoint &p2, const math::XYZPoint &origin)
 
 EleRelPointPair (const GlobalPoint &p1, const math::XYZPoint &p2, const math::XYZPoint &origin)
 
 EleRelPointPair (const math::XYZPoint &p1, const GlobalPoint &p2, const math::XYZPoint &origin)
 
 EleRelPointPair (const math::XYZPoint &p1, const math::XYZPoint &p2, const GlobalPoint &origin)
 
 EleRelPointPair (const GlobalPoint &p1, const GlobalPoint &p2, const math::XYZPoint &origin)
 
 EleRelPointPair (const math::XYZPoint &p1, const GlobalPoint &p2, const GlobalPoint &origin)
 
 EleRelPointPair (const GlobalPoint &p1, const math::XYZPoint &p2, const GlobalPoint &origin)
 
 EleRelPointPair (const GlobalPoint &p1, const GlobalPoint &p2, const GlobalPoint &origin)
 

Private Attributes

GlobalVector relP1_
 
GlobalVector relP2_
 

Detailed Description

Definition at line 74 of file ElectronUtilities.h.

Constructor & Destructor Documentation

EleRelPointPair::EleRelPointPair ( const math::XYZPoint p1,
const math::XYZPoint p2,
const math::XYZPoint origin 
)
inline

Definition at line 77 of file ElectronUtilities.h.

77 : relP1_(p1.x()-origin.x(),p1.y()-origin.y(),p1.z()-origin.z()), relP2_(p2.x()-origin.x(),p2.y()-origin.y(),p2.z()-origin.z()) {}
GlobalVector relP1_
GlobalVector relP2_
double p2[4]
Definition: TauolaWrapper.h:90
double p1[4]
Definition: TauolaWrapper.h:89
EleRelPointPair::EleRelPointPair ( const GlobalPoint p1,
const math::XYZPoint p2,
const math::XYZPoint origin 
)
inline

Definition at line 78 of file ElectronUtilities.h.

78 : relP1_(p1.x()-origin.x(),p1.y()-origin.y(),p1.z()-origin.z()), relP2_(p2.x()-origin.x(),p2.y()-origin.y(),p2.z()-origin.z()) {}
T y() const
Definition: PV3DBase.h:63
T z() const
Definition: PV3DBase.h:64
GlobalVector relP1_
GlobalVector relP2_
double p2[4]
Definition: TauolaWrapper.h:90
T x() const
Definition: PV3DBase.h:62
EleRelPointPair::EleRelPointPair ( const math::XYZPoint p1,
const GlobalPoint p2,
const math::XYZPoint origin 
)
inline

Definition at line 79 of file ElectronUtilities.h.

79 : relP1_(p1.x()-origin.x(),p1.y()-origin.y(),p1.z()-origin.z()), relP2_(p2.x()-origin.x(),p2.y()-origin.y(),p2.z()-origin.z()) {}
T y() const
Definition: PV3DBase.h:63
T z() const
Definition: PV3DBase.h:64
GlobalVector relP1_
GlobalVector relP2_
double p1[4]
Definition: TauolaWrapper.h:89
T x() const
Definition: PV3DBase.h:62
EleRelPointPair::EleRelPointPair ( const math::XYZPoint p1,
const math::XYZPoint p2,
const GlobalPoint origin 
)
inline

Definition at line 80 of file ElectronUtilities.h.

80 : relP1_(p1.x()-origin.x(),p1.y()-origin.y(),p1.z()-origin.z()), relP2_(p2.x()-origin.x(),p2.y()-origin.y(),p2.z()-origin.z()) {}
T y() const
Definition: PV3DBase.h:63
T z() const
Definition: PV3DBase.h:64
GlobalVector relP1_
GlobalVector relP2_
double p2[4]
Definition: TauolaWrapper.h:90
double p1[4]
Definition: TauolaWrapper.h:89
T x() const
Definition: PV3DBase.h:62
EleRelPointPair::EleRelPointPair ( const GlobalPoint p1,
const GlobalPoint p2,
const math::XYZPoint origin 
)
inline

Definition at line 81 of file ElectronUtilities.h.

81 : relP1_(p1.x()-origin.x(),p1.y()-origin.y(),p1.z()-origin.z()), relP2_(p2.x()-origin.x(),p2.y()-origin.y(),p2.z()-origin.z()) {}
T y() const
Definition: PV3DBase.h:63
T z() const
Definition: PV3DBase.h:64
GlobalVector relP1_
GlobalVector relP2_
T x() const
Definition: PV3DBase.h:62
EleRelPointPair::EleRelPointPair ( const math::XYZPoint p1,
const GlobalPoint p2,
const GlobalPoint origin 
)
inline

Definition at line 82 of file ElectronUtilities.h.

82 : relP1_(p1.x()-origin.x(),p1.y()-origin.y(),p1.z()-origin.z()), relP2_(p2.x()-origin.x(),p2.y()-origin.y(),p2.z()-origin.z()) {}
T y() const
Definition: PV3DBase.h:63
T z() const
Definition: PV3DBase.h:64
GlobalVector relP1_
GlobalVector relP2_
double p1[4]
Definition: TauolaWrapper.h:89
T x() const
Definition: PV3DBase.h:62
EleRelPointPair::EleRelPointPair ( const GlobalPoint p1,
const math::XYZPoint p2,
const GlobalPoint origin 
)
inline

Definition at line 83 of file ElectronUtilities.h.

83 : relP1_(p1.x()-origin.x(),p1.y()-origin.y(),p1.z()-origin.z()), relP2_(p2.x()-origin.x(),p2.y()-origin.y(),p2.z()-origin.z()) {}
T y() const
Definition: PV3DBase.h:63
T z() const
Definition: PV3DBase.h:64
GlobalVector relP1_
GlobalVector relP2_
double p2[4]
Definition: TauolaWrapper.h:90
T x() const
Definition: PV3DBase.h:62
EleRelPointPair::EleRelPointPair ( const GlobalPoint p1,
const GlobalPoint p2,
const GlobalPoint origin 
)
inline

Definition at line 84 of file ElectronUtilities.h.

84 : relP1_(p1.x()-origin.x(),p1.y()-origin.y(),p1.z()-origin.z()), relP2_(p2.x()-origin.x(),p2.y()-origin.y(),p2.z()-origin.z()) {}
T y() const
Definition: PV3DBase.h:63
T z() const
Definition: PV3DBase.h:64
GlobalVector relP1_
GlobalVector relP2_
T x() const
Definition: PV3DBase.h:62

Member Function Documentation

auto EleRelPointPair::dEta ( )
inline

Definition at line 85 of file ElectronUtilities.h.

85 { return (relP1_.eta()-relP2_.eta()) ; }
GlobalVector relP1_
GlobalVector relP2_
T eta() const
Definition: PV3DBase.h:76
auto EleRelPointPair::dPerp ( )
inline

Definition at line 88 of file ElectronUtilities.h.

88 { return (relP1_.perp()-relP2_.perp()) ; }
T perp() const
Definition: PV3DBase.h:72
GlobalVector relP1_
GlobalVector relP2_
auto EleRelPointPair::dPhi ( )
inline

Definition at line 86 of file ElectronUtilities.h.

References normalized_phi().

86 { return normalized_phi(relP1_.barePhi()-relP2_.barePhi()) ; }
T barePhi() const
Definition: PV3DBase.h:68
RealType normalized_phi(RealType phi)
GlobalVector relP1_
GlobalVector relP2_
auto EleRelPointPair::dZ ( )
inline

Definition at line 87 of file ElectronUtilities.h.

87 { return (relP1_.z()-relP2_.z()) ; }
T z() const
Definition: PV3DBase.h:64
GlobalVector relP1_
GlobalVector relP2_

Member Data Documentation

GlobalVector EleRelPointPair::relP1_
private

Definition at line 90 of file ElectronUtilities.h.

GlobalVector EleRelPointPair::relP2_
private

Definition at line 91 of file ElectronUtilities.h.