#include <GiGaTrajectoryPoint.h>
Public Member Functions | |
GiGaTrajectoryPoint () | |
default empty constructor | |
GiGaTrajectoryPoint (const CLHEP::Hep3Vector &Pos, const double Time, const CLHEP::HepLorentzVector &Mom=CLHEP::HepLorentzVector(), const G4VProcess *Proc=0) | |
constructor from position and time, momentum and process | |
GiGaTrajectoryPoint (const double Time, const CLHEP::Hep3Vector &Pos, const CLHEP::HepLorentzVector &Mom=CLHEP::HepLorentzVector(), const G4VProcess *Proc=0) | |
constructor from position and time | |
GiGaTrajectoryPoint (const CLHEP::HepLorentzVector &right, const CLHEP::HepLorentzVector &Mom=CLHEP::HepLorentzVector(), const G4VProcess *Proc=0) | |
constructor from 4-vector | |
GiGaTrajectoryPoint (const G4TrajectoryPoint &Point, const double Time, const CLHEP::HepLorentzVector &Mom=CLHEP::HepLorentzVector(), const G4VProcess *Proc=0) | |
constructor from G4TrajectoryPoint | |
GiGaTrajectoryPoint (const G4VTrajectoryPoint &Point, const double Time, const CLHEP::HepLorentzVector &Mom=CLHEP::HepLorentzVector(), const G4VProcess *Proc=0) | |
constructor from G4VTrajectoryPoint | |
GiGaTrajectoryPoint (const GiGaTrajectoryPoint &right) | |
copy constructor | |
virtual | ~GiGaTrajectoryPoint () |
destructor (virtual) | |
GiGaTrajectoryPoint * | clone () const |
clone method (virtual constructor) | |
void * | operator new (size_t) |
overloaded "new" | |
void | operator delete (void *) |
overloaded "delete" | |
bool | operator== (const GiGaTrajectoryPoint &right) |
comparison,needed by G4 | |
const double | time () const |
get the time | |
const double | GetTime () const |
get the time | |
void | setTime (double Time) |
set the time | |
const CLHEP::HepLorentzVector | fourVector () const |
get the 4-position | |
const CLHEP::HepLorentzVector | GetFourVector () const |
get the 4-position | |
const CLHEP::HepLorentzVector & | momentum () const |
get the actual 'input' 4-momentum of the particle | |
const CLHEP::HepLorentzVector & | GetMomentum () const |
get the actual 'input' 4-momentum of the particle | |
void | setMomentum (const CLHEP::HepLorentzVector &value) |
set new value for input 4-momentum | |
void | SetMomentum (const CLHEP::HepLorentzVector &value) |
set new value for input 4-momentum | |
const G4VProcess * | process () const |
get the process which depermines the position of the trajectory point(vertex) for th efitrst point if th etrajectory it is a "creator" process for the track otherwise it is process whoch determinies the step | |
const G4VProcess * | GetProcess () const |
get the process which depermines the position of the trajectory point(vertex) for th efitrst point if th etrajectory it is a "creator" process for the track otherwise it is process whoch determinies the step | |
void | setProcess (const G4VProcess *value) |
set new valeu of the process | |
void | SetProcess (const G4VProcess *value) |
set new valeu of the process | |
Private Member Functions | |
GiGaTrajectoryPoint & | operator= (const GiGaTrajectoryPoint &right) |
Private Attributes | |
double | m_time |
CLHEP::HepLorentzVector | m_momentum |
const G4VProcess * | m_process |
Overwise conversion to MCVertex class is impossible.
Definition at line 41 of file GiGaTrajectoryPoint.h.
GiGaTrajectoryPoint::GiGaTrajectoryPoint | ( | ) |
default empty constructor
GiGaTrajectoryPoint::GiGaTrajectoryPoint | ( | const CLHEP::Hep3Vector & | Pos, | |
const double | Time, | |||
const CLHEP::HepLorentzVector & | Mom = CLHEP::HepLorentzVector() , |
|||
const G4VProcess * | Proc = 0 | |||
) |
constructor from position and time, momentum and process
Pos | position | |
Time | time | |
Mom | input momentum | |
Proc | process |
GiGaTrajectoryPoint::GiGaTrajectoryPoint | ( | const double | Time, | |
const CLHEP::Hep3Vector & | Pos, | |||
const CLHEP::HepLorentzVector & | Mom = CLHEP::HepLorentzVector() , |
|||
const G4VProcess * | Proc = 0 | |||
) |
constructor from position and time
Time | time | |
Pos | position | |
Mom | input momentum | |
Proc | process |
GiGaTrajectoryPoint::GiGaTrajectoryPoint | ( | const CLHEP::HepLorentzVector & | right, | |
const CLHEP::HepLorentzVector & | Mom = CLHEP::HepLorentzVector() , |
|||
const G4VProcess * | Proc = 0 | |||
) |
constructor from 4-vector
right | 4-vector | |
Mom | input momentum | |
Proc | process |
GiGaTrajectoryPoint::GiGaTrajectoryPoint | ( | const G4TrajectoryPoint & | Point, | |
const double | Time, | |||
const CLHEP::HepLorentzVector & | Mom = CLHEP::HepLorentzVector() , |
|||
const G4VProcess * | Proc = 0 | |||
) |
constructor from G4TrajectoryPoint
point | trajectory point | |
Time | time | |
Mom | input momentum | |
Proc | process |
GiGaTrajectoryPoint::GiGaTrajectoryPoint | ( | const G4VTrajectoryPoint & | Point, | |
const double | Time, | |||
const CLHEP::HepLorentzVector & | Mom = CLHEP::HepLorentzVector() , |
|||
const G4VProcess * | Proc = 0 | |||
) |
constructor from G4VTrajectoryPoint
point | trajectory point | |
Time | time | |
Mom | input momentum | |
Proc | process |
GiGaTrajectoryPoint::GiGaTrajectoryPoint | ( | const GiGaTrajectoryPoint & | right | ) |
copy constructor
right | object to be copied |
virtual GiGaTrajectoryPoint::~GiGaTrajectoryPoint | ( | ) | [virtual] |
destructor (virtual)
GiGaTrajectoryPoint* GiGaTrajectoryPoint::clone | ( | ) | const |
clone method (virtual constructor)
void* GiGaTrajectoryPoint::operator new | ( | size_t | ) |
overloaded "new"
void GiGaTrajectoryPoint::operator delete | ( | void * | ) |
overloaded "delete"
bool GiGaTrajectoryPoint::operator== | ( | const GiGaTrajectoryPoint & | right | ) | [inline] |
const double GiGaTrajectoryPoint::time | ( | ) | const [inline] |
const double GiGaTrajectoryPoint::GetTime | ( | ) | const [inline] |
void GiGaTrajectoryPoint::setTime | ( | double | Time | ) | [inline] |
const CLHEP::HepLorentzVector GiGaTrajectoryPoint::fourVector | ( | ) | const [inline] |
get the 4-position
Definition at line 138 of file GiGaTrajectoryPoint.h.
00139 { return CLHEP::HepLorentzVector ( GetPosition() , GetTime() ) ; };
const CLHEP::HepLorentzVector GiGaTrajectoryPoint::GetFourVector | ( | ) | const [inline] |
get the 4-position
Definition at line 142 of file GiGaTrajectoryPoint.h.
00142 { return fourVector () ; };
const CLHEP::HepLorentzVector& GiGaTrajectoryPoint::momentum | ( | ) | const [inline] |
get the actual 'input' 4-momentum of the particle
Definition at line 145 of file GiGaTrajectoryPoint.h.
00145 { return m_momentum ; }
const CLHEP::HepLorentzVector& GiGaTrajectoryPoint::GetMomentum | ( | ) | const [inline] |
get the actual 'input' 4-momentum of the particle
Definition at line 148 of file GiGaTrajectoryPoint.h.
00148 { return momentum () ; }
void GiGaTrajectoryPoint::setMomentum | ( | const CLHEP::HepLorentzVector & | value | ) | [inline] |
set new value for input 4-momentum
Definition at line 151 of file GiGaTrajectoryPoint.h.
00151 { m_momentum = value ; }
void GiGaTrajectoryPoint::SetMomentum | ( | const CLHEP::HepLorentzVector & | value | ) | [inline] |
set new value for input 4-momentum
Definition at line 154 of file GiGaTrajectoryPoint.h.
00154 { setMomentum ( value ) ; }
const G4VProcess* GiGaTrajectoryPoint::process | ( | ) | const [inline] |
get the process which depermines the position of the trajectory point(vertex) for th efitrst point if th etrajectory it is a "creator" process for the track otherwise it is process whoch determinies the step
Definition at line 162 of file GiGaTrajectoryPoint.h.
00162 { return m_process ; }
const G4VProcess* GiGaTrajectoryPoint::GetProcess | ( | ) | const [inline] |
get the process which depermines the position of the trajectory point(vertex) for th efitrst point if th etrajectory it is a "creator" process for the track otherwise it is process whoch determinies the step
Definition at line 170 of file GiGaTrajectoryPoint.h.
00170 { return process () ; }
void GiGaTrajectoryPoint::setProcess | ( | const G4VProcess * | value | ) | [inline] |
set new valeu of the process
Definition at line 173 of file GiGaTrajectoryPoint.h.
00173 { m_process = value ; }
void GiGaTrajectoryPoint::SetProcess | ( | const G4VProcess * | value | ) | [inline] |
set new valeu of the process
Definition at line 175 of file GiGaTrajectoryPoint.h.
00175 { setProcess ( value ) ; }
GiGaTrajectoryPoint& GiGaTrajectoryPoint::operator= | ( | const GiGaTrajectoryPoint & | right | ) | [private] |
double GiGaTrajectoryPoint::m_time [private] |
Definition at line 185 of file GiGaTrajectoryPoint.h.
CLHEP::HepLorentzVector GiGaTrajectoryPoint::m_momentum [private] |
Definition at line 186 of file GiGaTrajectoryPoint.h.
const G4VProcess* GiGaTrajectoryPoint::m_process [private] |
Definition at line 187 of file GiGaTrajectoryPoint.h.