Geant4  10.02.p02
G4CoupledTransportation Class Reference

#include <G4CoupledTransportation.hh>

+ Inheritance diagram for G4CoupledTransportation:
+ Collaboration diagram for G4CoupledTransportation:

Public Member Functions

 G4CoupledTransportation (G4int verbosityLevel=0)
 
 ~G4CoupledTransportation ()
 
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 StartTracking (G4Track *aTrack)
 
void EndTracking ()
 
G4double AtRestGetPhysicalInteractionLength (const G4Track &, G4ForceCondition *)
 
G4VParticleChangeAtRestDoIt (const G4Track &, const G4Step &)
 
- 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 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 &)
 

Static Public Member Functions

static G4bool EnableUseMagneticMoment (G4bool useMoment=true)
 
- Static Public Member Functions inherited from G4VProcess
static const G4StringGetProcessTypeName (G4ProcessType)
 

Protected Member Functions

G4bool DoesGlobalFieldExist ()
 
void ReportInexactEnergy (G4double startEnergy, G4double endEnergy)
 
void ReportMove (G4ThreeVector OldVector, G4ThreeVector NewVector, const G4String &Quantity)
 
- Protected Member Functions inherited from G4VProcess
void SubtractNumberOfInteractionLengthLeft (G4double previousStepSize)
 
void ClearNumberOfInteractionLengthLeft ()
 

Private Attributes

G4NavigatorfMassNavigator
 
G4PathFinderfPathFinder
 
G4int fNavigatorId
 
G4PropagatorInFieldfFieldPropagator
 
G4bool fGlobalFieldExists
 
G4ThreeVector fTransportEndPosition
 
G4ThreeVector fTransportEndMomentumDir
 
G4double fTransportEndKineticEnergy
 
G4ThreeVector fTransportEndSpin
 
G4bool fMomentumChanged
 
G4bool fEndGlobalTimeComputed
 
G4double fCandidateEndGlobalTime
 
G4bool fParticleIsLooping
 
G4ThreeVector fPreviousSftOrigin
 
G4double fPreviousMassSafety
 
G4double fPreviousFullSafety
 
G4TouchableHandle fCurrentTouchableHandle
 
G4bool fMassGeometryLimitedStep
 
G4bool fAnyGeometryLimitedStep
 
G4ParticleChangeForTransport fParticleChange
 
G4double fEndpointDistance
 
G4double fThreshold_Warning_Energy
 
G4double fThreshold_Important_Energy
 
G4int fThresholdTrials
 
G4int fNoLooperTrials
 
G4double fSumEnergyKilled
 
G4double fMaxEnergyKilled
 
G4SafetyHelperfpSafetyHelper
 
G4int fVerboseLevel
 

Static Private Attributes

static G4bool fUseMagneticMoment =false
 

Friends

class G4Transportation
 

Additional Inherited Members

- 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 64 of file G4CoupledTransportation.hh.

Constructor & Destructor Documentation

G4CoupledTransportation::~G4CoupledTransportation ( )

Member Function Documentation

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

Implements G4VProcess.

Definition at line 143 of file G4CoupledTransportation.cc.

References CandidateForSelection, G4PathFinder::ComputeSafety(), G4PathFinder::ComputeStep(), G4FieldManager::ConfigureForTrack(), G4FieldManager::DoesFieldChangeEnergy(), fAnyGeometryLimitedStep, FatalException, fCandidateEndGlobalTime, fEndGlobalTimeComputed, fEndpointDistance, fFieldPropagator, G4PropagatorInField::FindAndSetFieldManager(), fMassGeometryLimitedStep, fMomentumChanged, fNavigatorId, fParticleChange, fParticleIsLooping, fPathFinder, fPreviousFullSafety, fPreviousMassSafety, fPreviousSftOrigin, fpSafetyHelper, fTransportEndKineticEnergy, fTransportEndMomentumDir, fTransportEndPosition, fTransportEndSpin, fUseMagneticMoment, fVerboseLevel, G4cerr, G4cout, G4endl, G4Exception(), G4ThreadLocal, G4DynamicParticle::GetCharge(), G4PropagatorInField::GetChordFinder(), G4PropagatorInField::GetCurrentFieldManager(), G4PathFinder::GetCurrentSafety(), G4Track::GetCurrentStepNumber(), G4DynamicParticle::GetDefinition(), G4FieldManager::GetDetectorField(), G4Track::GetDynamicParticle(), G4MagIntegratorStepper::GetEquationOfMotion(), G4Track::GetGlobalTime(), G4ChordFinder::GetIntegrationDriver(), G4FieldTrack::GetKineticEnergy(), G4Track::GetKineticEnergy(), G4FieldTrack::GetLabTimeOfFlight(), G4DynamicParticle::GetMagneticMoment(), G4DynamicParticle::GetMass(), G4FieldTrack::GetMomentumDir(), G4DynamicParticle::GetMomentumDirection(), G4Track::GetMomentumDirection(), G4VPhysicalVolume::GetName(), G4PathFinder::GetNumberGeometriesLimitingStep(), G4ParticleDefinition::GetPDGMagneticMoment(), G4ParticleDefinition::GetPDGSpin(), G4Track::GetPolarization(), G4FieldTrack::GetPosition(), G4Track::GetPosition(), G4FieldTrack::GetSpin(), G4MagInt_Driver::GetStepper(), G4DynamicParticle::GetTotalMomentum(), G4Track::GetVolume(), G4Field::IsGravityActive(), G4PropagatorInField::IsParticleLooping(), kSharedTransport, kUnique, G4INCL::Math::max(), G4INCL::Math::min(), G4PathFinder::ObtainSafety(), perMillion, perThousand, CLHEP::prec, G4VParticleChange::ProposeTrueStepLength(), ReportInexactEnergy(), G4EquationOfMotion::SetChargeMomentumMass(), G4SafetyHelper::SetCurrentSafety(), and sqr().

+ Here is the call graph for this function:

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

Implements G4VProcess.

Definition at line 141 of file G4CoupledTransportation.hh.

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

Implements G4VProcess.

Definition at line 135 of file G4CoupledTransportation.hh.

G4bool G4CoupledTransportation::DoesGlobalFieldExist ( )
protected

Referenced by StartTracking().

+ Here is the caller graph for this function:

G4bool G4CoupledTransportation::EnableUseMagneticMoment ( G4bool  useMoment = true)
static
void G4CoupledTransportation::EndTracking ( )
virtual

Reimplemented from G4VProcess.

Definition at line 959 of file G4CoupledTransportation.cc.

References G4PathFinder::EndTrack(), fPathFinder, G4TransportationManager::GetTransportationManager(), and G4TransportationManager::InactivateAll().

+ Here is the call graph for this function:

G4double G4CoupledTransportation::GetMaxEnergyKilled ( ) const
inline
G4PropagatorInField* G4CoupledTransportation::GetPropagatorInField ( )
G4double G4CoupledTransportation::GetSumEnergyKilled ( ) const
inline
G4double G4CoupledTransportation::GetThresholdImportantEnergy ( ) const
inline
G4int G4CoupledTransportation::GetThresholdTrials ( ) const
inline
G4double G4CoupledTransportation::GetThresholdWarningEnergy ( ) const
inline
G4int G4CoupledTransportation::GetVerboseLevel ( ) const
inline
G4double G4CoupledTransportation::PostStepGetPhysicalInteractionLength ( const G4Track ,
G4double  previousStepSize,
G4ForceCondition pForceCond 
)
virtual

Implements G4VProcess.

Definition at line 709 of file G4CoupledTransportation.cc.

References DBL_MAX, and Forced.

void G4CoupledTransportation::ReportInexactEnergy ( G4double  startEnergy,
G4double  endEnergy 
)
protected

Definition at line 967 of file G4CoupledTransportation.cc.

References fVerboseLevel, G4cerr, G4cout, G4endl, G4ThreadLocal, MeV, and perThousand.

Referenced by AlongStepGetPhysicalInteractionLength().

+ Here is the caller graph for this function:

void G4CoupledTransportation::ReportMove ( G4ThreeVector  OldVector,
G4ThreeVector  NewVector,
const G4String Quantity 
)
protected

Definition at line 719 of file G4CoupledTransportation.cc.

References G4cerr, G4endl, and mm.

Referenced by PostStepDoIt().

+ Here is the caller graph for this function:

void G4CoupledTransportation::ResetKilledStatistics ( G4int  report = 1)
inline
void G4CoupledTransportation::SetPropagatorInField ( G4PropagatorInField pFieldPropagator)
void G4CoupledTransportation::SetThresholdImportantEnergy ( G4double  newEnImp)
inline
void G4CoupledTransportation::SetThresholdTrials ( G4int  newMaxTrials)
inline
void G4CoupledTransportation::SetThresholdWarningEnergy ( G4double  newEnWarn)
inline
void G4CoupledTransportation::SetVerboseLevel ( G4int  verboseLevel)
inline

Friends And Related Function Documentation

friend class G4Transportation
friend

Definition at line 231 of file G4CoupledTransportation.hh.

Member Data Documentation

G4bool G4CoupledTransportation::fAnyGeometryLimitedStep
private
G4double G4CoupledTransportation::fCandidateEndGlobalTime
private
G4TouchableHandle G4CoupledTransportation::fCurrentTouchableHandle
private
G4bool G4CoupledTransportation::fEndGlobalTimeComputed
private
G4double G4CoupledTransportation::fEndpointDistance
private

Definition at line 204 of file G4CoupledTransportation.hh.

Referenced by AlongStepGetPhysicalInteractionLength().

G4PropagatorInField* G4CoupledTransportation::fFieldPropagator
private
G4bool G4CoupledTransportation::fGlobalFieldExists
private

Definition at line 169 of file G4CoupledTransportation.hh.

Referenced by G4CoupledTransportation(), and StartTracking().

G4bool G4CoupledTransportation::fMassGeometryLimitedStep
private

Definition at line 196 of file G4CoupledTransportation.hh.

Referenced by AlongStepGetPhysicalInteractionLength().

G4Navigator* G4CoupledTransportation::fMassNavigator
private

Definition at line 160 of file G4CoupledTransportation.hh.

Referenced by G4CoupledTransportation(), and StartTracking().

G4double G4CoupledTransportation::fMaxEnergyKilled
private

Definition at line 220 of file G4CoupledTransportation.hh.

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

G4bool G4CoupledTransportation::fMomentumChanged
private
G4int G4CoupledTransportation::fNavigatorId
private
G4int G4CoupledTransportation::fNoLooperTrials
private

Definition at line 217 of file G4CoupledTransportation.hh.

Referenced by AlongStepDoIt(), and StartTracking().

G4ParticleChangeForTransport G4CoupledTransportation::fParticleChange
private
G4bool G4CoupledTransportation::fParticleIsLooping
private
G4PathFinder* G4CoupledTransportation::fPathFinder
private
G4double G4CoupledTransportation::fPreviousFullSafety
private
G4double G4CoupledTransportation::fPreviousMassSafety
private
G4ThreeVector G4CoupledTransportation::fPreviousSftOrigin
private
G4SafetyHelper* G4CoupledTransportation::fpSafetyHelper
private
G4double G4CoupledTransportation::fSumEnergyKilled
private

Definition at line 219 of file G4CoupledTransportation.hh.

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

G4double G4CoupledTransportation::fThreshold_Important_Energy
private

Definition at line 210 of file G4CoupledTransportation.hh.

Referenced by AlongStepDoIt().

G4double G4CoupledTransportation::fThreshold_Warning_Energy
private

Definition at line 209 of file G4CoupledTransportation.hh.

Referenced by AlongStepDoIt().

G4int G4CoupledTransportation::fThresholdTrials
private

Definition at line 211 of file G4CoupledTransportation.hh.

Referenced by AlongStepDoIt().

G4double G4CoupledTransportation::fTransportEndKineticEnergy
private
G4ThreeVector G4CoupledTransportation::fTransportEndMomentumDir
private
G4ThreeVector G4CoupledTransportation::fTransportEndPosition
private
G4ThreeVector G4CoupledTransportation::fTransportEndSpin
private
G4bool G4CoupledTransportation::fUseMagneticMoment =false
staticprivate

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