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

#include <G4VITTimeStepper.hh>

+ Inheritance diagram for G4VITTimeStepper:

Public Member Functions

 G4VITTimeStepper ()
 
virtual ~G4VITTimeStepper ()
 
 G4VITTimeStepper (const G4VITTimeStepper &)
 
G4VITTimeStepperoperator= (const G4VITTimeStepper &other)
 
virtual void Initialize ()
 
virtual void Prepare ()
 
virtual G4double CalculateStep (const G4Track &, const G4double &)=0
 
G4TrackVectorHandle GetReactants ()
 
virtual void ResetReactants ()
 
G4double GetSampledMinTimeStep ()
 
void SetReactionTable (const G4ITReactionTable *)
 
const G4ITReactionTableGetReactionTable ()
 

Static Public Member Functions

static void SetTimes (const G4double &, const G4double &)
 

Protected Attributes

G4double fSampledMinTimeStep
 
G4TrackVectorHandle fReactants
 
const G4ITReactionTablefpReactionTable
 

Static Protected Attributes

static G4double fCurrentGlobalTime = -1
 
static G4double fUserMinTimeStep = -1
 

Detailed Description

Before stepping all tracks G4ITStepManager calls all the G4VITModel which may contain a G4VITTimeStepper (optionnal). G4VITTimeStepper returns what should be the next global time step. Time step that will be used to step all tracks.

Definition at line 55 of file G4VITTimeStepper.hh.

Constructor & Destructor Documentation

◆ G4VITTimeStepper() [1/2]

G4VITTimeStepper::G4VITTimeStepper ( )

Definition at line 41 of file G4VITTimeStepper.cc.

42{
43 fVerbose = 0;
44 fReactants = 0;
47}
G4double fSampledMinTimeStep
G4TrackVectorHandle fReactants
const G4ITReactionTable * fpReactionTable

◆ ~G4VITTimeStepper()

G4VITTimeStepper::~G4VITTimeStepper ( )
virtual

Definition at line 49 of file G4VITTimeStepper.cc.

50{;}

◆ G4VITTimeStepper() [2/2]

G4VITTimeStepper::G4VITTimeStepper ( const G4VITTimeStepper right)

Definition at line 59 of file G4VITTimeStepper.cc.

60{
61 fVerbose = right.fVerbose ;
63 fReactants = 0;
65}

Member Function Documentation

◆ CalculateStep()

virtual G4double G4VITTimeStepper::CalculateStep ( const G4Track ,
const G4double  
)
pure virtual

◆ GetReactants()

G4TrackVectorHandle G4VITTimeStepper::GetReactants ( )
inline

Definition at line 120 of file G4VITTimeStepper.hh.

121{
122 return fReactants ;
123}

◆ GetReactionTable()

const G4ITReactionTable * G4VITTimeStepper::GetReactionTable ( )
inline

Definition at line 105 of file G4VITTimeStepper.hh.

106{
107 return fpReactionTable ;
108}

◆ GetSampledMinTimeStep()

G4double G4VITTimeStepper::GetSampledMinTimeStep ( )
inline

Definition at line 115 of file G4VITTimeStepper.hh.

116{
117 return fSampledMinTimeStep ;
118}

◆ Initialize()

virtual void G4VITTimeStepper::Initialize ( )
inlinevirtual

This macro defined in AddClone_def

Definition at line 69 of file G4VITTimeStepper.hh.

69{;}

Referenced by G4VITModel::Initialize().

◆ operator=()

G4VITTimeStepper & G4VITTimeStepper::operator= ( const G4VITTimeStepper other)

Definition at line 52 of file G4VITTimeStepper.cc.

53{
54 if (this == &rhs) return *this; // handle self assignment
55 //assignment operator
56 return *this;
57}

◆ Prepare()

void G4VITTimeStepper::Prepare ( )
inlinevirtual

Reimplemented in G4DNAMoleculeEncounterStepper.

Definition at line 110 of file G4VITTimeStepper.hh.

111{
112 fReactants = 0 ;
113}

Referenced by G4DNAMoleculeEncounterStepper::Prepare().

◆ ResetReactants()

virtual void G4VITTimeStepper::ResetReactants ( )
inlinevirtual

Definition at line 79 of file G4VITTimeStepper.hh.

79{fReactants = 0;}

◆ SetReactionTable()

void G4VITTimeStepper::SetReactionTable ( const G4ITReactionTable table)
inline

Definition at line 100 of file G4VITTimeStepper.hh.

101{
102 fpReactionTable = table;
103}

Referenced by G4VITModel::Initialize().

◆ SetTimes()

void G4VITTimeStepper::SetTimes ( const G4double currentGlobalTime,
const G4double userMinStepTime 
)
static

Definition at line 67 of file G4VITTimeStepper.cc.

69{
70 fCurrentGlobalTime = currentGlobalTime ;
71 fUserMinTimeStep = userMinStepTime ;
72}
static G4double fUserMinTimeStep
static G4double fCurrentGlobalTime

Referenced by G4ITModelProcessor::InitializeStepper().

Member Data Documentation

◆ fCurrentGlobalTime

G4double G4VITTimeStepper::fCurrentGlobalTime = -1
staticprotected

Definition at line 88 of file G4VITTimeStepper.hh.

Referenced by SetTimes().

◆ fpReactionTable

const G4ITReactionTable* G4VITTimeStepper::fpReactionTable
protected

Definition at line 94 of file G4VITTimeStepper.hh.

Referenced by G4VITTimeStepper(), GetReactionTable(), and SetReactionTable().

◆ fReactants

G4TrackVectorHandle G4VITTimeStepper::fReactants
protected

◆ fSampledMinTimeStep

G4double G4VITTimeStepper::fSampledMinTimeStep
protected

◆ fUserMinTimeStep

G4double G4VITTimeStepper::fUserMinTimeStep = -1
staticprotected

Definition at line 89 of file G4VITTimeStepper.hh.

Referenced by G4DNAMoleculeEncounterStepper::CalculateStep(), and SetTimes().


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