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;
constexpr double deltaPhi(double phi1, double phi2)
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
Cos< T >::type cos(const T &t)
bool operator<(const Distance &rd2) const
constexpr auto deltaR(const T1 &t1, const T2 &t2) -> decltype(t1.eta())
Direction(double eta=0., double phi=0.)
constexpr auto deltaR2(const T1 &t1, const T2 &t2) -> decltype(t1.eta())
std::string print() const
bool operator==(const Direction &d2)
double deltaR(const Direction &dir2) const