Geant4  10.03
G4Trajectory Class Reference

#include <G4Trajectory.hh>

+ Inheritance diagram for G4Trajectory:
+ Collaboration diagram for G4Trajectory:

Public Member Functions

 G4Trajectory ()
 
 G4Trajectory (const G4Track *aTrack)
 
 G4Trajectory (G4Trajectory &)
 
virtual ~G4Trajectory ()
 
void * operator new (size_t)
 
void operator delete (void *)
 
int operator== (const G4Trajectory &right) const
 
G4int GetTrackID () const
 
G4int GetParentID () const
 
G4String GetParticleName () const
 
G4double GetCharge () const
 
G4int GetPDGEncoding () const
 
G4double GetInitialKineticEnergy () const
 
G4ThreeVector GetInitialMomentum () const
 
virtual void ShowTrajectory (std::ostream &os=G4cout) const
 
virtual void DrawTrajectory () const
 
virtual void AppendStep (const G4Step *aStep)
 
virtual int GetPointEntries () const
 
virtual G4VTrajectoryPointGetPoint (G4int i) const
 
virtual void MergeTrajectory (G4VTrajectory *secondTrajectory)
 
G4ParticleDefinitionGetParticleDefinition ()
 
virtual const std::map
< G4String, G4AttDef > * 
GetAttDefs () const
 
virtual std::vector< G4AttValue > * CreateAttValues () const
 
- Public Member Functions inherited from G4VTrajectory
 G4VTrajectory ()
 
virtual ~G4VTrajectory ()
 
G4bool operator== (const G4VTrajectory &right) const
 

Private Attributes

TrajectoryPointContainerpositionRecord
 
G4int fTrackID
 
G4int fParentID
 
G4int PDGEncoding
 
G4double PDGCharge
 
G4String ParticleName
 
G4double initialKineticEnergy
 
G4ThreeVector initialMomentum
 

Detailed Description

Definition at line 72 of file G4Trajectory.hh.

Constructor & Destructor Documentation

G4Trajectory::G4Trajectory ( )

Definition at line 57 of file G4Trajectory.cc.

G4Trajectory::G4Trajectory ( const G4Track aTrack)
G4Trajectory::G4Trajectory ( G4Trajectory right)
G4Trajectory::~G4Trajectory ( )
virtual

Definition at line 96 of file G4Trajectory.cc.

References positionRecord.

Member Function Documentation

void G4Trajectory::AppendStep ( const G4Step aStep)
virtual

Implements G4VTrajectory.

Reimplemented in G4RichTrajectory.

Definition at line 202 of file G4Trajectory.cc.

References G4Step::GetPostStepPoint(), and positionRecord.

+ Here is the call graph for this function:

std::vector< G4AttValue > * G4Trajectory::CreateAttValues ( ) const
virtual

Reimplemented from G4VTrajectory.

Reimplemented in G4RichTrajectory.

Definition at line 165 of file G4Trajectory.cc.

References G4UIcommand::ConvertToString(), fParentID, fTrackID, G4BestUnit, G4cout, GetAttDefs(), GetPointEntries(), initialKineticEnergy, initialMomentum, ParticleName, PDGCharge, and PDGEncoding.

Referenced by G4RichTrajectory::CreateAttValues().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4Trajectory::DrawTrajectory ( ) const
virtual

Reimplemented from G4VTrajectory.

Reimplemented in G4RichTrajectory, and LXeTrajectory.

Definition at line 115 of file G4Trajectory.cc.

References G4VTrajectory::DrawTrajectory().

Referenced by DMXEventAction::drawTracks().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

const std::map< G4String, G4AttDef > * G4Trajectory::GetAttDefs ( ) const
virtual

Reimplemented from G4VTrajectory.

Reimplemented in G4RichTrajectory.

Definition at line 122 of file G4Trajectory.cc.

References G4AttDefStore::GetInstance().

Referenced by CreateAttValues(), G4RichTrajectory::GetAttDefs(), G4VisCommandList::SetNewValue(), and G4VisCommandSceneAddTrajectories::SetNewValue().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4double G4Trajectory::GetCharge ( ) const
inlinevirtual

Implements G4VTrajectory.

Definition at line 101 of file G4Trajectory.hh.

References PDGCharge.

Referenced by DMXEventAction::drawTracks().

+ Here is the caller graph for this function:

G4double G4Trajectory::GetInitialKineticEnergy ( ) const
inline

Definition at line 105 of file G4Trajectory.hh.

References initialKineticEnergy.

G4ThreeVector G4Trajectory::GetInitialMomentum ( ) const
inlinevirtual

Implements G4VTrajectory.

Definition at line 107 of file G4Trajectory.hh.

References initialMomentum.

G4int G4Trajectory::GetParentID ( ) const
inlinevirtual

Implements G4VTrajectory.

Definition at line 97 of file G4Trajectory.hh.

References fParentID.

G4ParticleDefinition * G4Trajectory::GetParticleDefinition ( void  )

Definition at line 208 of file G4Trajectory.cc.

References G4ParticleTable::GetParticleTable(), and ParticleName.

+ Here is the call graph for this function:

G4String G4Trajectory::GetParticleName ( ) const
inlinevirtual

Implements G4VTrajectory.

Definition at line 99 of file G4Trajectory.hh.

References ParticleName.

Referenced by DMXEventAction::drawTracks(), and LXeEventAction::EndOfEventAction().

+ Here is the caller graph for this function:

G4int G4Trajectory::GetPDGEncoding ( ) const
inlinevirtual

Implements G4VTrajectory.

Definition at line 103 of file G4Trajectory.hh.

References PDGEncoding.

virtual G4VTrajectoryPoint* G4Trajectory::GetPoint ( G4int  i) const
inlinevirtual

Implements G4VTrajectory.

Reimplemented in G4RichTrajectory.

Definition at line 115 of file G4Trajectory.hh.

References positionRecord.

Referenced by LXeTrajectory::DrawTrajectory().

+ Here is the caller graph for this function:

virtual int G4Trajectory::GetPointEntries ( ) const
inlinevirtual

Implements G4VTrajectory.

Reimplemented in G4RichTrajectory.

Definition at line 114 of file G4Trajectory.hh.

References positionRecord.

Referenced by CreateAttValues(), LXeTrajectory::DrawTrajectory(), and MergeTrajectory().

+ Here is the caller graph for this function:

G4int G4Trajectory::GetTrackID ( ) const
inlinevirtual

Implements G4VTrajectory.

Definition at line 95 of file G4Trajectory.hh.

References fTrackID.

void G4Trajectory::MergeTrajectory ( G4VTrajectory secondTrajectory)
virtual

Implements G4VTrajectory.

Reimplemented in G4RichTrajectory.

Definition at line 213 of file G4Trajectory.cc.

References GetPointEntries(), and positionRecord.

+ Here is the call graph for this function:

void G4Trajectory::operator delete ( void *  aTrajectory)
inline

Definition at line 149 of file G4Trajectory.hh.

References aTrajectoryAllocator.

void * G4Trajectory::operator new ( size_t  )
inline

Definition at line 142 of file G4Trajectory.hh.

References aTrajectoryAllocator.

int G4Trajectory::operator== ( const G4Trajectory right) const
inline

Definition at line 91 of file G4Trajectory.hh.

void G4Trajectory::ShowTrajectory ( std::ostream &  os = G4cout) const
virtual

Reimplemented from G4VTrajectory.

Reimplemented in G4RichTrajectory.

Definition at line 108 of file G4Trajectory.cc.

References G4VTrajectory::ShowTrajectory().

+ Here is the call graph for this function:

Member Data Documentation

G4int G4Trajectory::fParentID
private

Definition at line 130 of file G4Trajectory.hh.

Referenced by CreateAttValues(), G4Trajectory(), and GetParentID().

G4int G4Trajectory::fTrackID
private

Definition at line 129 of file G4Trajectory.hh.

Referenced by CreateAttValues(), G4Trajectory(), and GetTrackID().

G4double G4Trajectory::initialKineticEnergy
private

Definition at line 134 of file G4Trajectory.hh.

Referenced by CreateAttValues(), G4Trajectory(), and GetInitialKineticEnergy().

G4ThreeVector G4Trajectory::initialMomentum
private

Definition at line 135 of file G4Trajectory.hh.

Referenced by CreateAttValues(), G4Trajectory(), and GetInitialMomentum().

G4String G4Trajectory::ParticleName
private
G4double G4Trajectory::PDGCharge
private

Definition at line 132 of file G4Trajectory.hh.

Referenced by CreateAttValues(), G4Trajectory(), and GetCharge().

G4int G4Trajectory::PDGEncoding
private

Definition at line 131 of file G4Trajectory.hh.

Referenced by CreateAttValues(), G4Trajectory(), and GetPDGEncoding().

TrajectoryPointContainer* G4Trajectory::positionRecord
private

The documentation for this class was generated from the following files: