Geant4  10.00.p01
G4UserTimeStepAction Class Reference

G4UserTimeStepAction is used by G4ITStepManager. More...

#include <G4UserTimeStepAction.hh>

Public Member Functions

 G4UserTimeStepAction ()
 
 G4UserTimeStepAction (const G4UserTimeStepAction &)
 
virtual ~G4UserTimeStepAction ()
 
virtual void StartProcessing ()
 
virtual void TimeStepAction ()
 In this method, the user can use : G4ITStepManager::Instance()->GetGlobalTime(), to know the current simulation time G4ITStepManager::Instance()->GetMinTime(), to know the selected minimum time WARNING : The call of this method happens before the call of DoIT methods. More...
 
virtual void UserReactionAction (const G4Track &, const G4Track &, const G4TrackFastVector &, int)
 This method enables to kill products right after they are generated. More...
 
virtual void EndProcessing ()
 

Private Member Functions

G4UserTimeStepActionoperator= (const G4UserTimeStepAction &)
 

Detailed Description

G4UserTimeStepAction is used by G4ITStepManager.

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

Definition at line 54 of file G4UserTimeStepAction.hh.

Constructor & Destructor Documentation

G4UserTimeStepAction::G4UserTimeStepAction ( )

Definition at line 38 of file G4UserTimeStepAction.cc.

G4UserTimeStepAction::G4UserTimeStepAction ( const G4UserTimeStepAction )

Definition at line 44 of file G4UserTimeStepAction.cc.

G4UserTimeStepAction::~G4UserTimeStepAction ( )
virtual

Definition at line 41 of file G4UserTimeStepAction.cc.

Member Function Documentation

virtual void G4UserTimeStepAction::EndProcessing ( )
inlinevirtual

Definition at line 76 of file G4UserTimeStepAction.hh.

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

Definition at line 46 of file G4UserTimeStepAction.cc.

virtual void G4UserTimeStepAction::StartProcessing ( )
inlinevirtual

Definition at line 61 of file G4UserTimeStepAction.hh.

virtual void G4UserTimeStepAction::TimeStepAction ( )
inlinevirtual

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

Definition at line 68 of file G4UserTimeStepAction.hh.

virtual void G4UserTimeStepAction::UserReactionAction ( const G4Track ,
const G4Track ,
const G4TrackFastVector ,
int   
)
inlinevirtual

This method enables to kill products right after they are generated.

Definition at line 73 of file G4UserTimeStepAction.hh.


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