Geant4  10.03.p01
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
G4VITTimeStepComputer Class Referenceabstract

#include <G4VITTimeStepComputer.hh>

Inheritance diagram for G4VITTimeStepComputer:
Collaboration diagram for G4VITTimeStepComputer:

Public Member Functions

 G4VITTimeStepComputer ()
 
virtual ~G4VITTimeStepComputer ()
 
 G4VITTimeStepComputer (const G4VITTimeStepComputer &)
 
G4VITTimeStepComputeroperator= (const G4VITTimeStepComputer &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 G4ThreadLocal G4double fCurrentGlobalTime = -1
 
static G4ThreadLocal G4double fUserMinTimeStep = -1
 

Detailed Description

Before stepping all tracks G4Scheduler 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 70 of file G4VITTimeStepComputer.hh.

Constructor & Destructor Documentation

G4VITTimeStepComputer::G4VITTimeStepComputer ( )

Definition at line 41 of file G4VITTimeStepComputer.cc.

42 {
43  fVerbose = 0;
44 // fReactants = 0;
45  fReactants.reset();
47  fpReactionTable = 0;
48 }
const G4ITReactionTable * fpReactionTable
G4TrackVectorHandle fReactants
G4VITTimeStepComputer::~G4VITTimeStepComputer ( )
virtual

Definition at line 50 of file G4VITTimeStepComputer.cc.

51 {;}
G4VITTimeStepComputer::G4VITTimeStepComputer ( const G4VITTimeStepComputer right)

Definition at line 60 of file G4VITTimeStepComputer.cc.

61 {
62  fVerbose = right.fVerbose ;
64 // fReactants = 0;
65  fReactants .reset();
67 }
const G4ITReactionTable * fpReactionTable
G4TrackVectorHandle fReactants

Member Function Documentation

virtual G4double G4VITTimeStepComputer::CalculateStep ( const G4Track ,
const G4double  
)
pure virtual
G4TrackVectorHandle G4VITTimeStepComputer::GetReactants ( )
inline

Definition at line 138 of file G4VITTimeStepComputer.hh.

139 {
140  return fReactants ;
141 }
G4TrackVectorHandle fReactants
const G4ITReactionTable * G4VITTimeStepComputer::GetReactionTable ( )
inline

Definition at line 122 of file G4VITTimeStepComputer.hh.

123 {
124  return fpReactionTable ;
125 }
const G4ITReactionTable * fpReactionTable
G4double G4VITTimeStepComputer::GetSampledMinTimeStep ( )
inline

Definition at line 133 of file G4VITTimeStepComputer.hh.

134 {
135  return fSampledMinTimeStep ;
136 }
virtual void G4VITTimeStepComputer::Initialize ( )
inlinevirtual

This macro defined in AddClone_def

Definition at line 84 of file G4VITTimeStepComputer.hh.

84 {;}

Here is the caller graph for this function:

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

Definition at line 53 of file G4VITTimeStepComputer.cc.

54 {
55  if (this == &rhs) return *this; // handle self assignment
56  //assignment operator
57  return *this;
58 }
void G4VITTimeStepComputer::Prepare ( )
inlinevirtual

Reimplemented in G4DNAMoleculeEncounterStepper.

Definition at line 127 of file G4VITTimeStepComputer.hh.

128 {
129 // fReactants = 0 ;
130  fReactants.reset() ;
131 }
G4TrackVectorHandle fReactants

Here is the caller graph for this function:

virtual void G4VITTimeStepComputer::ResetReactants ( )
inlinevirtual

Definition at line 94 of file G4VITTimeStepComputer.hh.

96  {fReactants.reset();}
G4TrackVectorHandle fReactants

Here is the caller graph for this function:

void G4VITTimeStepComputer::SetReactionTable ( const G4ITReactionTable table)
inline

Definition at line 117 of file G4VITTimeStepComputer.hh.

118 {
119  fpReactionTable = table;
120 }
const G4ITReactionTable * fpReactionTable

Here is the caller graph for this function:

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

Definition at line 69 of file G4VITTimeStepComputer.cc.

71 {
72  fCurrentGlobalTime = currentGlobalTime ;
73  fUserMinTimeStep = userMinStepTime ;
74 }
static G4ThreadLocal G4double fCurrentGlobalTime
static G4ThreadLocal G4double fUserMinTimeStep

Here is the caller graph for this function:

Member Data Documentation

G4ThreadLocal G4double G4VITTimeStepComputer::fCurrentGlobalTime = -1
staticprotected

Definition at line 105 of file G4VITTimeStepComputer.hh.

const G4ITReactionTable* G4VITTimeStepComputer::fpReactionTable
protected

Definition at line 111 of file G4VITTimeStepComputer.hh.

G4TrackVectorHandle G4VITTimeStepComputer::fReactants
protected

Definition at line 109 of file G4VITTimeStepComputer.hh.

G4double G4VITTimeStepComputer::fSampledMinTimeStep
protected

Definition at line 108 of file G4VITTimeStepComputer.hh.

G4ThreadLocal G4double G4VITTimeStepComputer::fUserMinTimeStep = -1
staticprotected

Definition at line 106 of file G4VITTimeStepComputer.hh.


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