Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4UserReactionAction Class Reference

#include <G4UserReactionAction.hh>

Public Member Functions

 G4UserReactionAction ()
 
 G4UserReactionAction (const G4UserReactionAction &)
 
virtual ~G4UserReactionAction ()
 
virtual void StartProcessing ()
 
virtual void TimeStepAction ()
 
virtual void UserReactionAction (const G4Track &, const G4Track &, const G4TrackFastVector &, int)
 
virtual void EndProcessing ()
 

Detailed Description

G4UserReactionAction 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 G4UserReactionAction.hh.

Constructor & Destructor Documentation

◆ G4UserReactionAction() [1/2]

G4UserReactionAction::G4UserReactionAction ( )

Definition at line 38 of file G4UserReactionAction.cc.

39{;}

◆ G4UserReactionAction() [2/2]

G4UserReactionAction::G4UserReactionAction ( const G4UserReactionAction )

Definition at line 44 of file G4UserReactionAction.cc.

44{;}

◆ ~G4UserReactionAction()

G4UserReactionAction::~G4UserReactionAction ( )
virtual

Definition at line 41 of file G4UserReactionAction.cc.

42{;}

Member Function Documentation

◆ EndProcessing()

virtual void G4UserReactionAction::EndProcessing ( )
inlinevirtual

Definition at line 76 of file G4UserReactionAction.hh.

76{;}

◆ StartProcessing()

virtual void G4UserReactionAction::StartProcessing ( )
inlinevirtual

Definition at line 61 of file G4UserReactionAction.hh.

61{;}

◆ TimeStepAction()

virtual void G4UserReactionAction::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 G4UserReactionAction.hh.

68{;}

◆ UserReactionAction()

virtual void G4UserReactionAction::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 G4UserReactionAction.hh.

75 {;}

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