Geant4  10.03
RE04Trajectory Class Reference

User trajectory class. More...

#include <RE04Trajectory.hh>

+ Inheritance diagram for RE04Trajectory:
+ Collaboration diagram for RE04Trajectory:

Public Member Functions

 RE04Trajectory ()
 
 RE04Trajectory (const G4Track *aTrack)
 
 RE04Trajectory (RE04Trajectory &)
 
virtual ~RE04Trajectory ()
 
void * operator new (size_t)
 
void operator delete (void *)
 
int operator== (const RE04Trajectory &right) const
 
virtual G4int GetTrackID () const
 
virtual G4int GetParentID () const
 
virtual G4String GetParticleName () const
 
virtual G4double GetCharge () const
 
virtual G4int GetPDGEncoding () const
 
virtual G4double GetInitialKineticEnergy () const
 
virtual 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

TrajectoryPointContainerfPositionRecord
 
G4int fTrackID
 
G4int fParentID
 
G4int fPDGEncoding
 
G4double fPDGCharge
 
G4String fParticleName
 
G4double fInitialKineticEnergy
 
G4ThreeVector fInitialMomentum
 

Detailed Description

User trajectory class.

Definition at line 90 of file RE04Trajectory.hh.

Constructor & Destructor Documentation

RE04Trajectory::RE04Trajectory ( )

Definition at line 48 of file RE04Trajectory.cc.

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

Definition at line 93 of file RE04Trajectory.cc.

References fPositionRecord.

Member Function Documentation

void RE04Trajectory::AppendStep ( const G4Step aStep)
virtual

Implements G4VTrajectory.

Definition at line 205 of file RE04Trajectory.cc.

References fPositionRecord, G4StepPoint::GetMaterial(), G4StepPoint::GetPosition(), G4Step::GetPostStepPoint(), and G4Step::GetPreStepPoint().

+ Here is the call graph for this function:

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

Reimplemented from G4VTrajectory.

Definition at line 167 of file RE04Trajectory.cc.

References G4UIcommand::ConvertToString(), fInitialKineticEnergy, fInitialMomentum, fParentID, fParticleName, fPDGCharge, fPDGEncoding, fTrackID, G4BestUnit, G4cout, GetAttDefs(), and GetPointEntries().

+ Here is the call graph for this function:

void RE04Trajectory::DrawTrajectory ( ) const
virtual

Reimplemented from G4VTrajectory.

Definition at line 115 of file RE04Trajectory.cc.

References G4VTrajectory::DrawTrajectory().

+ Here is the call graph for this function:

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

Reimplemented from G4VTrajectory.

Definition at line 123 of file RE04Trajectory.cc.

References G4AttDefStore::GetInstance(), and G4InuclParticleNames::pn.

Referenced by CreateAttValues().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

virtual G4double RE04Trajectory::GetCharge ( ) const
inlinevirtual

Implements G4VTrajectory.

Definition at line 119 of file RE04Trajectory.hh.

References fPDGCharge.

virtual G4double RE04Trajectory::GetInitialKineticEnergy ( ) const
inlinevirtual

Definition at line 123 of file RE04Trajectory.hh.

References fInitialKineticEnergy.

virtual G4ThreeVector RE04Trajectory::GetInitialMomentum ( ) const
inlinevirtual

Implements G4VTrajectory.

Definition at line 125 of file RE04Trajectory.hh.

References fInitialMomentum.

virtual G4int RE04Trajectory::GetParentID ( ) const
inlinevirtual

Implements G4VTrajectory.

Definition at line 115 of file RE04Trajectory.hh.

References fParentID.

G4ParticleDefinition * RE04Trajectory::GetParticleDefinition ( )

Definition at line 213 of file RE04Trajectory.cc.

References fParticleName, and G4ParticleTable::GetParticleTable().

+ Here is the call graph for this function:

virtual G4String RE04Trajectory::GetParticleName ( ) const
inlinevirtual

Implements G4VTrajectory.

Definition at line 117 of file RE04Trajectory.hh.

References fParticleName.

virtual G4int RE04Trajectory::GetPDGEncoding ( ) const
inlinevirtual

Implements G4VTrajectory.

Definition at line 121 of file RE04Trajectory.hh.

References fPDGEncoding.

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

Implements G4VTrajectory.

Definition at line 134 of file RE04Trajectory.hh.

References fPositionRecord.

virtual int RE04Trajectory::GetPointEntries ( ) const
inlinevirtual

Implements G4VTrajectory.

Definition at line 133 of file RE04Trajectory.hh.

References fPositionRecord.

Referenced by CreateAttValues(), and MergeTrajectory().

+ Here is the caller graph for this function:

virtual G4int RE04Trajectory::GetTrackID ( ) const
inlinevirtual

Implements G4VTrajectory.

Definition at line 113 of file RE04Trajectory.hh.

References fTrackID.

void RE04Trajectory::MergeTrajectory ( G4VTrajectory secondTrajectory)
virtual

Implements G4VTrajectory.

Definition at line 219 of file RE04Trajectory.cc.

References fPositionRecord, and GetPointEntries().

+ Here is the call graph for this function:

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

Definition at line 166 of file RE04Trajectory.hh.

References faTrajAllocator.

void * RE04Trajectory::operator new ( size_t  )
inline

Definition at line 160 of file RE04Trajectory.hh.

References faTrajAllocator.

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

Definition at line 109 of file RE04Trajectory.hh.

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

Reimplemented from G4VTrajectory.

Definition at line 107 of file RE04Trajectory.cc.

References G4VTrajectory::ShowTrajectory().

Referenced by RE04EventAction::EndOfEventAction().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

G4double RE04Trajectory::fInitialKineticEnergy
private

Definition at line 153 of file RE04Trajectory.hh.

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

G4ThreeVector RE04Trajectory::fInitialMomentum
private

Definition at line 154 of file RE04Trajectory.hh.

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

G4int RE04Trajectory::fParentID
private

Definition at line 149 of file RE04Trajectory.hh.

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

G4String RE04Trajectory::fParticleName
private
G4double RE04Trajectory::fPDGCharge
private

Definition at line 151 of file RE04Trajectory.hh.

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

G4int RE04Trajectory::fPDGEncoding
private

Definition at line 150 of file RE04Trajectory.hh.

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

TrajectoryPointContainer* RE04Trajectory::fPositionRecord
private
G4int RE04Trajectory::fTrackID
private

Definition at line 148 of file RE04Trajectory.hh.

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


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