|
ATLAS Offline Software
|
Go to the documentation of this file.
47 double plainAbsDifference = std::abs(
m_value -
other.m_value);
48 return plainAbsDifference <=
M_PI ? plainAbsDifference : 2*
M_PI - plainAbsDifference;
54 if (plainDifference >
M_PI) {
56 }
else if (plainDifference < -
M_PI) {
69 }
else if (
a >
M_PI) {
double dRSq(const eflowEtaPhiPosition &other) const
eflowAzimuth(const eflowAzimuth &other)
eflowEtaPhiPosition(double eta, double phi)
Scalar phi() const
phi method
void setCenterAndWidth(T center, double width)
eflowAzimuth operator+=(double deltaPhi)
Scalar eta() const
pseudorapidity method
setSAddress setEtaMS setDirPhiMS setDirZMS setBarrelRadius setEndcapAlpha setEndcapRadius setInterceptInner setEtaMap setEtaBin setIsTgcFailure setDeltaPt deltaPhi
eflowAzimuth & operator=(const eflowAzimuth &other)
eflowRangeBase(const T &min, const T &max)
double cycle(const eflowAzimuth &other)
double getAbsDifference(const eflowAzimuth &other) const
double operator()() const
eflowEtaPhiPosition()=default
eflowAzimuth getPhi() const
eflowRangeBase< double > eflowRange
bool dPhi(const xAOD::TauJet &tau, const xAOD::TauTrack &track, double &out)
eflowAzimuth operator-=(double deltaPhi)
std::string print() const
double adjustRange(double a)
eflowAzimuth represents phi and has kinematic functions which correctly deal with phi wraparound etc.
bool contains(const T &x)
std::string to_string(const DetectorType &type)
double dR(const eflowEtaPhiPosition &other) const
bool dEta(const xAOD::TauJet &tau, const xAOD::TauTrack &track, double &out)
eflowRangeBase is an object to represent a length in eta or phi, and this is used in eflowCellIntegra...