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

#include <G4IRTUtils.hh>

Public Member Functions

 G4IRTUtils ()=default
 
 ~G4IRTUtils ()=default
 

Static Public Member Functions

static G4double EffectiveDistance (const G4double &rc, const G4double &r0)
 
static G4double GetKact (const G4double &obs, const G4double &dif)
 
static G4double GetRCutOff ()
 
static G4double GetRCutOff (G4double tCutOff)
 
static G4double GetDNADistanceCutOff ()
 

Detailed Description

Definition at line 33 of file G4IRTUtils.hh.

Constructor & Destructor Documentation

◆ G4IRTUtils()

G4IRTUtils::G4IRTUtils ( )
default

◆ ~G4IRTUtils()

G4IRTUtils::~G4IRTUtils ( )
default

Member Function Documentation

◆ EffectiveDistance()

G4double G4IRTUtils::EffectiveDistance ( const G4double rc,
const G4double r0 
)
static

Definition at line 32 of file G4IRTUtils.cc.

34{
35 return r0 == 0 ? 0 : - rc / (1 - std::exp( rc / r0 ) );
36}

◆ GetDNADistanceCutOff()

G4double G4IRTUtils::GetDNADistanceCutOff ( )
static

Definition at line 62 of file G4IRTUtils.cc.

63{
64 G4double tCutOff = 100 * ps;
65
66 G4double probabilityOfReaction = 0.01;
67 G4double maximumReactionRadius = 1.45*CLHEP::nm;//??
68 G4double maximumRelativeDiffusionCoefficient = 2.0*9.46e9 *CLHEP::nm*CLHEP::nm/CLHEP::s;//??
69 G4double erfcInv = G4ErrorFunction::erfcInv(probabilityOfReaction);
70 return maximumReactionRadius + 2.0 *
71 std::sqrt(maximumRelativeDiffusionCoefficient * tCutOff) * erfcInv;
72}
double G4double
Definition: G4Types.hh:83
static G4double erfcInv(G4double x)

◆ GetKact()

static G4double G4IRTUtils::GetKact ( const G4double obs,
const G4double dif 
)
inlinestatic

Definition at line 41 of file G4IRTUtils.hh.

43 {
44 return (obs == 0 || dif == 0) ? 0 : dif * obs/(dif - obs);
45 }

Referenced by G4DiffusionControlledReactionModel::GetTimeToEncounter().

◆ GetRCutOff() [1/2]

G4double G4IRTUtils::GetRCutOff ( )
static

Definition at line 39 of file G4IRTUtils.cc.

40{
41 G4double tCutOff = 1000 * ns;
42
43 G4double probabilityOfReaction = 0.01;
44 G4double maximumReactionRadius = 1.45*CLHEP::nm;//??
45 G4double maximumRelativeDiffusionCoefficient = 2.0*9.46e9 *CLHEP::nm*CLHEP::nm/CLHEP::s;//??
46 G4double erfcInv = G4ErrorFunction::erfcInv(probabilityOfReaction);
47 return maximumReactionRadius + 2.0 *
48 std::sqrt(maximumRelativeDiffusionCoefficient * tCutOff) * erfcInv;
49}
#define ns(x)
Definition: xmltok.c:1649

Referenced by G4DNAIndependentReactionTimeStepper::CalculateStep().

◆ GetRCutOff() [2/2]

G4double G4IRTUtils::GetRCutOff ( G4double  tCutOff)
static

Definition at line 52 of file G4IRTUtils.cc.

53{
54 G4double probabilityOfReaction = 0.01;
55 G4double maximumReactionRadius = 1.45*CLHEP::nm;//??
56 G4double maximumRelativeDiffusionCoefficient = 2.0*9.46e9 *CLHEP::nm*CLHEP::nm/CLHEP::s;//??
57 G4double erfcInv = G4ErrorFunction::erfcInv(probabilityOfReaction);
58 return maximumReactionRadius + 2.0 *
59 std::sqrt(maximumRelativeDiffusionCoefficient * tCutOff) * erfcInv;
60}

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