#include <Point.h>
Definition at line 14 of file FPTracker/FPTracker/Point.h.
◆ Point() [1/2]
| FPTracker::Point::Point |
( |
| ) |
|
◆ Point() [2/2]
| FPTracker::Point::Point |
( |
double | x, |
|
|
double | y, |
|
|
double | z ) |
◆ mag()
| double FPTracker::Point::mag |
( |
| ) |
const |
◆ mag2()
| double FPTracker::Point::mag2 |
( |
| ) |
const |
◆ operator*=()
| Point & FPTracker::Point::operator*= |
( |
double | scalar | ) |
|
◆ operator+=() [1/2]
| Point & FPTracker::Point::operator+= |
( |
const Point & | rhs | ) |
|
◆ operator+=() [2/2]
◆ operator-=() [1/2]
| Point & FPTracker::Point::operator-= |
( |
const Point & | rhs | ) |
|
◆ operator-=() [2/2]
◆ operator[]() [1/2]
| double & FPTracker::Point::operator[] |
( |
unsigned int | i | ) |
|
Definition at line 52 of file FPTracker/src/Point.cxx.
52 {
53
54 if ( i>2 )
55 {
56 std::ostringstream
ost;
57 ost<<
"TranversePoint index out of range: "<<
i<<
'\n';
58 throw std::range_error(
ost.str());
59 }
60
61 if(i == 0){
return m_x;}
62 if(i == 1){
return m_y;}
64 }
◆ operator[]() [2/2]
| double FPTracker::Point::operator[] |
( |
unsigned int | i | ) |
const |
Definition at line 38 of file FPTracker/src/Point.cxx.
38 {
39
40 if ( i>2 )
41 {
42 std::ostringstream
ost;
43 ost<<
"TranversePoint index out of range: "<<
i<<
'\n';
44 throw std::range_error(
ost.str());
45 }
46
47 if(i == 0){
return m_x;}
48 if(i == 1){
return m_y;}
50 }
◆ perp2()
| double FPTracker::Point::perp2 |
( |
| ) |
const |
◆ str()
| std::string FPTracker::Point::str |
( |
| ) |
const |
◆ transverse()
◆ x()
| double FPTracker::Point::x |
( |
| ) |
const |
◆ y()
| double FPTracker::Point::y |
( |
| ) |
const |
◆ z()
| double FPTracker::Point::z |
( |
| ) |
const |
◆ m_x
| double FPTracker::Point::m_x |
|
private |
◆ m_y
| double FPTracker::Point::m_y |
|
private |
◆ m_z
| double FPTracker::Point::m_z |
|
private |
The documentation for this class was generated from the following files: