Geant4  10.01.p02
TimeStepAction Class Reference

#include <TimeStepAction.hh>

+ Inheritance diagram for TimeStepAction:
+ Collaboration diagram for TimeStepAction:

Public Member Functions

 TimeStepAction ()
 
virtual ~TimeStepAction ()
 
 TimeStepAction (const TimeStepAction &other)
 
TimeStepActionoperator= (const TimeStepAction &other)
 
virtual void StartProcessing ()
 
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 ()
 
 TimeStepAction ()
 
virtual ~TimeStepAction ()
 
 TimeStepAction (const TimeStepAction &other)
 
TimeStepActionoperator= (const TimeStepAction &other)
 
virtual void StartProcessing ()
 
virtual void UserPreTimeStepAction ()
 In this method, the user can use : G4ITTimeStepper::Instance()->GetGlobalTime(), to know the current simulation time G4ITTimeStepper::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 ()
 
- Public Member Functions inherited from G4UserTimeStepAction
 G4UserTimeStepAction ()
 
 G4UserTimeStepAction (const G4UserTimeStepAction &)
 
virtual ~G4UserTimeStepAction ()
 
virtual void NewStage ()
 

Additional Inherited Members

- Protected Member Functions inherited from G4UserTimeStepAction
void SetMinimumTimeSteps (std::map< double, double > *)
 
void AddTimeStep (double, double)
 

Detailed Description

Definition at line 43 of file TimeStepAction.hh.

Constructor & Destructor Documentation

TimeStepAction::TimeStepAction ( )

Inform G4ITTimeStepper of the selected minimum time steps eg : from 1 picosecond to 10 picosecond, the minimum time step that the TimeStepper can returned is 0.1 picosecond.

Case 1) If the rection model calculates a minimum reaction time bigger than the user defined time step, the reaction model wins

Case 2) If an interaction process with the continuous medium calculates a time step less than the selected minimum time step, the interaction process wins

Definition at line 46 of file TimeStepAction.cc.

References G4UserTimeStepAction::AddTimeStep(), and picosecond.

+ Here is the call graph for this function:

TimeStepAction::~TimeStepAction ( )
virtual

Definition at line 71 of file TimeStepAction.cc.

TimeStepAction::TimeStepAction ( const TimeStepAction other)

Definition at line 77 of file TimeStepAction.cc.

TimeStepAction::TimeStepAction ( )
virtual TimeStepAction::~TimeStepAction ( )
virtual
TimeStepAction::TimeStepAction ( const TimeStepAction other)

Member Function Documentation

void TimeStepAction::EndProcessing ( )
virtual

Reimplemented from G4UserTimeStepAction.

Definition at line 132 of file TimeStepAction.cc.

virtual void TimeStepAction::EndProcessing ( )
inlinevirtual

Reimplemented from G4UserTimeStepAction.

Definition at line 71 of file TimeStepAction.hh.

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

Definition at line 84 of file TimeStepAction.cc.

TimeStepAction& TimeStepAction::operator= ( const TimeStepAction other)
void TimeStepAction::StartProcessing ( )
virtual

Reimplemented from G4UserTimeStepAction.

Definition at line 93 of file TimeStepAction.cc.

virtual void TimeStepAction::StartProcessing ( )
inlinevirtual

Reimplemented from G4UserTimeStepAction.

Definition at line 51 of file TimeStepAction.hh.

void TimeStepAction::UserPostTimeStepAction ( )
virtual

Reimplemented from G4UserTimeStepAction.

Definition at line 109 of file TimeStepAction.cc.

virtual void TimeStepAction::UserPostTimeStepAction ( )
virtual

Reimplemented from G4UserTimeStepAction.

void TimeStepAction::UserPreTimeStepAction ( )
virtual

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 from G4UserTimeStepAction.

Definition at line 103 of file TimeStepAction.cc.

virtual void TimeStepAction::UserPreTimeStepAction ( )
inlinevirtual

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

Reimplemented from G4UserTimeStepAction.

Definition at line 61 of file TimeStepAction.hh.

void TimeStepAction::UserReactionAction ( const G4Track ,
const G4Track ,
const std::vector< G4Track * > &   
)
virtual

Inform about a reaction.

Reimplemented from G4UserTimeStepAction.

Definition at line 118 of file TimeStepAction.cc.

virtual void TimeStepAction::UserReactionAction ( const G4Track ,
const G4Track ,
const std::vector< G4Track * > &   
)
virtual

Inform about a reaction.

Reimplemented from G4UserTimeStepAction.


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