Geant4  10.00.p01
G4Transportation Class Reference

#include <G4Transportation.hh>

+ Inheritance diagram for G4Transportation:
+ Collaboration diagram for G4Transportation:

Public Member Functions

 G4Transportation (G4int verbosityLevel=1)
 
 ~G4Transportation ()
 
G4double AlongStepGetPhysicalInteractionLength (const G4Track &track, G4double previousStepSize, G4double currentMinimumStep, G4double &currentSafety, G4GPILSelection *selection)
 
G4VParticleChangeAlongStepDoIt (const G4Track &track, const G4Step &stepData)
 
G4VParticleChangePostStepDoIt (const G4Track &track, const G4Step &stepData)
 
G4double PostStepGetPhysicalInteractionLength (const G4Track &, G4double previousStepSize, G4ForceCondition *pForceCond)
 
G4PropagatorInFieldGetPropagatorInField ()
 
void SetPropagatorInField (G4PropagatorInField *pFieldPropagator)
 
void SetVerboseLevel (G4int verboseLevel)
 
G4int GetVerboseLevel () const
 
G4double GetThresholdWarningEnergy () const
 
G4double GetThresholdImportantEnergy () const
 
G4int GetThresholdTrials () const
 
void SetThresholdWarningEnergy (G4double newEnWarn)
 
void SetThresholdImportantEnergy (G4double newEnImp)
 
void SetThresholdTrials (G4int newMaxTrials)
 
G4double GetMaxEnergyKilled () const
 
G4double GetSumEnergyKilled () const
 
void ResetKilledStatistics (G4int report=1)
 
void EnableShortStepOptimisation (G4bool optimise=true)
 
G4bool EnableUseMagneticMoment (G4bool useMoment=true)
 
G4double AtRestGetPhysicalInteractionLength (const G4Track &, G4ForceCondition *)
 
G4VParticleChangeAtRestDoIt (const G4Track &, const G4Step &)
 
void StartTracking (G4Track *aTrack)
 
- Public Member Functions inherited from G4VProcess
 G4VProcess (const G4String &aName="NoName", G4ProcessType aType=fNotDefined)
 
 G4VProcess (const G4VProcess &right)
 
virtual ~G4VProcess ()
 
G4int operator== (const G4VProcess &right) const
 
G4int operator!= (const G4VProcess &right) const
 
G4double GetCurrentInteractionLength () const
 
void SetPILfactor (G4double value)
 
G4double GetPILfactor () const
 
G4double AlongStepGPIL (const G4Track &track, G4double previousStepSize, G4double currentMinimumStep, G4double &proposedSafety, G4GPILSelection *selection)
 
G4double AtRestGPIL (const G4Track &track, G4ForceCondition *condition)
 
G4double PostStepGPIL (const G4Track &track, G4double previousStepSize, G4ForceCondition *condition)
 
virtual G4bool IsApplicable (const G4ParticleDefinition &)
 
virtual void BuildPhysicsTable (const G4ParticleDefinition &)
 
virtual void PreparePhysicsTable (const G4ParticleDefinition &)
 
virtual G4bool StorePhysicsTable (const G4ParticleDefinition *, const G4String &, G4bool)
 
virtual G4bool RetrievePhysicsTable (const G4ParticleDefinition *, const G4String &, G4bool)
 
const G4StringGetPhysicsTableFileName (const G4ParticleDefinition *, const G4String &directory, const G4String &tableName, G4bool ascii=false)
 
const G4StringGetProcessName () const
 
G4ProcessType GetProcessType () const
 
void SetProcessType (G4ProcessType)
 
G4int GetProcessSubType () const
 
void SetProcessSubType (G4int)
 
virtual void EndTracking ()
 
virtual void SetProcessManager (const G4ProcessManager *)
 
virtual const G4ProcessManagerGetProcessManager ()
 
virtual void ResetNumberOfInteractionLengthLeft ()
 
G4double GetNumberOfInteractionLengthLeft () const
 
G4double GetTotalNumberOfInteractionLengthTraversed () const
 
G4bool isAtRestDoItIsEnabled () const
 
G4bool isAlongStepDoItIsEnabled () const
 
G4bool isPostStepDoItIsEnabled () const
 
virtual void DumpInfo () const
 
void SetVerboseLevel (G4int value)
 
G4int GetVerboseLevel () const
 
virtual void SetMasterProcess (G4VProcess *masterP)
 
const G4VProcessGetMasterProcess () const
 
virtual void BuildWorkerPhysicsTable (const G4ParticleDefinition &part)
 
virtual void PrepareWorkerPhysicsTable (const G4ParticleDefinition &)
 

Protected Member Functions

G4bool DoesGlobalFieldExist ()
 
- Protected Member Functions inherited from G4VProcess
void SubtractNumberOfInteractionLengthLeft (G4double previousStepSize)
 
void ClearNumberOfInteractionLengthLeft ()
 

Private Attributes

G4NavigatorfLinearNavigator
 
G4PropagatorInFieldfFieldPropagator
 
G4ThreeVector fTransportEndPosition
 
G4ThreeVector fTransportEndMomentumDir
 
G4double fTransportEndKineticEnergy
 
G4ThreeVector fTransportEndSpin
 
G4bool fMomentumChanged
 
G4bool fEndGlobalTimeComputed
 
G4double fCandidateEndGlobalTime
 
G4bool fParticleIsLooping
 
G4TouchableHandle fCurrentTouchableHandle
 
G4bool fGeometryLimitedStep
 
G4ThreeVector fPreviousSftOrigin
 
G4double fPreviousSafety
 
G4ParticleChangeForTransport fParticleChange
 
G4double fEndPointDistance
 
G4double fThreshold_Warning_Energy
 
G4double fThreshold_Important_Energy
 
G4int fThresholdTrials
 
G4int fNoLooperTrials
 
G4double fSumEnergyKilled
 
G4double fMaxEnergyKilled
 
G4bool fShortStepOptimisation
 
G4bool fUseMagneticMoment
 
G4SafetyHelperfpSafetyHelper
 
G4int fVerboseLevel
 

Additional Inherited Members

- Static Public Member Functions inherited from G4VProcess
static const G4StringGetProcessTypeName (G4ProcessType)
 
- Protected Attributes inherited from G4VProcess
const G4ProcessManageraProcessManager
 
G4VParticleChangepParticleChange
 
G4ParticleChange aParticleChange
 
G4double theNumberOfInteractionLengthLeft
 
G4double currentInteractionLength
 
G4double theInitialNumberOfInteractionLength
 
G4String theProcessName
 
G4String thePhysicsTableFileName
 
G4ProcessType theProcessType
 
G4int theProcessSubType
 
G4double thePILfactor
 
G4bool enableAtRestDoIt
 
G4bool enableAlongStepDoIt
 
G4bool enablePostStepDoIt
 
G4int verboseLevel
 

Detailed Description

Definition at line 58 of file G4Transportation.hh.

Constructor & Destructor Documentation

G4Transportation::G4Transportation ( G4int  verbosityLevel = 1)
G4Transportation::~G4Transportation ( )

Definition at line 137 of file G4Transportation.cc.

References fMaxEnergyKilled, fSumEnergyKilled, fVerboseLevel, G4cout, and G4endl.

Member Function Documentation

G4VParticleChange * G4Transportation::AlongStepDoIt ( const G4Track track,
const G4Step stepData 
)
virtual
G4double G4Transportation::AlongStepGetPhysicalInteractionLength ( const G4Track track,
G4double  previousStepSize,
G4double  currentMinimumStep,
G4double currentSafety,
G4GPILSelection selection 
)
virtual

Implements G4VProcess.

Definition at line 155 of file G4Transportation.cc.

References CandidateForSelection, G4Navigator::ComputeSafety(), G4PropagatorInField::ComputeStep(), G4Navigator::ComputeStep(), G4FieldManager::ConfigureForTrack(), G4FieldManager::DoesFieldChangeEnergy(), fCandidateEndGlobalTime, fEndGlobalTimeComputed, fEndPointDistance, fFieldPropagator, fGeometryLimitedStep, G4PropagatorInField::FindAndSetFieldManager(), fLinearNavigator, fMomentumChanged, fParticleChange, fParticleIsLooping, fPreviousSafety, fPreviousSftOrigin, fpSafetyHelper, fShortStepOptimisation, fTransportEndKineticEnergy, fTransportEndMomentumDir, fTransportEndPosition, fTransportEndSpin, fUseMagneticMoment, fVerboseLevel, G4cerr, G4cout, G4endl, G4ThreadLocal, G4DynamicParticle::GetCharge(), G4PropagatorInField::GetChordFinder(), G4PropagatorInField::GetCurrentFieldManager(), G4DynamicParticle::GetDefinition(), G4FieldManager::GetDetectorField(), G4Track::GetDynamicParticle(), G4Track::GetGlobalTime(), G4ChordFinder::GetIntegrationDriver(), G4FieldTrack::GetKineticEnergy(), G4Track::GetKineticEnergy(), G4FieldTrack::GetLabTimeOfFlight(), G4DynamicParticle::GetMagneticMoment(), G4FieldTrack::GetMomentumDir(), G4DynamicParticle::GetMomentumDirection(), G4Track::GetMomentumDirection(), G4ParticleDefinition::GetPDGMass(), G4ParticleDefinition::GetPDGSpin(), G4Track::GetPolarization(), G4FieldTrack::GetPosition(), G4Track::GetPosition(), G4Track::GetProperTime(), G4FieldTrack::GetSpin(), G4MagInt_Driver::GetStepper(), G4DynamicParticle::GetTotalMomentum(), G4Track::GetVelocity(), G4Track::GetVolume(), G4Field::IsGravityActive(), G4PropagatorInField::IsParticleLooping(), MeV, perMillion, perThousand, G4VParticleChange::ProposeTrueStepLength(), G4EquationOfMotion::SetChargeMomentumMass(), G4SafetyHelper::SetCurrentSafety(), sqr(), and startPosition.

+ Here is the call graph for this function:

G4VParticleChange* G4Transportation::AtRestDoIt ( const G4Track ,
const G4Step  
)
inlinevirtual

Implements G4VProcess.

Definition at line 135 of file G4Transportation.hh.

G4double G4Transportation::AtRestGetPhysicalInteractionLength ( const G4Track ,
G4ForceCondition  
)
inlinevirtual

Implements G4VProcess.

Definition at line 129 of file G4Transportation.hh.

G4bool G4Transportation::DoesGlobalFieldExist ( )
protected

Referenced by StartTracking().

+ Here is the caller graph for this function:

void G4Transportation::EnableShortStepOptimisation ( G4bool  optimise = true)
inline
G4bool G4Transportation::EnableUseMagneticMoment ( G4bool  useMoment = true)
inline
G4double G4Transportation::GetMaxEnergyKilled ( ) const
inline
G4PropagatorInField* G4Transportation::GetPropagatorInField ( )
G4double G4Transportation::GetSumEnergyKilled ( ) const
inline
G4double G4Transportation::GetThresholdImportantEnergy ( ) const
inline
G4int G4Transportation::GetThresholdTrials ( ) const
inline
G4double G4Transportation::GetThresholdWarningEnergy ( ) const
inline
G4int G4Transportation::GetVerboseLevel ( ) const
inline
G4double G4Transportation::PostStepGetPhysicalInteractionLength ( const G4Track ,
G4double  previousStepSize,
G4ForceCondition pForceCond 
)
virtual

Implements G4VProcess.

Definition at line 629 of file G4Transportation.cc.

References DBL_MAX, and Forced.

void G4Transportation::ResetKilledStatistics ( G4int  report = 1)
inline
void G4Transportation::SetPropagatorInField ( G4PropagatorInField pFieldPropagator)
void G4Transportation::SetThresholdImportantEnergy ( G4double  newEnImp)
inline
void G4Transportation::SetThresholdTrials ( G4int  newMaxTrials)
inline
void G4Transportation::SetThresholdWarningEnergy ( G4double  newEnWarn)
inline
void G4Transportation::SetVerboseLevel ( G4int  verboseLevel)
inline
void G4Transportation::StartTracking ( G4Track aTrack)
virtual

Reimplemented from G4VProcess.

Definition at line 769 of file G4Transportation.cc.

References G4FieldManagerStore::ClearAllChordFindersState(), G4PropagatorInField::ClearPropagatorState(), DoesGlobalFieldExist(), fCurrentTouchableHandle, fFieldPropagator, fNoLooperTrials, fPreviousSafety, fPreviousSftOrigin, G4FieldManagerStore::GetInstance(), G4Track::GetTouchableHandle(), and G4VProcess::StartTracking().

+ Here is the call graph for this function:

Member Data Documentation

G4double G4Transportation::fCandidateEndGlobalTime
private

Definition at line 164 of file G4Transportation.hh.

Referenced by AlongStepDoIt(), and AlongStepGetPhysicalInteractionLength().

G4TouchableHandle G4Transportation::fCurrentTouchableHandle
private

Definition at line 169 of file G4Transportation.hh.

Referenced by G4Transportation(), PostStepDoIt(), and StartTracking().

G4bool G4Transportation::fEndGlobalTimeComputed
private

Definition at line 163 of file G4Transportation.hh.

Referenced by AlongStepDoIt(), and AlongStepGetPhysicalInteractionLength().

G4double G4Transportation::fEndPointDistance
private

Definition at line 186 of file G4Transportation.hh.

Referenced by AlongStepGetPhysicalInteractionLength().

G4PropagatorInField* G4Transportation::fFieldPropagator
private
G4bool G4Transportation::fGeometryLimitedStep
private

Definition at line 176 of file G4Transportation.hh.

Referenced by AlongStepGetPhysicalInteractionLength(), and PostStepDoIt().

G4Navigator* G4Transportation::fLinearNavigator
private
G4double G4Transportation::fMaxEnergyKilled
private

Definition at line 201 of file G4Transportation.hh.

Referenced by AlongStepDoIt(), and ~G4Transportation().

G4bool G4Transportation::fMomentumChanged
private

Definition at line 162 of file G4Transportation.hh.

Referenced by AlongStepDoIt(), and AlongStepGetPhysicalInteractionLength().

G4int G4Transportation::fNoLooperTrials
private

Definition at line 198 of file G4Transportation.hh.

Referenced by AlongStepDoIt(), and StartTracking().

G4ParticleChangeForTransport G4Transportation::fParticleChange
private
G4bool G4Transportation::fParticleIsLooping
private

Definition at line 167 of file G4Transportation.hh.

Referenced by AlongStepDoIt(), and AlongStepGetPhysicalInteractionLength().

G4double G4Transportation::fPreviousSafety
private

Definition at line 180 of file G4Transportation.hh.

Referenced by AlongStepGetPhysicalInteractionLength(), and StartTracking().

G4ThreeVector G4Transportation::fPreviousSftOrigin
private

Definition at line 179 of file G4Transportation.hh.

Referenced by AlongStepGetPhysicalInteractionLength(), and StartTracking().

G4SafetyHelper* G4Transportation::fpSafetyHelper
private

Definition at line 210 of file G4Transportation.hh.

Referenced by AlongStepGetPhysicalInteractionLength(), and G4Transportation().

G4bool G4Transportation::fShortStepOptimisation
private

Definition at line 205 of file G4Transportation.hh.

Referenced by AlongStepGetPhysicalInteractionLength(), and G4Transportation().

G4double G4Transportation::fSumEnergyKilled
private

Definition at line 200 of file G4Transportation.hh.

Referenced by AlongStepDoIt(), and ~G4Transportation().

G4double G4Transportation::fThreshold_Important_Energy
private

Definition at line 191 of file G4Transportation.hh.

Referenced by AlongStepDoIt().

G4double G4Transportation::fThreshold_Warning_Energy
private

Definition at line 190 of file G4Transportation.hh.

Referenced by AlongStepDoIt().

G4int G4Transportation::fThresholdTrials
private

Definition at line 192 of file G4Transportation.hh.

Referenced by AlongStepDoIt().

G4double G4Transportation::fTransportEndKineticEnergy
private

Definition at line 160 of file G4Transportation.hh.

Referenced by AlongStepDoIt(), and AlongStepGetPhysicalInteractionLength().

G4ThreeVector G4Transportation::fTransportEndMomentumDir
private

Definition at line 159 of file G4Transportation.hh.

Referenced by AlongStepDoIt(), and AlongStepGetPhysicalInteractionLength().

G4ThreeVector G4Transportation::fTransportEndPosition
private

Definition at line 158 of file G4Transportation.hh.

Referenced by AlongStepDoIt(), and AlongStepGetPhysicalInteractionLength().

G4ThreeVector G4Transportation::fTransportEndSpin
private

Definition at line 161 of file G4Transportation.hh.

Referenced by AlongStepDoIt(), and AlongStepGetPhysicalInteractionLength().

G4bool G4Transportation::fUseMagneticMoment
private

Definition at line 208 of file G4Transportation.hh.

Referenced by AlongStepGetPhysicalInteractionLength().

G4int G4Transportation::fVerboseLevel
private

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