Geant4  10.02.p03
G4UserTimeStepAction Class Reference

#include <G4UserTimeStepAction.hh>

Inheritance diagram for G4UserTimeStepAction:
Collaboration diagram for G4UserTimeStepAction:

Public Member Functions

 G4UserTimeStepAction ()
 
 G4UserTimeStepAction (const G4UserTimeStepAction &)
 
virtual ~G4UserTimeStepAction ()
 
virtual void StartProcessing ()
 
virtual void NewStage ()
 
virtual void UserPreTimeStepAction ()
 
virtual void UserPostTimeStepAction ()
 
virtual void UserReactionAction (const G4Track &, const G4Track &, const std::vector< G4Track *> *)
 
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() [1/2]

G4UserTimeStepAction::G4UserTimeStepAction ( )

Definition at line 39 of file G4UserTimeStepAction.cc.

40 {;}

◆ G4UserTimeStepAction() [2/2]

G4UserTimeStepAction::G4UserTimeStepAction ( const G4UserTimeStepAction )

Definition at line 45 of file G4UserTimeStepAction.cc.

45 {;}

◆ ~G4UserTimeStepAction()

G4UserTimeStepAction::~G4UserTimeStepAction ( )
virtual

Definition at line 42 of file G4UserTimeStepAction.cc.

43 {;}

Member Function Documentation

◆ AddTimeStep()

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

Definition at line 58 of file G4UserTimeStepAction.cc.

59 {
60  G4VScheduler::Instance()-> AddTimeStep(startingTime,timeStep);
61 }
static G4VScheduler * Instance()
Definition: G4VScheduler.cc:48
void AddTimeStep(double, double)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ EndProcessing()

virtual void G4UserTimeStepAction::EndProcessing ( )
inlinevirtual

Reimplemented in TimeStepAction, and TimeStepAction.

Definition at line 93 of file G4UserTimeStepAction.hh.

93 {;}
Here is the call graph for this function:
Here is the caller graph for this function:

◆ NewStage()

virtual void G4UserTimeStepAction::NewStage ( )
inlinevirtual

Definition at line 77 of file G4UserTimeStepAction.hh.

77 {;}
Here is the caller graph for this function:

◆ operator=()

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

Definition at line 47 of file G4UserTimeStepAction.cc.

48 {
49 // if (this == &rhs) return *this;
50  return *this;
51 }
Here is the caller graph for this function:

◆ SetMinimumTimeSteps()

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

Definition at line 53 of file G4UserTimeStepAction.cc.

54 {
55  G4VScheduler::Instance()-> SetTimeSteps(timeSteps);
56 }
static G4VScheduler * Instance()
Definition: G4VScheduler.cc:48
Here is the call graph for this function:
Here is the caller graph for this function:

◆ StartProcessing()

virtual void G4UserTimeStepAction::StartProcessing ( )
inlinevirtual

Reimplemented in TimeStepAction, and TimeStepAction.

Definition at line 76 of file G4UserTimeStepAction.hh.

76 {;}
Here is the caller graph for this function:

◆ UserPostTimeStepAction()

virtual void G4UserTimeStepAction::UserPostTimeStepAction ( )
inlinevirtual

Reimplemented in TimeStepAction, and TimeStepAction.

Definition at line 85 of file G4UserTimeStepAction.hh.

85 {;}
Here is the caller graph for this function:

◆ UserPreTimeStepAction()

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.

84 {;}
Here is the caller graph for this function:

◆ UserReactionAction()

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.

92  {;}
Here is the caller graph for this function:

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