Geant4  10.00.p01
G4ParticleChangeForLoss Class Reference

#include <G4ParticleChangeForLoss.hh>

+ Inheritance diagram for G4ParticleChangeForLoss:
+ Collaboration diagram for G4ParticleChangeForLoss:

Public Member Functions

 G4ParticleChangeForLoss ()
 
virtual ~G4ParticleChangeForLoss ()
 
G4StepUpdateStepForAlongStep (G4Step *Step)
 
G4StepUpdateStepForPostStep (G4Step *Step)
 
void InitializeForAlongStep (const G4Track &)
 
void InitializeForPostStep (const G4Track &)
 
G4double GetProposedCharge () const
 
void SetProposedCharge (G4double theCharge)
 
G4double GetCharge () const
 
void ProposeCharge (G4double finalCharge)
 
G4double GetProposedKineticEnergy () const
 
void SetProposedKineticEnergy (G4double proposedKinEnergy)
 
const G4ThreeVectorGetProposedMomentumDirection () const
 
void SetProposedMomentumDirection (const G4ThreeVector &dir)
 
const G4ThreeVectorGetMomentumDirection () const
 
void ProposeMomentumDirection (G4double Px, G4double Py, G4double Pz)
 
void ProposeMomentumDirection (const G4ThreeVector &Pfinal)
 
const G4ThreeVectorGetProposedPolarization () const
 
void ProposePolarization (const G4ThreeVector &dir)
 
void ProposePolarization (G4double Px, G4double Py, G4double Pz)
 
const G4TrackGetCurrentTrack () const
 
void SetLowEnergyLimit (G4double elimit)
 
virtual void DumpInfo () const
 
virtual G4bool CheckIt (const G4Track &)
 
- Public Member Functions inherited from G4VParticleChange
 G4VParticleChange ()
 
virtual ~G4VParticleChange ()
 
G4bool operator== (const G4VParticleChange &right) const
 
G4bool operator!= (const G4VParticleChange &right) const
 
virtual G4StepUpdateStepForAtRest (G4Step *Step)
 
virtual void Initialize (const G4Track &)
 
G4double GetTrueStepLength () const
 
void ProposeTrueStepLength (G4double truePathLength)
 
G4double GetLocalEnergyDeposit () const
 
void ProposeLocalEnergyDeposit (G4double anEnergyPart)
 
G4double GetNonIonizingEnergyDeposit () const
 
void ProposeNonIonizingEnergyDeposit (G4double anEnergyPart)
 
G4TrackStatus GetTrackStatus () const
 
void ProposeTrackStatus (G4TrackStatus status)
 
G4SteppingControl GetSteppingControl () const
 
void ProposeSteppingControl (G4SteppingControl StepControlFlag)
 
G4bool GetFirstStepInVolume () const
 
G4bool GetLastStepInVolume () const
 
void ProposeFirstStepInVolume (G4bool flag)
 
void ProposeLastStepInVolume (G4bool flag)
 
void Clear ()
 
void SetNumberOfSecondaries (G4int totSecondaries)
 
G4int GetNumberOfSecondaries () const
 
G4TrackGetSecondary (G4int anIndex) const
 
void AddSecondary (G4Track *aSecondary)
 
G4double GetWeight () const
 
G4double GetParentWeight () const
 
void ProposeWeight (G4double finalWeight)
 
void ProposeParentWeight (G4double finalWeight)
 
void SetSecondaryWeightByProcess (G4bool)
 
G4bool IsSecondaryWeightSetByProcess () const
 
void SetParentWeightByProcess (G4bool)
 
G4bool IsParentWeightSetByProcess () const
 
void SetVerboseLevel (G4int vLevel)
 
G4int GetVerboseLevel () const
 
void ClearDebugFlag ()
 
void SetDebugFlag ()
 
G4bool GetDebugFlag () const
 

Protected Member Functions

 G4ParticleChangeForLoss (const G4ParticleChangeForLoss &right)
 
G4ParticleChangeForLossoperator= (const G4ParticleChangeForLoss &right)
 
- Protected Member Functions inherited from G4VParticleChange
 G4VParticleChange (const G4VParticleChange &right)
 
G4VParticleChangeoperator= (const G4VParticleChange &right)
 
G4StepUpdateStepInfo (G4Step *Step)
 
void InitializeTrueStepLength (const G4Track &)
 
void InitializeLocalEnergyDeposit (const G4Track &)
 
void InitializeSteppingControl (const G4Track &)
 
void InitializeParentWeight (const G4Track &)
 
void InitializeParentGlobalTime (const G4Track &)
 
void InitializeStatusChange (const G4Track &)
 
void InitializeSecondaries (const G4Track &)
 
void InitializeStepInVolumeFlags (const G4Track &)
 
G4bool CheckSecondary (G4Track &)
 
G4double GetAccuracyForWarning () const
 
G4double GetAccuracyForException () const
 

Private Attributes

const G4TrackcurrentTrack
 
G4double proposedKinEnergy
 
G4double lowEnergyLimit
 
G4double currentCharge
 
G4ThreeVector proposedMomentumDirection
 
G4ThreeVector proposedPolarization
 

Additional Inherited Members

- Protected Attributes inherited from G4VParticleChange
G4TrackFastVectortheListOfSecondaries
 
G4int theNumberOfSecondaries
 
G4int theSizeOftheListOfSecondaries
 
G4TrackStatus theStatusChange
 
G4SteppingControl theSteppingControlFlag
 
G4double theLocalEnergyDeposit
 
G4double theNonIonizingEnergyDeposit
 
G4double theTrueStepLength
 
G4bool theFirstStepInVolume
 
G4bool theLastStepInVolume
 
G4double theParentWeight
 
G4bool isParentWeightProposed
 
G4bool fSetSecondaryWeightByProcess
 
G4double theParentGlobalTime
 
G4int verboseLevel
 
G4bool debugFlag
 
- Static Protected Attributes inherited from G4VParticleChange
static const G4double accuracyForWarning = 1.0e-9
 
static const G4double accuracyForException = 0.001
 

Detailed Description

Definition at line 60 of file G4ParticleChangeForLoss.hh.

Constructor & Destructor Documentation

G4ParticleChangeForLoss::G4ParticleChangeForLoss ( )
G4ParticleChangeForLoss::~G4ParticleChangeForLoss ( )
virtual

Definition at line 65 of file G4ParticleChangeForLoss.cc.

References G4cout, G4endl, and G4VParticleChange::verboseLevel.

G4ParticleChangeForLoss::G4ParticleChangeForLoss ( const G4ParticleChangeForLoss right)
protected

Member Function Documentation

G4bool G4ParticleChangeForLoss::CheckIt ( const G4Track aTrack)
virtual

Reimplemented from G4VParticleChange.

Definition at line 160 of file G4ParticleChangeForLoss.cc.

References G4VParticleChange::accuracyForException, G4VParticleChange::accuracyForWarning, G4VParticleChange::CheckIt(), DumpInfo(), EventMustBeAborted, G4cout, G4endl, G4Exception(), G4Track::GetDefinition(), G4Track::GetKineticEnergy(), G4ParticleDefinition::GetParticleName(), G4Track::GetPosition(), m, MeV, and proposedKinEnergy.

+ Here is the call graph for this function:

void G4ParticleChangeForLoss::DumpInfo ( ) const
virtual

Reimplemented from G4VParticleChange.

Definition at line 136 of file G4ParticleChangeForLoss.cc.

References currentCharge, G4VParticleChange::DumpInfo(), eplus, G4cout, G4endl, MeV, proposedKinEnergy, and proposedMomentumDirection.

Referenced by CheckIt().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4double G4ParticleChangeForLoss::GetCharge ( ) const
inline

Definition at line 160 of file G4ParticleChangeForLoss.hh.

References currentCharge.

const G4Track * G4ParticleChangeForLoss::GetCurrentTrack ( ) const
inline

Definition at line 207 of file G4ParticleChangeForLoss.hh.

References currentTrack.

Referenced by G4PolarizedMollerBhabhaModel::SampleSecondaries().

+ Here is the caller graph for this function:

const G4ThreeVector & G4ParticleChangeForLoss::GetMomentumDirection ( ) const
inline

Definition at line 182 of file G4ParticleChangeForLoss.hh.

References proposedMomentumDirection.

G4double G4ParticleChangeForLoss::GetProposedCharge ( ) const
inline

Definition at line 155 of file G4ParticleChangeForLoss.hh.

References currentCharge.

G4double G4ParticleChangeForLoss::GetProposedKineticEnergy ( ) const
inline

Definition at line 145 of file G4ParticleChangeForLoss.hh.

References proposedKinEnergy.

Referenced by G4EmBiasingManager::ApplySecondaryBiasing(), and G4VEnergyLossProcess::PostStepDoIt().

+ Here is the caller graph for this function:

const G4ThreeVector & G4ParticleChangeForLoss::GetProposedMomentumDirection ( ) const
inline

Definition at line 176 of file G4ParticleChangeForLoss.hh.

References proposedMomentumDirection.

Referenced by G4EmBiasingManager::ApplySecondaryBiasing(), and G4ePolarizedBremsstrahlungModel::SampleSecondaries().

+ Here is the caller graph for this function:

const G4ThreeVector & G4ParticleChangeForLoss::GetProposedPolarization ( ) const
inline

Definition at line 213 of file G4ParticleChangeForLoss.hh.

References proposedPolarization.

void G4ParticleChangeForLoss::InitializeForAlongStep ( const G4Track track)
inline

Definition at line 232 of file G4ParticleChangeForLoss.hh.

References currentCharge, G4DynamicParticle::GetCharge(), G4Track::GetDynamicParticle(), G4Track::GetKineticEnergy(), G4Track::GetTrackStatus(), G4Track::GetWeight(), G4VParticleChange::InitializeSecondaries(), proposedKinEnergy, G4VParticleChange::theLocalEnergyDeposit, G4VParticleChange::theNonIonizingEnergyDeposit, G4VParticleChange::theParentWeight, and G4VParticleChange::theStatusChange.

Referenced by G4NuclearStopping::AlongStepDoIt(), and G4VEnergyLossProcess::AlongStepDoIt().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4ParticleChangeForLoss::InitializeForPostStep ( const G4Track track)
inline

Definition at line 244 of file G4ParticleChangeForLoss.hh.

References currentCharge, currentTrack, G4DynamicParticle::GetCharge(), G4Track::GetDynamicParticle(), G4Track::GetKineticEnergy(), G4Track::GetMomentumDirection(), G4Track::GetPolarization(), G4Track::GetTrackStatus(), G4Track::GetWeight(), G4VParticleChange::InitializeSecondaries(), proposedKinEnergy, proposedMomentumDirection, proposedPolarization, G4VParticleChange::theLocalEnergyDeposit, G4VParticleChange::theNonIonizingEnergyDeposit, G4VParticleChange::theParentWeight, and G4VParticleChange::theStatusChange.

Referenced by G4VEnergyLossProcess::PostStepDoIt().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4ParticleChangeForLoss::ProposeCharge ( G4double  finalCharge)
inline

Definition at line 170 of file G4ParticleChangeForLoss.hh.

References currentCharge.

void G4ParticleChangeForLoss::ProposeMomentumDirection ( G4double  Px,
G4double  Py,
G4double  Pz 
)
inline

Definition at line 200 of file G4ParticleChangeForLoss.hh.

References proposedMomentumDirection.

Referenced by G4EmBiasingManager::ApplySecondaryBiasing(), G4LivermoreIonisationModel::SampleSecondaries(), G4PenelopeBremsstrahlungModel::SampleSecondaries(), and G4PenelopeIonisationModel::SampleSecondaries().

+ Here is the caller graph for this function:

void G4ParticleChangeForLoss::ProposeMomentumDirection ( const G4ThreeVector Pfinal)
inline

Definition at line 188 of file G4ParticleChangeForLoss.hh.

References proposedMomentumDirection.

void G4ParticleChangeForLoss::ProposePolarization ( const G4ThreeVector dir)
inline

Definition at line 219 of file G4ParticleChangeForLoss.hh.

References proposedPolarization.

Referenced by G4ePolarizedBremsstrahlungModel::SampleSecondaries(), and G4PolarizedMollerBhabhaModel::SampleSecondaries().

+ Here is the caller graph for this function:

void G4ParticleChangeForLoss::ProposePolarization ( G4double  Px,
G4double  Py,
G4double  Pz 
)
inline

Definition at line 225 of file G4ParticleChangeForLoss.hh.

References proposedPolarization.

void G4ParticleChangeForLoss::SetLowEnergyLimit ( G4double  elimit)
inline

Definition at line 273 of file G4ParticleChangeForLoss.hh.

References lowEnergyLimit.

Referenced by G4VEnergyLossProcess::BuildPhysicsTable().

+ Here is the caller graph for this function:

void G4ParticleChangeForLoss::SetProposedCharge ( G4double  theCharge)
inline

Definition at line 165 of file G4ParticleChangeForLoss.hh.

References currentCharge.

Referenced by G4NuclearStopping::AlongStepDoIt(), and G4VEnergyLossProcess::AlongStepDoIt().

+ Here is the caller graph for this function:

void G4ParticleChangeForLoss::SetProposedKineticEnergy ( G4double  proposedKinEnergy)
inline

Member Data Documentation

const G4Track* G4ParticleChangeForLoss::currentTrack
private
G4double G4ParticleChangeForLoss::lowEnergyLimit
private
G4ThreeVector G4ParticleChangeForLoss::proposedPolarization
private

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