Geant4-11
Public Member Functions | Protected Member Functions | Private Member Functions
G4UserTimeStepAction Class Reference

#include <G4UserTimeStepAction.hh>

Public Member Functions

virtual void EndProcessing ()
 
 G4UserTimeStepAction ()
 
 G4UserTimeStepAction (const G4UserTimeStepAction &)
 
virtual void NewStage ()
 
virtual void StartProcessing ()
 
virtual void UserPostTimeStepAction ()
 
virtual void UserPreTimeStepAction ()
 
virtual void UserReactionAction (const G4Track &, const G4Track &, const std::vector< G4Track * > *)
 
virtual ~G4UserTimeStepAction ()
 

Protected Member Functions

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

Private Member Functions

G4UserTimeStepActionoperator= (const G4UserTimeStepAction &)
 

Detailed Description

G4UserTimeStepAction is used by G4Scheduler.

Definition at line 68 of file G4UserTimeStepAction.hh.

Constructor & Destructor Documentation

◆ G4UserTimeStepAction() [1/2]

G4UserTimeStepAction::G4UserTimeStepAction ( )

Definition at line 38 of file G4UserTimeStepAction.cc.

39{;}

◆ G4UserTimeStepAction() [2/2]

G4UserTimeStepAction::G4UserTimeStepAction ( const G4UserTimeStepAction )

Definition at line 44 of file G4UserTimeStepAction.cc.

44{;}

◆ ~G4UserTimeStepAction()

G4UserTimeStepAction::~G4UserTimeStepAction ( )
virtual

Definition at line 41 of file G4UserTimeStepAction.cc.

42{;}

Member Function Documentation

◆ AddTimeStep()

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

Definition at line 57 of file G4UserTimeStepAction.cc.

58{
59 G4VScheduler::Instance()-> AddTimeStep(startingTime,timeStep);
60}
void AddTimeStep(double, double)
static G4VScheduler * Instance()
Definition: G4VScheduler.cc:48

References AddTimeStep(), and G4VScheduler::Instance().

Referenced by AddTimeStep().

◆ EndProcessing()

virtual void G4UserTimeStepAction::EndProcessing ( )
inlinevirtual

Definition at line 92 of file G4UserTimeStepAction.hh.

92{;}

Referenced by G4Scheduler::Process().

◆ NewStage()

virtual void G4UserTimeStepAction::NewStage ( )
inlinevirtual

Definition at line 76 of file G4UserTimeStepAction.hh.

76{;}

Referenced by G4Scheduler::DoProcess().

◆ operator=()

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

Definition at line 46 of file G4UserTimeStepAction.cc.

47{
48// if (this == &rhs) return *this;
49 return *this;
50}

◆ SetMinimumTimeSteps()

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

Definition at line 52 of file G4UserTimeStepAction.cc.

53{
54 G4VScheduler::Instance()-> SetTimeSteps(timeSteps);
55}

References G4VScheduler::Instance().

◆ StartProcessing()

virtual void G4UserTimeStepAction::StartProcessing ( )
inlinevirtual

Definition at line 75 of file G4UserTimeStepAction.hh.

75{;}

Referenced by G4Scheduler::Process().

◆ UserPostTimeStepAction()

virtual void G4UserTimeStepAction::UserPostTimeStepAction ( )
inlinevirtual

Definition at line 84 of file G4UserTimeStepAction.hh.

84{;}

Referenced by G4Scheduler::Stepping().

◆ 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

Definition at line 83 of file G4UserTimeStepAction.hh.

83{;}

Referenced by G4Scheduler::Stepping().

◆ UserReactionAction()

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

Inform about a reaction

Definition at line 89 of file G4UserTimeStepAction.hh.

91 {;}

Referenced by G4ITModelProcessor::ComputeTrackReaction().


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