#include <TrackPoint_t.hh>
Definition at line 23 of file TrackPoint_t.hh.
TrackPoint_t::TrackPoint_t |
( |
| ) |
|
TrackPoint_t::~TrackPoint_t |
( |
| ) |
|
|
virtual |
Int_t TrackPoint_t::GetGeneration |
( |
| ) |
const |
|
inline |
Double_t TrackPoint_t::GetImpWeight |
( |
| ) |
const |
|
inline |
Float_t TrackPoint_t::GetMomentum |
( |
int |
i | ) |
const |
Definition at line 69 of file TrackPoint_t.cc.
71 if (
i == 0)
return px;
72 else if(
i == 1)
return py;
73 else if(
i == 2)
return pz;
76 std::cout <<
"TrackPoint_t::GetMomentum - invalid momentum index " <<
i 77 <<
". Valid indices are 0, 1, and 2. " <<
std::endl;
QTextStream & endl(QTextStream &s)
Float_t TrackPoint_t::GetMomentum |
( |
const std::string & |
pos | ) |
const |
Definition at line 83 of file TrackPoint_t.cc.
85 if (
pos ==
"x" ||
pos ==
"X")
return px;
86 else if(
pos ==
"y" ||
pos ==
"Y")
return py;
87 else if(
pos ==
"z" ||
pos ==
"Z")
return pz;
90 std::cout <<
"TrackPoint_t::GetMomentum - invalid momentum direction \"" <<
pos 91 <<
"\". Valid directions are x, y, z, X, Y and Z. " <<
std::endl;
QTextStream & endl(QTextStream &s)
Int_t TrackPoint_t::GetParticleType |
( |
| ) |
const |
|
inline |
Float_t TrackPoint_t::GetPosition |
( |
int |
i | ) |
const |
Definition at line 41 of file TrackPoint_t.cc.
44 else if(
i == 1)
return y;
45 else if(
i == 2)
return z;
48 std::cout <<
"TrackPoint_t::GetPosition - invalid position index " <<
i 49 <<
". Valid indices are 0, 1, and 2. " <<
std::endl;
QTextStream & endl(QTextStream &s)
Float_t TrackPoint_t::GetPosition |
( |
const std::string & |
pos | ) |
const |
Definition at line 55 of file TrackPoint_t.cc.
57 if (
pos ==
"x" ||
pos ==
"X")
return x;
58 else if(
pos ==
"y" ||
pos ==
"Y")
return y;
59 else if(
pos ==
"z" ||
pos ==
"Z")
return z;
62 std::cout <<
"TrackPoint_t::GetPosition - invalid position \"" <<
pos 63 <<
"\". Valid positions are x, y, z, X, Y and Z. " <<
std::endl;
QTextStream & endl(QTextStream &s)
Int_t TrackPoint_t::GetTrackID |
( |
| ) |
const |
|
inline |
void TrackPoint_t::Print |
( |
| ) |
|
Definition at line 97 of file TrackPoint_t.cc.
100 std::cout <<
"TrackPoint_t::Print - " <<
std::endl;
QTextStream & endl(QTextStream &s)
Double_t TrackPoint_t::impwt |
Int_t TrackPoint_t::trkid |
The documentation for this class was generated from the following files: