Geant4  10.01.p03
G4ContinuousGainOfEnergy Class Reference

#include <G4ContinuousGainOfEnergy.hh>

+ Inheritance diagram for G4ContinuousGainOfEnergy:
+ Collaboration diagram for G4ContinuousGainOfEnergy:

Public Member Functions

 G4ContinuousGainOfEnergy (const G4String &name="EnergyGain", G4ProcessType type=fElectromagnetic)
 
virtual ~G4ContinuousGainOfEnergy ()
 
void PreparePhysicsTable (const G4ParticleDefinition &)
 
void BuildPhysicsTable (const G4ParticleDefinition &)
 
G4VParticleChangeAlongStepDoIt (const G4Track &, const G4Step &)
 
void SetLossFluctuations (G4bool val)
 
void SetIsIntegral (G4bool val)
 
void SetDirectEnergyLossProcess (G4VEnergyLossProcess *aProcess)
 
void SetDirectParticle (G4ParticleDefinition *p)
 
- Public Member Functions inherited from G4VContinuousProcess
 G4VContinuousProcess (const G4String &, G4ProcessType aType=fNotDefined)
 
 G4VContinuousProcess (G4VContinuousProcess &)
 
virtual ~G4VContinuousProcess ()
 
virtual G4double AlongStepGetPhysicalInteractionLength (const G4Track &track, G4double previousStepSize, G4double currentMinimumStep, G4double &proposedSafety, G4GPILSelection *selection)
 
virtual G4double PostStepGetPhysicalInteractionLength (const G4Track &, G4double, G4ForceCondition *)
 
virtual G4double AtRestGetPhysicalInteractionLength (const G4Track &, G4ForceCondition *)
 
virtual G4VParticleChangeAtRestDoIt (const G4Track &, const G4Step &)
 
virtual G4VParticleChangePostStepDoIt (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 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 StartTracking (G4Track *)
 
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

virtual G4double GetContinuousStepLimit (const G4Track &track, G4double previousStepSize, G4double currentMinimumStep, G4double &currentSafety)
 
- Protected Member Functions inherited from G4VContinuousProcess
void SetGPILSelection (G4GPILSelection selection)
 
G4GPILSelection GetGPILSelection () const
 
- Protected Member Functions inherited from G4VProcess
void SubtractNumberOfInteractionLengthLeft (G4double previousStepSize)
 
void ClearNumberOfInteractionLengthLeft ()
 

Private Member Functions

void DefineMaterial (const G4MaterialCutsCouple *couple)
 
void SetDynamicMassCharge (const G4Track &track, G4double energy)
 
 G4ContinuousGainOfEnergy (G4ContinuousGainOfEnergy &)
 
G4ContinuousGainOfEnergyoperator= (const G4ContinuousGainOfEnergy &right)
 

Private Attributes

const G4MaterialcurrentMaterial
 
const G4MaterialCutsCouplecurrentCouple
 
size_t currentMaterialIndex
 
size_t currentCoupleIndex
 
G4double currentTcut
 
G4double currentCutInRange
 
G4double preStepKinEnergy
 
G4double linLossLimit
 
G4bool lossFluctuationFlag
 
G4bool lossFluctuationArePossible
 
G4VEnergyLossProcesstheDirectEnergyLossProcess
 
G4ParticleDefinitiontheDirectPartDef
 
G4bool is_integral
 
G4bool IsIon
 
G4double massRatio
 
G4double chargeSqRatio
 
G4VEmModelcurrentModel
 
G4double preStepChargeSqRatio
 
G4double preStepScaledKinEnergy
 
G4double preStepRange
 

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 69 of file G4ContinuousGainOfEnergy.hh.

Constructor & Destructor Documentation

G4ContinuousGainOfEnergy::~G4ContinuousGainOfEnergy ( )
virtual

Definition at line 75 of file G4ContinuousGainOfEnergy.cc.

G4ContinuousGainOfEnergy::G4ContinuousGainOfEnergy ( G4ContinuousGainOfEnergy )
private

Member Function Documentation

void G4ContinuousGainOfEnergy::BuildPhysicsTable ( const G4ParticleDefinition )
virtual

Reimplemented from G4VProcess.

Definition at line 92 of file G4ContinuousGainOfEnergy.cc.

void G4ContinuousGainOfEnergy::DefineMaterial ( const G4MaterialCutsCouple couple)
inlineprivate

Definition at line 173 of file G4ContinuousGainOfEnergy.hh.

References currentCouple, currentCoupleIndex, currentCutInRange, currentMaterial, currentMaterialIndex, currentTcut, G4ProductionCutsTable::GetEnergyCutsVector(), G4MaterialCutsCouple::GetIndex(), G4Material::GetIndex(), G4MaterialCutsCouple::GetMaterial(), G4ParticleDefinition::GetParticleName(), G4ProductionCuts::GetProductionCut(), G4MaterialCutsCouple::GetProductionCuts(), G4ProductionCutsTable::GetProductionCutsTable(), and theDirectPartDef.

Referenced by GetContinuousStepLimit().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4double G4ContinuousGainOfEnergy::GetContinuousStepLimit ( const G4Track track,
G4double  previousStepSize,
G4double  currentMinimumStep,
G4double currentSafety 
)
protectedvirtual
G4ContinuousGainOfEnergy& G4ContinuousGainOfEnergy::operator= ( const G4ContinuousGainOfEnergy right)
private
void G4ContinuousGainOfEnergy::PreparePhysicsTable ( const G4ParticleDefinition )
virtual

Reimplemented from G4VProcess.

Definition at line 82 of file G4ContinuousGainOfEnergy.cc.

void G4ContinuousGainOfEnergy::SetDirectEnergyLossProcess ( G4VEnergyLossProcess aProcess)
inline

Definition at line 112 of file G4ContinuousGainOfEnergy.hh.

References theDirectEnergyLossProcess.

Referenced by G4AdjointPhysicsList::ConstructEM().

+ Here is the caller graph for this function:

void G4ContinuousGainOfEnergy::SetDirectParticle ( G4ParticleDefinition p)

Definition at line 99 of file G4ContinuousGainOfEnergy.cc.

References chargeSqRatio, G4ParticleDefinition::GetParticleType(), G4ParticleDefinition::GetPDGCharge(), G4ParticleDefinition::GetPDGMass(), IsIon, massRatio, and theDirectPartDef.

Referenced by G4AdjointPhysicsList::ConstructEM().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4ContinuousGainOfEnergy::SetDynamicMassCharge ( const G4Track track,
G4double  energy 
)
private

Definition at line 316 of file G4ContinuousGainOfEnergy.cc.

References currentMaterial, G4EmCorrections::EffectiveChargeSquareRatio(), G4LossTableManager::EmCorrections(), G4LossTableManager::Instance(), massRatio, G4VEnergyLossProcess::SetDynamicMassCharge(), theDirectEnergyLossProcess, and theDirectPartDef.

+ Here is the call graph for this function:

void G4ContinuousGainOfEnergy::SetIsIntegral ( G4bool  val)
inline

Definition at line 110 of file G4ContinuousGainOfEnergy.hh.

References is_integral.

void G4ContinuousGainOfEnergy::SetLossFluctuations ( G4bool  val)

Definition at line 253 of file G4ContinuousGainOfEnergy.cc.

References lossFluctuationArePossible, and lossFluctuationFlag.

Referenced by G4AdjointPhysicsList::ConstructEM().

+ Here is the caller graph for this function:

Member Data Documentation

G4double G4ContinuousGainOfEnergy::chargeSqRatio
private
const G4MaterialCutsCouple* G4ContinuousGainOfEnergy::currentCouple
private
size_t G4ContinuousGainOfEnergy::currentCoupleIndex
private
G4double G4ContinuousGainOfEnergy::currentCutInRange
private

Definition at line 140 of file G4ContinuousGainOfEnergy.hh.

Referenced by DefineMaterial(), and G4ContinuousGainOfEnergy().

const G4Material* G4ContinuousGainOfEnergy::currentMaterial
private
size_t G4ContinuousGainOfEnergy::currentMaterialIndex
private

Definition at line 137 of file G4ContinuousGainOfEnergy.hh.

Referenced by DefineMaterial(), and G4ContinuousGainOfEnergy().

G4VEmModel* G4ContinuousGainOfEnergy::currentModel
private

Definition at line 160 of file G4ContinuousGainOfEnergy.hh.

Referenced by AlongStepDoIt(), and GetContinuousStepLimit().

G4double G4ContinuousGainOfEnergy::currentTcut
private
G4bool G4ContinuousGainOfEnergy::is_integral
private
G4bool G4ContinuousGainOfEnergy::IsIon
private
G4double G4ContinuousGainOfEnergy::linLossLimit
private

Definition at line 145 of file G4ContinuousGainOfEnergy.hh.

Referenced by AlongStepDoIt(), and G4ContinuousGainOfEnergy().

G4bool G4ContinuousGainOfEnergy::lossFluctuationArePossible
private

Definition at line 147 of file G4ContinuousGainOfEnergy.hh.

Referenced by G4ContinuousGainOfEnergy(), and SetLossFluctuations().

G4bool G4ContinuousGainOfEnergy::lossFluctuationFlag
private
G4double G4ContinuousGainOfEnergy::massRatio
private
G4double G4ContinuousGainOfEnergy::preStepChargeSqRatio
private
G4double G4ContinuousGainOfEnergy::preStepKinEnergy
private
G4double G4ContinuousGainOfEnergy::preStepRange
private
G4double G4ContinuousGainOfEnergy::preStepScaledKinEnergy
private
G4VEnergyLossProcess* G4ContinuousGainOfEnergy::theDirectEnergyLossProcess
private
G4ParticleDefinition* G4ContinuousGainOfEnergy::theDirectPartDef
private

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