Geant4  10.03
G4UserTimeStepAction Class Reference

G4UserTimeStepAction is used by G4Scheduler. More...

#include <G4UserTimeStepAction.hh>

+ Inheritance diagram for G4UserTimeStepAction:

Public Member Functions

 G4UserTimeStepAction ()
 
 G4UserTimeStepAction (const G4UserTimeStepAction &)
 
virtual ~G4UserTimeStepAction ()
 
virtual void StartProcessing ()
 
virtual void NewStage ()
 
virtual void UserPreTimeStepAction ()
 In this method, the user can use : G4Scheduler::Instance()->GetGlobalTime(), to know the current simulation time G4Scheduler::Instance()->GetTimeStep(), to know the selected minimum time WARNING : The call of this method happens before the call of DoIT methods. More...
 
virtual void UserPostTimeStepAction ()
 
virtual void UserReactionAction (const G4Track &, const G4Track &, const std::vector< G4Track * > *)
 Inform about a reaction. More...
 
virtual void EndProcessing ()
 

Protected Member Functions

void SetMinimumTimeSteps (std::map< double, double > *)
 
void AddTimeStep (double, double)
 

Private Member Functions

G4UserTimeStepActionoperator= (const G4UserTimeStepAction &)
 

Detailed Description

G4UserTimeStepAction is used by G4Scheduler.

  • StartProcessing called before processing
  • TimeStepAction called at every global step
  • UserReactionAction called when a reaction occurs
  • EndProcessing called after processing

Definition at line 69 of file G4UserTimeStepAction.hh.

Constructor & Destructor Documentation

G4UserTimeStepAction::G4UserTimeStepAction ( )

Definition at line 39 of file G4UserTimeStepAction.cc.

G4UserTimeStepAction::G4UserTimeStepAction ( const G4UserTimeStepAction )

Definition at line 45 of file G4UserTimeStepAction.cc.

G4UserTimeStepAction::~G4UserTimeStepAction ( )
virtual

Definition at line 42 of file G4UserTimeStepAction.cc.

Member Function Documentation

void G4UserTimeStepAction::AddTimeStep ( double  startingTime,
double  timeStep 
)
protected

Definition at line 58 of file G4UserTimeStepAction.cc.

References G4VScheduler::Instance().

Referenced by TimeStepAction::TimeStepAction().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

virtual void G4UserTimeStepAction::EndProcessing ( )
inlinevirtual

Reimplemented in TimeStepAction, and TimeStepAction.

Definition at line 93 of file G4UserTimeStepAction.hh.

Referenced by G4Scheduler::Process().

+ Here is the caller graph for this function:

virtual void G4UserTimeStepAction::NewStage ( )
inlinevirtual

Definition at line 77 of file G4UserTimeStepAction.hh.

Referenced by G4Scheduler::DoProcess().

+ Here is the caller graph for this function:

G4UserTimeStepAction & G4UserTimeStepAction::operator= ( const G4UserTimeStepAction )
private

Definition at line 47 of file G4UserTimeStepAction.cc.

void G4UserTimeStepAction::SetMinimumTimeSteps ( std::map< double, double > *  timeSteps)
protected

Definition at line 53 of file G4UserTimeStepAction.cc.

References G4VScheduler::Instance().

+ Here is the call graph for this function:

virtual void G4UserTimeStepAction::StartProcessing ( )
inlinevirtual

Reimplemented in TimeStepAction, and TimeStepAction.

Definition at line 76 of file G4UserTimeStepAction.hh.

Referenced by G4Scheduler::Process().

+ Here is the caller graph for this function:

virtual void G4UserTimeStepAction::UserPostTimeStepAction ( )
inlinevirtual

Reimplemented in TimeStepAction, and TimeStepAction.

Definition at line 85 of file G4UserTimeStepAction.hh.

Referenced by G4Scheduler::Stepping().

+ Here is the caller graph for this function:

virtual void G4UserTimeStepAction::UserPreTimeStepAction ( )
inlinevirtual

In this method, the user can use : G4Scheduler::Instance()->GetGlobalTime(), to know the current simulation time G4Scheduler::Instance()->GetTimeStep(), to know the selected minimum time WARNING : The call of this method happens before the call of DoIT methods.

Reimplemented in TimeStepAction, and TimeStepAction.

Definition at line 84 of file G4UserTimeStepAction.hh.

Referenced by G4Scheduler::Stepping().

+ Here is the caller graph for this function:

virtual void G4UserTimeStepAction::UserReactionAction ( const G4Track ,
const G4Track ,
const std::vector< G4Track * > *   
)
inlinevirtual

Inform about a reaction.

Reimplemented in TimeStepAction, and TimeStepAction.

Definition at line 90 of file G4UserTimeStepAction.hh.

Referenced by G4ITModelProcessor::ComputeTrackReaction().

+ Here is the caller graph for this function:


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