Geant4 10.7.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4ILawForceFreeFlight Class Reference

#include <G4ILawForceFreeFlight.hh>

+ Inheritance diagram for G4ILawForceFreeFlight:

Public Member Functions

 G4ILawForceFreeFlight (G4String name="forceFreeFlightLaw")
 
virtual ~G4ILawForceFreeFlight ()
 
virtual G4double ComputeEffectiveCrossSectionAt (G4double length) const
 
virtual G4double ComputeNonInteractionProbabilityAt (G4double length) const
 
virtual G4double SampleInteractionLength ()
 
virtual G4double UpdateInteractionLengthForStep (G4double truePathLength)
 
virtual G4bool IsSingular () const
 
- Public Member Functions inherited from G4VBiasingInteractionLaw
 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
 

Additional Inherited Members

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

Detailed Description

Definition at line 48 of file G4ILawForceFreeFlight.hh.

Constructor & Destructor Documentation

◆ G4ILawForceFreeFlight()

G4ILawForceFreeFlight::G4ILawForceFreeFlight ( G4String  name = "forceFreeFlightLaw")

◆ ~G4ILawForceFreeFlight()

G4ILawForceFreeFlight::~G4ILawForceFreeFlight ( )
virtual

Definition at line 32 of file G4ILawForceFreeFlight.cc.

33{}

Member Function Documentation

◆ ComputeEffectiveCrossSectionAt()

G4double G4ILawForceFreeFlight::ComputeEffectiveCrossSectionAt ( G4double  length) const
virtual

Implements G4VBiasingInteractionLaw.

Definition at line 35 of file G4ILawForceFreeFlight.cc.

36{
37 return 0.0;
38}

◆ ComputeNonInteractionProbabilityAt()

G4double G4ILawForceFreeFlight::ComputeNonInteractionProbabilityAt ( G4double  length) const
virtual

Implements G4VBiasingInteractionLaw.

Definition at line 40 of file G4ILawForceFreeFlight.cc.

41{
42 return 1.0;
43}

◆ IsSingular()

virtual G4bool G4ILawForceFreeFlight::IsSingular ( ) const
inlinevirtual

Reimplemented from G4VBiasingInteractionLaw.

Definition at line 61 of file G4ILawForceFreeFlight.hh.

61{return true;}

◆ SampleInteractionLength()

G4double G4ILawForceFreeFlight::SampleInteractionLength ( )
virtual

Implements G4VBiasingInteractionLaw.

Definition at line 45 of file G4ILawForceFreeFlight.cc.

46{
47 return DBL_MAX;
48}
#define DBL_MAX
Definition: templates.hh:62

◆ UpdateInteractionLengthForStep()

G4double G4ILawForceFreeFlight::UpdateInteractionLengthForStep ( G4double  truePathLength)
virtual

Reimplemented from G4VBiasingInteractionLaw.

Definition at line 50 of file G4ILawForceFreeFlight.cc.

51{
52 return DBL_MAX;
53}

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