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 40 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 43 of file ElectronUtilities.h.

43 : 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 44 of file ElectronUtilities.h.

44 : 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 45 of file ElectronUtilities.h.

45 : 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 46 of file ElectronUtilities.h.

46 : 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 47 of file ElectronUtilities.h.

47 : 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 48 of file ElectronUtilities.h.

48 : 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 49 of file ElectronUtilities.h.

49 : 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 50 of file ElectronUtilities.h.

50 : 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 51 of file ElectronUtilities.h.

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

Definition at line 54 of file ElectronUtilities.h.

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

Definition at line 52 of file ElectronUtilities.h.

References normalizedPhi().

52 { return normalizedPhi(relP1_.barePhi()-relP2_.barePhi()) ; }
constexpr T normalizedPhi(T phi)
Definition: normalizedPhi.h:9
T barePhi() const
Definition: PV3DBase.h:68
GlobalVector relP1_
GlobalVector relP2_
auto EleRelPointPair::dZ ( )
inline

Definition at line 53 of file ElectronUtilities.h.

53 { 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 56 of file ElectronUtilities.h.

GlobalVector EleRelPointPair::relP2_
private

Definition at line 57 of file ElectronUtilities.h.