slic::Trajectory Class Reference

#include <Trajectory.hh>

List of all members.


Detailed Description

Implementation of G4VTrajectory.

Definition at line 22 of file Trajectory.hh.


Public Types

enum  EFinalStatus {
  eUnset = 0, eDecayedInTracker = 1, eLeftDetector = 2, eStopped = 3,
  eDecayedInCalorimeter = 4
}

Public Member Functions

 Trajectory ()
 Trajectory (const G4Track *aTrack)
 Trajectory (Trajectory &)
virtual ~Trajectory ()
virtual void DrawTrajectory (G4int i_mode) const
const std::string & getFinalStatusString () const
void * operator new (size_t)
void operator delete (void *)
int operator== (const Trajectory &right) const
G4int GetTrackID () const
G4int GetParentID () const
G4String GetParticleName () const
G4double GetCharge () const
G4int GetPDGEncoding () const
G4ThreeVector GetInitialMomentum () const
const G4ParticleDefinition * GetParticleDefinition ()
G4double GetGlobalTime ()
G4bool getHasEndpointDaughters () const
void setHasEndpointDaughters (G4bool d)
G4bool getBackscatter () const
void setBackscatter (G4bool b)
G4bool getVertexIsNotEndpointOfParent () const
void setVertexIsNotEndpointOfParent (G4bool=true)
void setFinalStatus (EFinalStatus fstatus)
EFinalStatus getFinalStatus () const
void setCreatedInSimulation (G4bool c)
G4bool getCreatedInSimulation () const
void setupManuallyFromTrack (const G4Track *aTrack)
void setEndpointEnergy (G4double e)
G4double getEndPointEnergy ()
virtual void AppendStep (const G4Step *aStep)
virtual void MergeTrajectory (G4VTrajectory *secondTrajectory)
virtual G4int GetPointEntries () const
virtual G4VTrajectoryPoint * GetPoint (G4int i) const

Static Public Member Functions

static const std::string & getFinalStatusString (EFinalStatus fs)

Private Attributes

G4ParticleDefinition * m_particleDefinition
G4String m_particleName
G4double m_PDGCharge
G4int m_PDGEncoding
G4int m_trackID
G4int m_parentID
TrajectoryPointContainerm_posRecord
G4ThreeVector m_initialMomentum
G4double m_globalTime
G4double m_endpointEnergy
G4bool m_createdInSimulation
G4bool m_hasEndpointDaughters
G4bool m_backscatter
G4bool m_vertexIsNotEndpointOfParent
EFinalStatus m_finalStatus

Member Enumeration Documentation

enum slic::Trajectory::EFinalStatus

Enumerator:
eUnset 
eDecayedInTracker 
eLeftDetector 
eStopped 
eDecayedInCalorimeter 

Definition at line 26 of file Trajectory.hh.


Constructor & Destructor Documentation

slic::Trajectory::Trajectory (  ) 

Definition at line 15 of file Trajectory.cc.

slic::Trajectory::Trajectory ( const G4Track *  aTrack  ) 

Definition at line 32 of file Trajectory.cc.

References m_backscatter, m_createdInSimulation, m_globalTime, m_hasEndpointDaughters, m_initialMomentum, m_parentID, m_particleDefinition, m_particleName, m_PDGCharge, m_PDGEncoding, m_posRecord, m_trackID, and m_vertexIsNotEndpointOfParent.

slic::Trajectory::Trajectory ( Trajectory right  ) 

Definition at line 76 of file Trajectory.cc.

References m_globalTime, m_parentID, m_particleDefinition, m_particleName, m_PDGCharge, m_PDGEncoding, m_posRecord, and m_trackID.

slic::Trajectory::~Trajectory (  )  [virtual]

Definition at line 96 of file Trajectory.cc.

References m_posRecord.


Member Function Documentation

virtual void slic::Trajectory::DrawTrajectory ( G4int  i_mode  )  const [inline, virtual]

Definition at line 49 of file Trajectory.hh.

const std::string & slic::Trajectory::getFinalStatusString ( EFinalStatus  fs  )  [static]

Definition at line 126 of file Trajectory.cc.

References eDecayedInCalorimeter, eDecayedInTracker, eLeftDetector, eStopped, and eUnset.

Referenced by slic::TrajectoryManager::printTrajectory().

const std::string& slic::Trajectory::getFinalStatusString (  )  const [inline]

Definition at line 58 of file Trajectory.hh.

References m_finalStatus.

void * slic::Trajectory::operator new ( size_t   )  [inline]

Definition at line 215 of file Trajectory.hh.

References slic::TrajectoryAllocator.

void slic::Trajectory::operator delete ( void *  aTrajectory  )  [inline]

Definition at line 222 of file Trajectory.hh.

References slic::TrajectoryAllocator.

int slic::Trajectory::operator== ( const Trajectory right  )  const [inline]

Definition at line 69 of file Trajectory.hh.

G4int slic::Trajectory::GetTrackID (  )  const [inline]

Definition at line 74 of file Trajectory.hh.

References m_trackID.

Referenced by slic::TrajectoryManager::addTrackIDToTrajectoryLink(), slic::LcioMcpFactory::createFinalMcpCollectionFromTrajectoryContainer(), slic::LcioMcpFactory::createMcpFromInitialAndTrajectory(), slic::LcioMcpFactory::createMcpFromTrajectory(), slic::LcioMcpMaps::findPrimaryInitialMcpFromTrajectory(), and slic::TrajectoryManager::printTrajectory().

G4int slic::Trajectory::GetParentID (  )  const [inline]

Definition at line 79 of file Trajectory.hh.

References m_parentID.

Referenced by slic::LcioMcpFactory::createFinalMcpCollectionFromTrajectoryContainer(), and slic::LcioMcpFactory::createMcpFromInitialAndTrajectory().

G4String slic::Trajectory::GetParticleName (  )  const [inline]

Definition at line 84 of file Trajectory.hh.

References m_particleName.

G4double slic::Trajectory::GetCharge (  )  const [inline]

Definition at line 89 of file Trajectory.hh.

References m_PDGCharge.

Referenced by slic::LcioMcpFactory::createMcpFromTrajectory().

G4int slic::Trajectory::GetPDGEncoding (  )  const [inline]

Definition at line 94 of file Trajectory.hh.

References m_PDGEncoding.

Referenced by slic::LcioMcpFactory::createMcpFromTrajectory().

G4ThreeVector slic::Trajectory::GetInitialMomentum (  )  const [inline]

Definition at line 99 of file Trajectory.hh.

References m_initialMomentum.

Referenced by slic::LcioMcpFactory::createMcpFromTrajectory().

const G4ParticleDefinition* slic::Trajectory::GetParticleDefinition (  )  [inline]

Definition at line 104 of file Trajectory.hh.

References m_particleDefinition.

Referenced by slic::LcioMcpFactory::createMcpFromTrajectory().

G4double slic::Trajectory::GetGlobalTime (  )  [inline]

Definition at line 109 of file Trajectory.hh.

References m_globalTime.

Referenced by slic::LcioMcpFactory::createMcpFromTrajectory().

G4bool slic::Trajectory::getHasEndpointDaughters (  )  const [inline]

Definition at line 115 of file Trajectory.hh.

References m_hasEndpointDaughters.

Referenced by slic::TrajectoryManager::printTrajectory().

void slic::Trajectory::setHasEndpointDaughters ( G4bool  d  )  [inline]

Definition at line 120 of file Trajectory.hh.

References m_hasEndpointDaughters.

Referenced by slic::TrajectoryManager::setTrajectoryFinalStatus().

G4bool slic::Trajectory::getBackscatter (  )  const [inline]

Definition at line 126 of file Trajectory.hh.

References m_backscatter.

Referenced by slic::TrajectoryManager::printTrajectory(), and slic::LcioMcpStatusSetter::setBackscatterFlag().

void slic::Trajectory::setBackscatter ( G4bool  b  )  [inline]

Definition at line 131 of file Trajectory.hh.

References m_backscatter.

Referenced by slic::TrajectoryManager::setTrajectoryFinalStatus().

G4bool slic::Trajectory::getVertexIsNotEndpointOfParent (  )  const [inline]

Definition at line 137 of file Trajectory.hh.

References m_vertexIsNotEndpointOfParent.

Referenced by slic::TrajectoryManager::printTrajectory().

void slic::Trajectory::setVertexIsNotEndpointOfParent ( G4bool  = true  )  [inline]

Definition at line 142 of file Trajectory.hh.

References m_vertexIsNotEndpointOfParent.

Referenced by slic::TrajectoryManager::setTrajectoryFinalStatus().

void slic::Trajectory::setFinalStatus ( EFinalStatus  fstatus  )  [inline]

Definition at line 148 of file Trajectory.hh.

References m_finalStatus.

Referenced by slic::TrajectoryManager::setTrajectoryFinalStatus().

EFinalStatus slic::Trajectory::getFinalStatus (  )  const [inline]

Definition at line 153 of file Trajectory.hh.

References m_finalStatus.

Referenced by slic::LcioMcpStatusSetter::setFinalStatusFlags().

void slic::Trajectory::setCreatedInSimulation ( G4bool  c  )  [inline]

Definition at line 159 of file Trajectory.hh.

References m_createdInSimulation.

Referenced by slic::TrajectoryManager::createSecondaryTrajectory().

G4bool slic::Trajectory::getCreatedInSimulation (  )  const [inline]

Definition at line 164 of file Trajectory.hh.

References m_createdInSimulation.

Referenced by slic::TrajectoryManager::printTrajectory(), and slic::LcioMcpStatusSetter::setCreatedInSimulationFlag().

void slic::Trajectory::setupManuallyFromTrack ( const G4Track *  aTrack  ) 

Definition at line 54 of file Trajectory.cc.

References m_globalTime, m_initialMomentum, m_parentID, m_particleDefinition, and m_posRecord.

Referenced by slic::TrajectoryManager::postTracking().

void slic::Trajectory::setEndpointEnergy ( G4double  e  )  [inline]

Definition at line 172 of file Trajectory.hh.

References m_endpointEnergy.

Referenced by slic::TrajectoryManager::postTracking().

G4double slic::Trajectory::getEndPointEnergy (  )  [inline]

Definition at line 177 of file Trajectory.hh.

References m_endpointEnergy.

void slic::Trajectory::AppendStep ( const G4Step *  aStep  )  [virtual]

Definition at line 107 of file Trajectory.cc.

References m_posRecord.

void slic::Trajectory::MergeTrajectory ( G4VTrajectory *  secondTrajectory  )  [virtual]

Definition at line 112 of file Trajectory.cc.

References GetPointEntries(), and m_posRecord.

virtual G4int slic::Trajectory::GetPointEntries (  )  const [inline, virtual]

Definition at line 186 of file Trajectory.hh.

References m_posRecord.

Referenced by slic::LcioMcpFactory::createMcpFromTrajectory(), slic::TrajectoryManager::getTrajectoryEndpoint(), slic::TrajectoryManager::getTrajectoryPointPosition(), MergeTrajectory(), and slic::TrajectoryManager::printTrajectory().

virtual G4VTrajectoryPoint* slic::Trajectory::GetPoint ( G4int  i  )  const [inline, virtual]

Definition at line 187 of file Trajectory.hh.

References m_posRecord.

Referenced by slic::LcioMcpFactory::createMcpFromTrajectory(), slic::TrajectoryManager::getTrajectoryPointPosition(), and slic::TrajectoryManager::printTrajectory().


Member Data Documentation

G4ParticleDefinition* slic::Trajectory::m_particleDefinition [private]

Definition at line 192 of file Trajectory.hh.

Referenced by GetParticleDefinition(), setupManuallyFromTrack(), and Trajectory().

G4String slic::Trajectory::m_particleName [private]

Definition at line 193 of file Trajectory.hh.

Referenced by GetParticleName(), and Trajectory().

G4double slic::Trajectory::m_PDGCharge [private]

Definition at line 194 of file Trajectory.hh.

Referenced by GetCharge(), and Trajectory().

G4int slic::Trajectory::m_PDGEncoding [private]

Definition at line 195 of file Trajectory.hh.

Referenced by GetPDGEncoding(), and Trajectory().

G4int slic::Trajectory::m_trackID [private]

Definition at line 196 of file Trajectory.hh.

Referenced by GetTrackID(), and Trajectory().

G4int slic::Trajectory::m_parentID [private]

Definition at line 197 of file Trajectory.hh.

Referenced by GetParentID(), setupManuallyFromTrack(), and Trajectory().

TrajectoryPointContainer* slic::Trajectory::m_posRecord [private]

Definition at line 198 of file Trajectory.hh.

Referenced by AppendStep(), GetPoint(), GetPointEntries(), MergeTrajectory(), setupManuallyFromTrack(), Trajectory(), and ~Trajectory().

G4ThreeVector slic::Trajectory::m_initialMomentum [private]

Definition at line 199 of file Trajectory.hh.

Referenced by GetInitialMomentum(), setupManuallyFromTrack(), and Trajectory().

G4double slic::Trajectory::m_globalTime [private]

Definition at line 200 of file Trajectory.hh.

Referenced by GetGlobalTime(), setupManuallyFromTrack(), and Trajectory().

G4double slic::Trajectory::m_endpointEnergy [private]

Definition at line 201 of file Trajectory.hh.

Referenced by getEndPointEnergy(), and setEndpointEnergy().

G4bool slic::Trajectory::m_createdInSimulation [private]

Definition at line 204 of file Trajectory.hh.

Referenced by getCreatedInSimulation(), setCreatedInSimulation(), and Trajectory().

G4bool slic::Trajectory::m_hasEndpointDaughters [private]

Definition at line 205 of file Trajectory.hh.

Referenced by getHasEndpointDaughters(), setHasEndpointDaughters(), and Trajectory().

G4bool slic::Trajectory::m_backscatter [private]

Definition at line 206 of file Trajectory.hh.

Referenced by getBackscatter(), setBackscatter(), and Trajectory().

G4bool slic::Trajectory::m_vertexIsNotEndpointOfParent [private]

Definition at line 207 of file Trajectory.hh.

Referenced by getVertexIsNotEndpointOfParent(), setVertexIsNotEndpointOfParent(), and Trajectory().

EFinalStatus slic::Trajectory::m_finalStatus [private]

Definition at line 210 of file Trajectory.hh.

Referenced by getFinalStatus(), getFinalStatusString(), and setFinalStatus().


The documentation for this class was generated from the following files:
Generated on Thu Nov 15 15:24:44 2007 for Simulator for the Linear Collider by  doxygen 1.5.4