#include <TransversePoint.h>
◆ TransversePoint() [1/2]
| FPTracker::TransversePoint::TransversePoint |
( |
| ) |
|
◆ TransversePoint() [2/2]
| FPTracker::TransversePoint::TransversePoint |
( |
double | x, |
|
|
double | y ) |
◆ mag()
| double FPTracker::TransversePoint::mag |
( |
| ) |
const |
◆ mag2()
| double FPTracker::TransversePoint::mag2 |
( |
| ) |
const |
◆ operator*=()
◆ operator+=()
◆ operator-=()
◆ operator[]() [1/2]
| double & FPTracker::TransversePoint::operator[] |
( |
unsigned int | i | ) |
|
Definition at line 44 of file FPTracker/src/TransversePoint.cxx.
44 {
45 if ( i>1)
46 {
47 std::ostringstream
ost;
48 ost<<
"TranversePoint index out of range: "<<
i<<
'\n';
49 throw std::range_error(
ost.str());
50 }
51
52 if(i == 0){
return m_x;}
54 }
◆ operator[]() [2/2]
| double FPTracker::TransversePoint::operator[] |
( |
unsigned int | i | ) |
const |
Definition at line 32 of file FPTracker/src/TransversePoint.cxx.
33 {
34 if (i>1)
35 {
36 std::ostringstream
ost;
37 ost<<
"TranversePoint index out of range: "<<
i<<
'\n';
38 throw std::range_error(
ost.str());
39 }
40 if(i == 0){
return m_x;}
42 }
◆ str()
| std::string FPTracker::TransversePoint::str |
( |
| ) |
const |
◆ x()
| double FPTracker::TransversePoint::x |
( |
| ) |
const |
◆ y()
| double FPTracker::TransversePoint::y |
( |
| ) |
const |
◆ m_x
| double FPTracker::TransversePoint::m_x |
|
private |
◆ m_y
| double FPTracker::TransversePoint::m_y |
|
private |
The documentation for this class was generated from the following files: