1 #ifndef RecoCandidate_IsoDepositDirection_H
2 #define RecoCandidate_IsoDepositDirection_H
17 namespace isodeposit {
38 if (
this == &d2 )
return true;
39 if (
deltaR(d2) < 1.
e-4)
return true;
68 std::ostringstream str;
Direction operator+(const Distance &relDir) const
Sin< T >::type sin(const T &t)
Distance operator-(const Direction &dir2) const
double deltaR2(const Direction &dir2) const
double dPhi(double phi1, double phi2)
Cos< T >::type cos(const T &t)
auto deltaR(const T1 &t1, const T2 &t2) -> decltype(t1.eta())
bool operator<(const Distance &rd2) const
Direction(double eta=0., double phi=0.)
double deltaPhi(double phi1, double phi2)
std::string print() const
T1 deltaR2(T1 eta1, T2 phi1, T3 eta2, T4 phi2)
bool operator==(const Direction &d2)
double deltaR(const Direction &dir2) const