Geant4  10.00.p02
G4BOptnForceCommonTruncatedExp Class Reference

#include <G4BOptnForceCommonTruncatedExp.hh>

+ Inheritance diagram for G4BOptnForceCommonTruncatedExp:
+ Collaboration diagram for G4BOptnForceCommonTruncatedExp:

Public Member Functions

 G4BOptnForceCommonTruncatedExp (G4String name)
 
virtual ~G4BOptnForceCommonTruncatedExp ()
 
virtual const
G4VBiasingInteractionLaw
ProvideOccurenceBiasingInteractionLaw (const G4BiasingProcessInterface *)
 
virtual G4ForceCondition ProposeForceCondition (const G4ForceCondition processCondition)
 
virtual G4bool DenyProcessPostStepDoIt (const G4BiasingProcessInterface *, const G4Track *, const G4Step *, G4double &)
 
virtual G4double ProposeAlongStepLimit (const G4BiasingProcessInterface *)
 
virtual G4GPILSelection ProposeGPILSelection (const G4GPILSelection processSelection)
 
virtual G4VParticleChangeApplyFinalStateBiasing (const G4BiasingProcessInterface *, const G4Track *, const G4Step *)
 
virtual G4double DistanceToApplyOperation (const G4Track *, G4double, G4ForceCondition *)
 
virtual G4VParticleChangeGenerateBiasingFinalState (const G4Track *, const G4Step *)
 
G4ILawCommonTruncatedExpGetCommonTruncatedExpLaw ()
 
void Initialize (const G4Track *)
 
void UpdateForStep (const G4Step *)
 
void Sample ()
 
const G4ThreeVectorGetInitialMomentum () const
 
G4double GetMaximumDistance () const
 
void ChooseProcessToApply ()
 
const G4VProcessGetProcessToApply () const
 
void AddCrossSection (const G4VProcess *, G4double)
 
G4double GetTriggeredProcessXSfraction ()
 
void PostStepInteractionOccured (const G4VProcess *)
 
void SetInteractionOccured (G4bool b)
 
G4bool GetInteractionOccured () const
 
- Public Member Functions inherited from G4VBiasingOperation
 G4VBiasingOperation (G4String name)
 
virtual ~G4VBiasingOperation ()
 
virtual void AlongMoveBy (const G4BiasingProcessInterface *, const G4Step *, G4double)
 
const G4StringGetName () const
 
std::size_t GetUniqueID () const
 

Private Attributes

G4ILawCommonTruncatedExpfCommonTruncatedExpLaw
 
G4double fTotalCrossSection
 
std::map< const G4VProcess
*, G4double
fCrossSections
 
size_t fNumberOfSharing
 
const G4VProcessfProcessToApply
 
G4bool fInteractionOccured
 
G4ThreeVector fInitialMomentum
 
G4double fMaximumDistance
 

Detailed Description

Definition at line 58 of file G4BOptnForceCommonTruncatedExp.hh.

Constructor & Destructor Documentation

G4BOptnForceCommonTruncatedExp::G4BOptnForceCommonTruncatedExp ( G4String  name)

Definition at line 33 of file G4BOptnForceCommonTruncatedExp.cc.

References fCommonTruncatedExpLaw, fTotalCrossSection, and G4ILawCommonTruncatedExp::SetOperation().

+ Here is the call graph for this function:

G4BOptnForceCommonTruncatedExp::~G4BOptnForceCommonTruncatedExp ( )
virtual

Definition at line 42 of file G4BOptnForceCommonTruncatedExp.cc.

Member Function Documentation

void G4BOptnForceCommonTruncatedExp::AddCrossSection ( const G4VProcess process,
G4double  crossSection 
)

Definition at line 90 of file G4BOptnForceCommonTruncatedExp.cc.

References fCommonTruncatedExpLaw, fCrossSections, fNumberOfSharing, fTotalCrossSection, G4ILawCommonTruncatedExp::SetForceCrossSection(), and G4ILawCommonTruncatedExp::SetNumberOfSharing().

Referenced by G4BOptrForceCollision::ProposeOccurenceBiasingOperation().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

virtual G4VParticleChange* G4BOptnForceCommonTruncatedExp::ApplyFinalStateBiasing ( const G4BiasingProcessInterface ,
const G4Track ,
const G4Step  
)
inlinevirtual

Implements G4VBiasingOperation.

Definition at line 76 of file G4BOptnForceCommonTruncatedExp.hh.

void G4BOptnForceCommonTruncatedExp::ChooseProcessToApply ( )

Definition at line 141 of file G4BOptnForceCommonTruncatedExp.cc.

References fCrossSections, fProcessToApply, fTotalCrossSection, and G4UniformRand.

Referenced by Sample().

+ Here is the caller graph for this function:

G4bool G4BOptnForceCommonTruncatedExp::DenyProcessPostStepDoIt ( const G4BiasingProcessInterface callingProcess,
const G4Track ,
const G4Step step,
G4double  
)
virtual

Reimplemented from G4VBiasingOperation.

Definition at line 67 of file G4BOptnForceCommonTruncatedExp.cc.

References fInteractionOccured, fProcessToApply, G4BiasingProcessInterface::GetAlongStepGPIL(), G4BiasingProcessInterface::GetPostStepGPIL(), and G4BiasingProcessInterface::GetWrappedProcess().

+ Here is the call graph for this function:

virtual G4double G4BOptnForceCommonTruncatedExp::DistanceToApplyOperation ( const G4Track ,
G4double  ,
G4ForceCondition  
)
inlinevirtual

Implements G4VBiasingOperation.

Definition at line 79 of file G4BOptnForceCommonTruncatedExp.hh.

References DBL_MAX.

virtual G4VParticleChange* G4BOptnForceCommonTruncatedExp::GenerateBiasingFinalState ( const G4Track ,
const G4Step  
)
inlinevirtual

Implements G4VBiasingOperation.

Definition at line 82 of file G4BOptnForceCommonTruncatedExp.hh.

G4ILawCommonTruncatedExp* G4BOptnForceCommonTruncatedExp::GetCommonTruncatedExpLaw ( )
inline

Definition at line 89 of file G4BOptnForceCommonTruncatedExp.hh.

References fCommonTruncatedExpLaw.

Referenced by G4BOptrForceCollision::ProposeOccurenceBiasingOperation().

+ Here is the caller graph for this function:

const G4ThreeVector& G4BOptnForceCommonTruncatedExp::GetInitialMomentum ( ) const
inline

Definition at line 96 of file G4BOptnForceCommonTruncatedExp.hh.

References fInitialMomentum.

Referenced by G4BOptrForceCollision::ProposeOccurenceBiasingOperation().

+ Here is the caller graph for this function:

G4bool G4BOptnForceCommonTruncatedExp::GetInteractionOccured ( ) const
inline

Definition at line 104 of file G4BOptnForceCommonTruncatedExp.hh.

References fInteractionOccured.

Referenced by G4BOptrForceCollision::ProposeOccurenceBiasingOperation().

+ Here is the caller graph for this function:

G4double G4BOptnForceCommonTruncatedExp::GetMaximumDistance ( ) const
inline

Definition at line 97 of file G4BOptnForceCommonTruncatedExp.hh.

References fMaximumDistance.

Referenced by G4BOptrForceCollision::ProposeOccurenceBiasingOperation().

+ Here is the caller graph for this function:

const G4VProcess* G4BOptnForceCommonTruncatedExp::GetProcessToApply ( ) const
inline

Definition at line 99 of file G4BOptnForceCommonTruncatedExp.hh.

References fProcessToApply.

G4double G4BOptnForceCommonTruncatedExp::GetTriggeredProcessXSfraction ( )

Definition at line 81 of file G4BOptnForceCommonTruncatedExp.cc.

References fCrossSections, fProcessToApply, and fTotalCrossSection.

Referenced by G4ILawCommonTruncatedExp::ComputeEffectiveCrossSectionAt().

+ Here is the caller graph for this function:

void G4BOptnForceCommonTruncatedExp::Initialize ( const G4Track track)

Definition at line 100 of file G4BOptnForceCommonTruncatedExp.cc.

References DBL_MIN, G4VSolid::DistanceToOut(), fCommonTruncatedExpLaw, fCrossSections, fInitialMomentum, fMaximumDistance, fNumberOfSharing, fProcessToApply, fTotalCrossSection, G4VPhysicalVolume::GetLogicalVolume(), G4Track::GetMomentum(), G4Track::GetMomentumDirection(), G4Track::GetPosition(), G4LogicalVolume::GetSolid(), G4TransportationManager::GetTransportationManager(), G4Track::GetVolume(), G4ILawCommonTruncatedExp::reset(), and G4ILawCommonTruncatedExp::SetMaximumDistance().

Referenced by G4BOptrForceCollision::ProposeOccurenceBiasingOperation().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4BOptnForceCommonTruncatedExp::PostStepInteractionOccured ( const G4VProcess )

Definition at line 86 of file G4BOptnForceCommonTruncatedExp.cc.

G4double G4BOptnForceCommonTruncatedExp::ProposeAlongStepLimit ( const G4BiasingProcessInterface callingProcess)
virtual

Reimplemented from G4VBiasingOperation.

Definition at line 55 of file G4BOptnForceCommonTruncatedExp.cc.

References DBL_MAX, fCommonTruncatedExpLaw, fProcessToApply, G4ILawCommonTruncatedExp::GetInteractionDistance(), and G4BiasingProcessInterface::GetWrappedProcess().

+ Here is the call graph for this function:

G4ForceCondition G4BOptnForceCommonTruncatedExp::ProposeForceCondition ( const G4ForceCondition  processCondition)
virtual

Reimplemented from G4VBiasingOperation.

Definition at line 50 of file G4BOptnForceCommonTruncatedExp.cc.

References Forced.

G4GPILSelection G4BOptnForceCommonTruncatedExp::ProposeGPILSelection ( const G4GPILSelection  processSelection)
virtual

Reimplemented from G4VBiasingOperation.

Definition at line 62 of file G4BOptnForceCommonTruncatedExp.cc.

References CandidateForSelection.

const G4VBiasingInteractionLaw * G4BOptnForceCommonTruncatedExp::ProvideOccurenceBiasingInteractionLaw ( const G4BiasingProcessInterface )
virtual

Implements G4VBiasingOperation.

Definition at line 45 of file G4BOptnForceCommonTruncatedExp.cc.

References fCommonTruncatedExpLaw.

void G4BOptnForceCommonTruncatedExp::Sample ( )

Definition at line 133 of file G4BOptnForceCommonTruncatedExp.cc.

References ChooseProcessToApply(), fCommonTruncatedExpLaw, G4ILawCommonTruncatedExp::reset(), and G4VBiasingInteractionLaw::Sample().

Referenced by G4BOptrForceCollision::ProposeOccurenceBiasingOperation().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4BOptnForceCommonTruncatedExp::SetInteractionOccured ( G4bool  b)
inline

Definition at line 103 of file G4BOptnForceCommonTruncatedExp.hh.

References fInteractionOccured.

Referenced by G4BOptrForceCollision::ProposeNonPhysicsBiasingOperation().

+ Here is the caller graph for this function:

void G4BOptnForceCommonTruncatedExp::UpdateForStep ( const G4Step step)

Definition at line 122 of file G4BOptnForceCommonTruncatedExp.cc.

References fCommonTruncatedExpLaw, fCrossSections, fMaximumDistance, fNumberOfSharing, fProcessToApply, fTotalCrossSection, G4ILawCommonTruncatedExp::GetMaximumDistance(), G4Step::GetStepLength(), and G4VBiasingInteractionLaw::UpdateForStep().

Referenced by G4BOptrForceCollision::ProposeOccurenceBiasingOperation().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

std::map< const G4VProcess*, G4double > G4BOptnForceCommonTruncatedExp::fCrossSections
private
G4ThreeVector G4BOptnForceCommonTruncatedExp::fInitialMomentum
private

Definition at line 114 of file G4BOptnForceCommonTruncatedExp.hh.

Referenced by GetInitialMomentum(), and Initialize().

G4bool G4BOptnForceCommonTruncatedExp::fInteractionOccured
private
G4double G4BOptnForceCommonTruncatedExp::fMaximumDistance
private
size_t G4BOptnForceCommonTruncatedExp::fNumberOfSharing
private

Definition at line 110 of file G4BOptnForceCommonTruncatedExp.hh.

Referenced by AddCrossSection(), Initialize(), and UpdateForStep().

G4double G4BOptnForceCommonTruncatedExp::fTotalCrossSection
private

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