ATLAS Offline Software
Public Member Functions | Public Attributes | Private Attributes | List of all members
PFMatch::EtaPhiWithVariance Class Reference

#include <PFMatchPositions.h>

Inheritance diagram for PFMatch::EtaPhiWithVariance:
Collaboration diagram for PFMatch::EtaPhiWithVariance:

Public Member Functions

 EtaPhiWithVariance (eflowEtaPhiPosition etaphi, double etaVar, double phiVar)
 
 EtaPhiWithVariance ()
 
virtual ~EtaPhiWithVariance ()
 
double getEta () const
 
eflowAzimuth getPhi () const
 
double getPhiD () const
 
double dRSq (const eflowEtaPhiPosition &other) const
 
double dR (const eflowEtaPhiPosition &other) const
 

Public Attributes

double m_etaVariance
 
double m_phiVariance
 

Private Attributes

double m_eta {NAN}
 
eflowAzimuth m_phi {NAN}
 

Detailed Description

Definition at line 41 of file PFMatchPositions.h.

Constructor & Destructor Documentation

◆ EtaPhiWithVariance() [1/2]

PFMatch::EtaPhiWithVariance::EtaPhiWithVariance ( eflowEtaPhiPosition  etaphi,
double  etaVar,
double  phiVar 
)
inline

Definition at line 43 of file PFMatchPositions.h.

43  :
44  EtaPhi(etaphi), m_etaVariance(etaVar), m_phiVariance(phiVar) { }

◆ EtaPhiWithVariance() [2/2]

PFMatch::EtaPhiWithVariance::EtaPhiWithVariance ( )
inline

Definition at line 45 of file PFMatchPositions.h.

45 : m_etaVariance(NAN), m_phiVariance(NAN) { }

◆ ~EtaPhiWithVariance()

virtual PFMatch::EtaPhiWithVariance::~EtaPhiWithVariance ( )
inlinevirtual

Definition at line 46 of file PFMatchPositions.h.

46 { }

Member Function Documentation

◆ dR()

double eflowEtaPhiPosition::dR ( const eflowEtaPhiPosition other) const
inlineinherited

Definition at line 99 of file eflowUtil.h.

99 { return std::sqrt(this->dRSq(other)); }

◆ dRSq()

double eflowEtaPhiPosition::dRSq ( const eflowEtaPhiPosition other) const
inlineinherited

Definition at line 94 of file eflowUtil.h.

94  {
95  double dEta(m_eta-other.m_eta);
96  double dPhi(m_phi.getAbsDifference(other.m_phi));
97  return dEta*dEta + dPhi*dPhi;
98  }

◆ getEta()

double eflowEtaPhiPosition::getEta ( ) const
inlineinherited

Definition at line 90 of file eflowUtil.h.

90 { return m_eta; }

◆ getPhi()

eflowAzimuth eflowEtaPhiPosition::getPhi ( ) const
inlineinherited

Definition at line 91 of file eflowUtil.h.

91 { return m_phi; }

◆ getPhiD()

double eflowEtaPhiPosition::getPhiD ( ) const
inlineinherited

Definition at line 92 of file eflowUtil.h.

92 { return m_phi(); }

Member Data Documentation

◆ m_eta

double eflowEtaPhiPosition::m_eta {NAN}
privateinherited

Definition at line 102 of file eflowUtil.h.

◆ m_etaVariance

double PFMatch::EtaPhiWithVariance::m_etaVariance

Definition at line 48 of file PFMatchPositions.h.

◆ m_phi

eflowAzimuth eflowEtaPhiPosition::m_phi {NAN}
privateinherited

Definition at line 103 of file eflowUtil.h.

◆ m_phiVariance

double PFMatch::EtaPhiWithVariance::m_phiVariance

Definition at line 49 of file PFMatchPositions.h.


The documentation for this class was generated from the following file:
eflowEtaPhiPosition::dRSq
double dRSq(const eflowEtaPhiPosition &other) const
Definition: eflowUtil.h:94
eflowEtaPhiPosition::m_phi
eflowAzimuth m_phi
Definition: eflowUtil.h:103
eflowAzimuth::getAbsDifference
double getAbsDifference(const eflowAzimuth &other) const
Definition: eflowUtil.h:46
PFMatch::EtaPhi::EtaPhi
EtaPhi()
Definition: PFMatchPositions.h:26
eflowEtaPhiPosition::m_eta
double m_eta
Definition: eflowUtil.h:102
TauGNNUtils::Variables::Track::dPhi
bool dPhi(const xAOD::TauJet &tau, const xAOD::TauTrack &track, double &out)
Definition: TauGNNUtils.cxx:538
PFMatch::EtaPhiWithVariance::m_phiVariance
double m_phiVariance
Definition: PFMatchPositions.h:49
InDetDD::other
@ other
Definition: InDetDD_Defs.h:16
TauGNNUtils::Variables::Track::dEta
bool dEta(const xAOD::TauJet &tau, const xAOD::TauTrack &track, double &out)
Definition: TauGNNUtils.cxx:527
PFMatch::EtaPhiWithVariance::m_etaVariance
double m_etaVariance
Definition: PFMatchPositions.h:48