|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef FORWARDTRACKER_TRANSVERSEPOINT_H
6 #define FORWARDTRACKER_TRANSVERSEPOINT_H
20 double x()
const {
return m_x; }
21 double y()
const {
return m_y; }
23 double mag()
const {
return std::sqrt(
mag2()); }
32 std::string
str()
const;
36 void checkIndex(
unsigned int i)
const {
if (
i>1)
throw std::range_error(
"Index of TransversePoint is out of range"); }
TransversePoint & operator+=(const TransversePoint &tp)
Point operator-(const Point &lhs, const Point &rhs)
void checkIndex(unsigned int i) const
std::ostream & operator<<(std::ostream &, const Beamline &)
Point operator*(double scalar, const Point &p)
TransversePoint & operator-=(const TransversePoint &tp)
double & operator[](unsigned int i)
double operator[](unsigned int i) const
Point operator+(const Point &lhs, const Point &rhs)
TransversePoint & operator*=(double scalar)