1 #ifndef RecoCandidate_IsoDepositDirection_H 2 #define RecoCandidate_IsoDepositDirection_H 17 namespace isodeposit {
55 result.relativeAngle = (
dR > 1.e-4) ? atan2(dPhi,
dEta) : 0.;
67 std::ostringstream
str;
69 <<
"Phi=" <<
thePhi <<
")";
constexpr double deltaPhi(double phi1, double phi2)
void tanh(data_T data[CONFIG_T::n_in], res_T res[CONFIG_T::n_in])
bool operator<(const Distance &rd2) const
Distance operator-(const Direction &dir2) const
Sin< T >::type sin(const T &t)
Cos< T >::type cos(const T &t)
std::string print() const
Direction operator+(const Distance &relDir) 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())
double deltaR2(const Direction &dir2) const
bool operator==(const Direction &d2)
double deltaR(const Direction &dir2) const