Geant4 11.2.2
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4VBiasingInteractionLaw Class Referenceabstract

#include <G4VBiasingInteractionLaw.hh>

+ Inheritance diagram for G4VBiasingInteractionLaw:

Public Member Functions

 G4VBiasingInteractionLaw (G4String name)
 
virtual ~G4VBiasingInteractionLaw ()
 
const G4StringGetName () const
 
virtual G4double ComputeNonInteractionProbabilityAt (G4double length) const =0
 
virtual G4double ComputeEffectiveCrossSectionAt (G4double length) const =0
 
virtual G4bool IsSingular () const
 
virtual G4bool IsEffectiveCrossSectionInfinite () const
 
G4double Sample ()
 
G4double UpdateForStep (G4double truePathLength)
 
G4double GetSampledInteractionLength () const
 

Protected Member Functions

virtual G4double SampleInteractionLength ()=0
 
virtual G4double UpdateInteractionLengthForStep (G4double)
 

Detailed Description

Definition at line 61 of file G4VBiasingInteractionLaw.hh.

Constructor & Destructor Documentation

◆ G4VBiasingInteractionLaw()

G4VBiasingInteractionLaw::G4VBiasingInteractionLaw ( G4String name)
inline

Definition at line 63 of file G4VBiasingInteractionLaw.hh.

63: fName(name), fSampledInteractionLength(DBL_MAX) {}
#define DBL_MAX
Definition templates.hh:62

◆ ~G4VBiasingInteractionLaw()

virtual G4VBiasingInteractionLaw::~G4VBiasingInteractionLaw ( )
inlinevirtual

Definition at line 64 of file G4VBiasingInteractionLaw.hh.

64{}

Member Function Documentation

◆ ComputeEffectiveCrossSectionAt()

virtual G4double G4VBiasingInteractionLaw::ComputeEffectiveCrossSectionAt ( G4double length) const
pure virtual

◆ ComputeNonInteractionProbabilityAt()

virtual G4double G4VBiasingInteractionLaw::ComputeNonInteractionProbabilityAt ( G4double length) const
pure virtual

◆ GetName()

◆ GetSampledInteractionLength()

G4double G4VBiasingInteractionLaw::GetSampledInteractionLength ( ) const
inline

Definition at line 107 of file G4VBiasingInteractionLaw.hh.

107{ return fSampledInteractionLength; }

Referenced by G4BiasingProcessInterface::PostStepGetPhysicalInteractionLength().

◆ IsEffectiveCrossSectionInfinite()

virtual G4bool G4VBiasingInteractionLaw::IsEffectiveCrossSectionInfinite ( ) const
inlinevirtual

◆ IsSingular()

virtual G4bool G4VBiasingInteractionLaw::IsSingular ( ) const
inlinevirtual

Reimplemented in G4ILawCommonTruncatedExp, G4ILawForceFreeFlight, and G4ILawTruncatedExp.

Definition at line 88 of file G4VBiasingInteractionLaw.hh.

88{return false;}

Referenced by G4BiasingProcessInterface::PostStepDoIt().

◆ Sample()

G4double G4VBiasingInteractionLaw::Sample ( )
inline

Definition at line 97 of file G4VBiasingInteractionLaw.hh.

98 {
99 fSampledInteractionLength = SampleInteractionLength();
100 return fSampledInteractionLength;
101 }
virtual G4double SampleInteractionLength()=0

Referenced by G4BOptnChangeCrossSection::Sample(), and G4BOptnForceCommonTruncatedExp::Sample().

◆ SampleInteractionLength()

virtual G4double G4VBiasingInteractionLaw::SampleInteractionLength ( )
protectedpure virtual

◆ UpdateForStep()

G4double G4VBiasingInteractionLaw::UpdateForStep ( G4double truePathLength)
inline

Definition at line 102 of file G4VBiasingInteractionLaw.hh.

103 {
104 fSampledInteractionLength = UpdateInteractionLengthForStep(truePathLength);
105 return fSampledInteractionLength;
106 }
virtual G4double UpdateInteractionLengthForStep(G4double)

Referenced by G4BOptnChangeCrossSection::UpdateForStep(), and G4BOptnForceCommonTruncatedExp::UpdateForStep().

◆ UpdateInteractionLengthForStep()

virtual G4double G4VBiasingInteractionLaw::UpdateInteractionLengthForStep ( G4double )
inlineprotectedvirtual

Reimplemented in G4ILawForceFreeFlight, G4ILawTruncatedExp, and G4InteractionLawPhysical.

Definition at line 83 of file G4VBiasingInteractionLaw.hh.

83{ return DBL_MAX; }

Referenced by UpdateForStep().


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