#include <EDepSimTrajectory.hh>
Public Member Functions | |
Trajectory () | |
Trajectory (const G4Track *aTrack) | |
Trajectory (EDepSim::Trajectory &) | |
virtual | ~Trajectory () |
void * | operator new (size_t) |
void | operator delete (void *) |
int | operator== (const EDepSim::Trajectory &right) const |
G4int | GetTrackID () const |
Get the track id described by this trajectory. More... | |
G4int | GetParentID () const |
G4String | GetParticleName () const |
Get the particle name. More... | |
G4double | GetCharge () const |
Get the particle charge. More... | |
G4int | GetPDGEncoding () const |
Get the PDG MC particle number for this particle. More... | |
G4String | GetProcessName () const |
Get the interaction process that created the trajectory. More... | |
G4ThreeVector | GetInitialMomentum () const |
Get the initial momentum of the particle that created this trajectory. More... | |
G4double | GetInitialKineticEnergy () const |
G4double | GetSDEnergyDeposit () const |
Get the amount of energy deposited into a sensitive detector. More... | |
void | AddSDEnergyDeposit (double energy) |
Add energy deposited into a sensitive detector. More... | |
G4double | GetSDLength () const |
Get the total length of this trajectory that is in a sensitive detector. More... | |
void | AddSDLength (double len) |
Add the length that has been deposited into a sensitive detector. More... | |
G4double | GetSDTotalEnergyDeposit () const |
void | AddSDDaughterEnergyDeposit (double energy) |
Add energy deposited into a sensitive detector by a daughter. More... | |
G4double | GetRange () const |
Get the range of the particle that created this trajectory. More... | |
void | MarkTrajectory (bool save=true) |
Mark this trajectory as one that should be saved in the output. More... | |
bool | SaveTrajectory () const |
Check if this trajectory should be saved. More... | |
virtual void | AppendStep (const G4Step *aStep) |
virtual int | GetPointEntries () const |
Get the number of trajectory points saved with this trajectory. More... | |
virtual G4VTrajectoryPoint * | GetPoint (G4int i) const |
Get a particular trajectory point. More... | |
virtual void | MergeTrajectory (G4VTrajectory *secondTrajectory) |
G4ParticleDefinition * | GetParticleDefinition () const |
Get the full definition of the particle. More... | |
virtual const std::map< G4String, G4AttDef > * | GetAttDefs () const |
virtual std::vector< G4AttValue > * | CreateAttValues () const |
Private Attributes | |
TrajectoryPointContainer * | fPositionRecord |
G4int | fTrackID |
G4int | fParentID |
G4int | fPDGEncoding |
G4double | fPDGCharge |
G4String | fParticleName |
G4String | fProcessName |
G4ThreeVector | fInitialMomentum |
G4double | fSDEnergyDeposit |
G4double | fSDTotalEnergyDeposit |
G4double | fSDLength |
bool | fSaveTrajectory |
EDepSim specific trajectory class to save internal bookkeeping information. This keeps track of information about a particular particle track. Important information kept includes how much energy this trajectory has deposited in sensitive detectors, and it can query it's children to find out how much energy they deposited. It also keeps track of the process that created the trajectory, the total length in the sensitive detectors, and points along the trajectory.
Definition at line 28 of file EDepSimTrajectory.hh.
EDepSim::Trajectory::Trajectory | ( | ) |
Definition at line 18 of file EDepSimTrajectory.cc.
EDepSim::Trajectory::Trajectory | ( | const G4Track * | aTrack | ) |
Definition at line 25 of file EDepSimTrajectory.cc.
EDepSim::Trajectory::Trajectory | ( | EDepSim::Trajectory & | right | ) |
Definition at line 45 of file EDepSimTrajectory.cc.
|
virtual |
Definition at line 66 of file EDepSimTrajectory.cc.
|
inline |
Add energy deposited into a sensitive detector by a daughter.
Definition at line 90 of file EDepSimTrajectory.hh.
|
inline |
Add energy deposited into a sensitive detector.
Definition at line 72 of file EDepSimTrajectory.hh.
|
inline |
Add the length that has been deposited into a sensitive detector.
Definition at line 81 of file EDepSimTrajectory.hh.
|
virtual |
Definition at line 188 of file EDepSimTrajectory.cc.
|
virtual |
Definition at line 153 of file EDepSimTrajectory.cc.
|
virtual |
Definition at line 108 of file EDepSimTrajectory.cc.
|
inline |
G4double EDepSim::Trajectory::GetInitialKineticEnergy | ( | ) | const |
Get the initial kinetic energy of the particle that created this trajectory.
Definition at line 75 of file EDepSimTrajectory.cc.
|
inline |
Get the initial momentum of the particle that created this trajectory.
Definition at line 62 of file EDepSimTrajectory.hh.
|
inline |
Get the track id of the parent of the track described by this trajectory.
Definition at line 47 of file EDepSimTrajectory.hh.
G4ParticleDefinition * EDepSim::Trajectory::GetParticleDefinition | ( | ) | const |
|
inline |
|
inline |
Get the PDG MC particle number for this particle.
Definition at line 56 of file EDepSimTrajectory.hh.
|
inlinevirtual |
Get a particular trajectory point.
Definition at line 110 of file EDepSimTrajectory.hh.
|
inlinevirtual |
Get the number of trajectory points saved with this trajectory.
Definition at line 107 of file EDepSimTrajectory.hh.
|
inline |
Get the interaction process that created the trajectory.
Definition at line 59 of file EDepSimTrajectory.hh.
G4double EDepSim::Trajectory::GetRange | ( | ) | const |
Get the range of the particle that created this trajectory.
Definition at line 85 of file EDepSimTrajectory.cc.
|
inline |
Get the amount of energy deposited into a sensitive detector.
Definition at line 69 of file EDepSimTrajectory.hh.
|
inline |
Get the total length of this trajectory that is in a sensitive detector.
Definition at line 78 of file EDepSimTrajectory.hh.
|
inline |
Get the total amount of energy deposited into a sensitive detector by this trajectory and all of it's daughters.
Definition at line 87 of file EDepSimTrajectory.hh.
|
inline |
void EDepSim::Trajectory::MarkTrajectory | ( | bool | save = true | ) |
Mark this trajectory as one that should be saved in the output.
Definition at line 95 of file EDepSimTrajectory.cc.
|
virtual |
Definition at line 197 of file EDepSimTrajectory.cc.
|
inline |
Definition at line 149 of file EDepSimTrajectory.hh.
|
inline |
Definition at line 144 of file EDepSimTrajectory.hh.
|
inline |
Definition at line 38 of file EDepSimTrajectory.hh.
|
inline |
|
private |
Definition at line 131 of file EDepSimTrajectory.hh.
|
private |
Definition at line 126 of file EDepSimTrajectory.hh.
|
private |
Definition at line 129 of file EDepSimTrajectory.hh.
|
private |
Definition at line 128 of file EDepSimTrajectory.hh.
|
private |
Definition at line 127 of file EDepSimTrajectory.hh.
|
private |
Definition at line 124 of file EDepSimTrajectory.hh.
|
private |
Definition at line 130 of file EDepSimTrajectory.hh.
|
private |
Definition at line 135 of file EDepSimTrajectory.hh.
|
private |
Definition at line 132 of file EDepSimTrajectory.hh.
|
private |
Definition at line 134 of file EDepSimTrajectory.hh.
|
private |
Definition at line 133 of file EDepSimTrajectory.hh.
|
private |
Definition at line 125 of file EDepSimTrajectory.hh.