Geant4  10.01.p02
G4SmoothTrajectory Class Reference

#include <G4SmoothTrajectory.hh>

+ Inheritance diagram for G4SmoothTrajectory:
+ Collaboration diagram for G4SmoothTrajectory:

Public Member Functions

 G4SmoothTrajectory ()
 
 G4SmoothTrajectory (const G4Track *aTrack)
 
 G4SmoothTrajectory (G4SmoothTrajectory &)
 
virtual ~G4SmoothTrajectory ()
 
void * operator new (size_t)
 
void operator delete (void *)
 
int operator== (const G4SmoothTrajectory &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 Member Functions

G4SmoothTrajectoryoperator= (const G4SmoothTrajectory &)
 

Private Attributes

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

Detailed Description

Definition at line 67 of file G4SmoothTrajectory.hh.

Constructor & Destructor Documentation

G4SmoothTrajectory::G4SmoothTrajectory ( )

Definition at line 58 of file G4SmoothTrajectory.cc.

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

Definition at line 101 of file G4SmoothTrajectory.cc.

References positionRecord.

Member Function Documentation

void G4SmoothTrajectory::AppendStep ( const G4Step aStep)
virtual

Implements G4VTrajectory.

Definition at line 210 of file G4SmoothTrajectory.cc.

References G4Step::GetPointerToVectorOfAuxiliaryPoints(), G4StepPoint::GetPosition(), G4Step::GetPostStepPoint(), and positionRecord.

+ Here is the call graph for this function:

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

Reimplemented from G4VTrajectory.

Definition at line 173 of file G4SmoothTrajectory.cc.

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

+ Here is the call graph for this function:

void G4SmoothTrajectory::DrawTrajectory ( ) const
virtual

Reimplemented from G4VTrajectory.

Definition at line 122 of file G4SmoothTrajectory.cc.

References G4VTrajectory::DrawTrajectory().

+ Here is the call graph for this function:

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

Reimplemented from G4VTrajectory.

Definition at line 129 of file G4SmoothTrajectory.cc.

References G4AttDefStore::GetInstance().

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

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4double G4SmoothTrajectory::GetCharge ( ) const
inlinevirtual

Implements G4VTrajectory.

Definition at line 99 of file G4SmoothTrajectory.hh.

References PDGCharge.

G4double G4SmoothTrajectory::GetInitialKineticEnergy ( ) const
inline

Definition at line 103 of file G4SmoothTrajectory.hh.

References initialKineticEnergy.

G4ThreeVector G4SmoothTrajectory::GetInitialMomentum ( ) const
inlinevirtual

Implements G4VTrajectory.

Definition at line 105 of file G4SmoothTrajectory.hh.

References initialMomentum.

G4int G4SmoothTrajectory::GetParentID ( ) const
inlinevirtual

Implements G4VTrajectory.

Definition at line 95 of file G4SmoothTrajectory.hh.

References fParentID.

G4ParticleDefinition * G4SmoothTrajectory::GetParticleDefinition ( void  )

Definition at line 217 of file G4SmoothTrajectory.cc.

References G4ParticleTable::GetParticleTable(), and ParticleName.

+ Here is the call graph for this function:

G4String G4SmoothTrajectory::GetParticleName ( ) const
inlinevirtual

Implements G4VTrajectory.

Definition at line 97 of file G4SmoothTrajectory.hh.

References ParticleName.

G4int G4SmoothTrajectory::GetPDGEncoding ( ) const
inlinevirtual

Implements G4VTrajectory.

Definition at line 101 of file G4SmoothTrajectory.hh.

References PDGEncoding.

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

Implements G4VTrajectory.

Definition at line 113 of file G4SmoothTrajectory.hh.

References positionRecord.

virtual int G4SmoothTrajectory::GetPointEntries ( ) const
inlinevirtual

Implements G4VTrajectory.

Definition at line 112 of file G4SmoothTrajectory.hh.

References positionRecord.

Referenced by CreateAttValues(), and MergeTrajectory().

+ Here is the caller graph for this function:

G4int G4SmoothTrajectory::GetTrackID ( ) const
inlinevirtual

Implements G4VTrajectory.

Definition at line 93 of file G4SmoothTrajectory.hh.

References fTrackID.

void G4SmoothTrajectory::MergeTrajectory ( G4VTrajectory secondTrajectory)
virtual

Implements G4VTrajectory.

Definition at line 222 of file G4SmoothTrajectory.cc.

References GetPointEntries(), and positionRecord.

+ Here is the call graph for this function:

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

Definition at line 148 of file G4SmoothTrajectory.hh.

References aSmoothTrajectoryAllocator.

void * G4SmoothTrajectory::operator new ( size_t  )
inline

Definition at line 141 of file G4SmoothTrajectory.hh.

References aSmoothTrajectoryAllocator.

G4SmoothTrajectory& G4SmoothTrajectory::operator= ( const G4SmoothTrajectory )
private
int G4SmoothTrajectory::operator== ( const G4SmoothTrajectory right) const
inline

Definition at line 89 of file G4SmoothTrajectory.hh.

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

Reimplemented from G4VTrajectory.

Definition at line 115 of file G4SmoothTrajectory.cc.

References G4VTrajectory::ShowTrajectory().

+ Here is the call graph for this function:

Member Data Documentation

G4int G4SmoothTrajectory::fParentID
private

Definition at line 129 of file G4SmoothTrajectory.hh.

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

G4int G4SmoothTrajectory::fTrackID
private

Definition at line 128 of file G4SmoothTrajectory.hh.

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

G4double G4SmoothTrajectory::initialKineticEnergy
private
G4ThreeVector G4SmoothTrajectory::initialMomentum
private

Definition at line 134 of file G4SmoothTrajectory.hh.

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

G4String G4SmoothTrajectory::ParticleName
private
G4double G4SmoothTrajectory::PDGCharge
private

Definition at line 131 of file G4SmoothTrajectory.hh.

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

G4int G4SmoothTrajectory::PDGEncoding
private

Definition at line 130 of file G4SmoothTrajectory.hh.

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

TrajectoryPointContainer* G4SmoothTrajectory::positionRecord
private

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