#include <FSParticle.h>
Public Member Functions | |
FSParticle () | |
FSParticle (const int &trackid, const int &pdg, const float &x, const float &y, const float &z, const float &t, const float &px, const float &py, const float &pz, const float &e) | |
FSParticle (const int &trackid, const int &pdg, const TLorentzVector &r, const TLorentzVector &p) | |
int const & | TrackId () const |
int const & | PDG () const |
const TLorentzVector & | Pos4 () const |
const TLorentzVector & | Mom4 () const |
float | X () const |
return position x-component [GeV/c] More... | |
float | Y () const |
return position y-component [GeV/c] More... | |
float | Z () const |
return position z-component [GeV/c] More... | |
float | T () const |
return time [ns] More... | |
float | Px () const |
return momentum x-component [GeV/c] More... | |
float | Py () const |
return momentum y-component [GeV/c] More... | |
float | Pz () const |
return momentum z-component [GeV/c] More... | |
float | P () const |
return magnitude of particle momentum [GeV/c] More... | |
float | E () const |
return total energy [GeV] More... | |
float | KE () const |
Protected Attributes | |
int | fTrackId = INT_MAX |
generator track ID More... | |
int | fPdg = INT_MAX |
particle PDG code More... | |
TLorentzVector | fR |
final particle 4-position in lab frame [cm,ns] More... | |
TLorentzVector | fP |
final particle 4-momentum in lab frame [GeV/c,GeV] More... | |
Definition at line 9 of file FSParticle.h.
|
inline |
Definition at line 14 of file FSParticle.h.
FSParticle::FSParticle | ( | const int & | trackid, |
const int & | pdg, | ||
const float & | x, | ||
const float & | y, | ||
const float & | z, | ||
const float & | t, | ||
const float & | px, | ||
const float & | py, | ||
const float & | pz, | ||
const float & | e | ||
) |
Definition at line 13 of file FSParticle.cxx.
FSParticle::FSParticle | ( | const int & | trackid, |
const int & | pdg, | ||
const TLorentzVector & | r, | ||
const TLorentzVector & | p | ||
) |
Definition at line 21 of file FSParticle.cxx.
float FSParticle::E | ( | ) | const |
return total energy [GeV]
Definition at line 41 of file FSParticle.cxx.
float FSParticle::KE | ( | ) | const |
Definition at line 42 of file FSParticle.cxx.
const TLorentzVector & FSParticle::Mom4 | ( | ) | const |
Definition at line 32 of file FSParticle.cxx.
float FSParticle::P | ( | ) | const |
return magnitude of particle momentum [GeV/c]
Definition at line 40 of file FSParticle.cxx.
int const & FSParticle::PDG | ( | ) | const |
Definition at line 30 of file FSParticle.cxx.
const TLorentzVector & FSParticle::Pos4 | ( | ) | const |
Definition at line 31 of file FSParticle.cxx.
float FSParticle::Px | ( | ) | const |
return momentum x-component [GeV/c]
Definition at line 37 of file FSParticle.cxx.
float FSParticle::Py | ( | ) | const |
return momentum y-component [GeV/c]
Definition at line 38 of file FSParticle.cxx.
float FSParticle::Pz | ( | ) | const |
return momentum z-component [GeV/c]
Definition at line 39 of file FSParticle.cxx.
float FSParticle::T | ( | ) | const |
return time [ns]
Definition at line 36 of file FSParticle.cxx.
int const & FSParticle::TrackId | ( | ) | const |
Definition at line 29 of file FSParticle.cxx.
float FSParticle::X | ( | ) | const |
return position x-component [GeV/c]
Definition at line 33 of file FSParticle.cxx.
float FSParticle::Y | ( | ) | const |
return position y-component [GeV/c]
Definition at line 34 of file FSParticle.cxx.
float FSParticle::Z | ( | ) | const |
return position z-component [GeV/c]
Definition at line 35 of file FSParticle.cxx.
|
protected |
final particle 4-momentum in lab frame [GeV/c,GeV]
Definition at line 45 of file FSParticle.h.
|
protected |
particle PDG code
Definition at line 43 of file FSParticle.h.
|
protected |
final particle 4-position in lab frame [cm,ns]
Definition at line 44 of file FSParticle.h.
|
protected |
generator track ID
Definition at line 42 of file FSParticle.h.