#include <SimG4Core/GFlash/interface/GflashTrajectoryPoint.h>
Public Member Functions | |
G4ThreeVector | getCrossUnitVector () |
G4ThreeVector & | getMomentum () |
G4ThreeVector | getOrthogonalUnitVector () |
double | getPathLength () |
G4ThreeVector & | getPosition () |
GflashTrajectoryPoint (G4ThreeVector &position, G4ThreeVector &momentum, double pathLength) | |
GflashTrajectoryPoint () | |
void | setMomentum (const G4ThreeVector &momentum) |
void | setPathLength (double pathLength) |
void | setPosition (const G4ThreeVector &position) |
~GflashTrajectoryPoint () | |
Private Attributes | |
G4ThreeVector | theMomentum |
double | thePathLength |
G4ThreeVector | thePosition |
Definition at line 6 of file GflashTrajectoryPoint.h.
GflashTrajectoryPoint::GflashTrajectoryPoint | ( | ) |
Definition at line 4 of file GflashTrajectoryPoint.cc.
00005 : thePosition(0,0,0), theMomentum(0,0,0), thePathLength(0) 00006 { 00007 //default constructor 00008 }
GflashTrajectoryPoint::GflashTrajectoryPoint | ( | G4ThreeVector & | position, | |
G4ThreeVector & | momentum, | |||
double | pathLength | |||
) |
Definition at line 10 of file GflashTrajectoryPoint.cc.
References theMomentum, thePathLength, and thePosition.
00012 { 00013 thePosition = position; 00014 theMomentum = momentum; 00015 thePathLength = pathLength; 00016 }
GflashTrajectoryPoint::~GflashTrajectoryPoint | ( | ) |
G4ThreeVector GflashTrajectoryPoint::getCrossUnitVector | ( | ) | [inline] |
Definition at line 23 of file GflashTrajectoryPoint.h.
References getOrthogonalUnitVector(), and theMomentum.
Referenced by GflashHadronShowerProfile::hadronicParameterization(), and GflashEMShowerProfile::parameterization().
00023 { return theMomentum.cross(getOrthogonalUnitVector()).unit(); }
G4ThreeVector& GflashTrajectoryPoint::getMomentum | ( | ) | [inline] |
Definition at line 21 of file GflashTrajectoryPoint.h.
References theMomentum.
Referenced by GflashTrajectory::getGflashTrajectoryPoint().
00021 { return theMomentum; }
G4ThreeVector GflashTrajectoryPoint::getOrthogonalUnitVector | ( | ) | [inline] |
Definition at line 22 of file GflashTrajectoryPoint.h.
References theMomentum.
Referenced by getCrossUnitVector(), GflashHadronShowerProfile::hadronicParameterization(), and GflashEMShowerProfile::parameterization().
00022 { return theMomentum.orthogonal().unit(); }
double GflashTrajectoryPoint::getPathLength | ( | ) | [inline] |
Definition at line 19 of file GflashTrajectoryPoint.h.
References thePathLength.
00019 { return thePathLength; }
G4ThreeVector& GflashTrajectoryPoint::getPosition | ( | ) | [inline] |
Definition at line 20 of file GflashTrajectoryPoint.h.
References thePosition.
Referenced by GflashTrajectory::getGflashTrajectoryPoint(), GflashHadronShowerProfile::hadronicParameterization(), GflashHadronShowerProfile::longitudinalProfile(), and GflashEMShowerProfile::parameterization().
00020 { return thePosition; }
void GflashTrajectoryPoint::setMomentum | ( | const G4ThreeVector & | momentum | ) | [inline] |
Definition at line 26 of file GflashTrajectoryPoint.h.
References theMomentum.
00026 { theMomentum = momentum; }
void GflashTrajectoryPoint::setPathLength | ( | double | pathLength | ) | [inline] |
Definition at line 27 of file GflashTrajectoryPoint.h.
References thePathLength.
Referenced by GflashTrajectory::getGflashTrajectoryPoint().
00027 { thePathLength = pathLength; }
void GflashTrajectoryPoint::setPosition | ( | const G4ThreeVector & | position | ) | [inline] |
Definition at line 25 of file GflashTrajectoryPoint.h.
References thePosition.
00025 { thePosition = position; }
G4ThreeVector GflashTrajectoryPoint::theMomentum [private] |
Definition at line 31 of file GflashTrajectoryPoint.h.
Referenced by getCrossUnitVector(), getMomentum(), getOrthogonalUnitVector(), GflashTrajectoryPoint(), and setMomentum().
double GflashTrajectoryPoint::thePathLength [private] |
Definition at line 32 of file GflashTrajectoryPoint.h.
Referenced by getPathLength(), GflashTrajectoryPoint(), and setPathLength().
G4ThreeVector GflashTrajectoryPoint::thePosition [private] |
Definition at line 30 of file GflashTrajectoryPoint.h.
Referenced by getPosition(), GflashTrajectoryPoint(), and setPosition().