Loading...
Searching...
No Matches
Public Member Functions | List of all members
scavenger::TimeStepAction Class Reference

#include <Doxymodules_medical.h>

Inheritance diagram for scavenger::TimeStepAction:
G4UserTimeStepAction

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 : 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.
 
virtual void UserPostTimeStepAction ()
 
virtual void UserReactionAction (const G4Track &, const G4Track &, const std::vector< G4Track * > *)
 Inform about a reaction.
 
virtual void EndProcessing ()
 
void Clear ()
 

Detailed Description

Definition at line 355 of file Doxymodules_medical.h.

Constructor & Destructor Documentation

◆ TimeStepAction() [1/2]

scavenger::TimeStepAction::TimeStepAction ( )

Give to G4ITTimeStepper the user defined time steps eg : from 1 picosecond to 10 picosecond, the minimum time step that the TimeStepper can returned is 0.1 picosecond. Those time steps are used for the chemistry of G4DNA This method is not recommended for IRT method

Definition at line 36 of file TimeStepAction.cc.

37{
38 /**
39 * Give to G4ITTimeStepper the user defined time steps
40 * eg : from 1 picosecond to 10 picosecond, the minimum time
41 * step that the TimeStepper can returned is 0.1 picosecond.
42 * Those time steps are used for the chemistry of G4DNA
43 * This method is not recommended for IRT method
44 */
45 /*
46 AddTimeStep(1*picosecond, 0.3*picosecond);
47 AddTimeStep(10*picosecond, 1*picosecond);
48 AddTimeStep(100*picosecond, 3*picosecond);
49 AddTimeStep(1000*picosecond, 10*picosecond);
50 AddTimeStep(10000*picosecond, 100*picosecond);
51 */
52}

◆ ~TimeStepAction()

scavenger::TimeStepAction::~TimeStepAction ( )
virtual

Definition at line 56 of file TimeStepAction.cc.

57{
58}

◆ TimeStepAction() [2/2]

scavenger::TimeStepAction::TimeStepAction ( const TimeStepAction other)

Definition at line 62 of file TimeStepAction.cc.

62 :
64{
65}

Member Function Documentation

◆ operator=()

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

Definition at line 70 of file TimeStepAction.cc.

71{
72 if (this == &rhs) return *this; // handle self assignment
73 //assignment operator
74 return *this;
75}

◆ StartProcessing()

virtual void scavenger::TimeStepAction::StartProcessing ( )
inlinevirtual

Definition at line 45 of file TimeStepAction.hh.

45{;}

◆ UserPreTimeStepAction()

void scavenger::TimeStepAction::UserPreTimeStepAction ( )
virtual

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 78 of file TimeStepAction.cc.

79{
80}

◆ UserPostTimeStepAction()

void scavenger::TimeStepAction::UserPostTimeStepAction ( )
virtual

Definition at line 84 of file TimeStepAction.cc.

85{
86}

◆ UserReactionAction()

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

Inform about a reaction.

Reimplemented from G4UserTimeStepAction.

Definition at line 96 of file TimeStepAction.cc.

99{
100// G4cout<<trackA.GetTrackID()<<" + "<<trackB.GetTrackID()<<'\n';
101}

◆ EndProcessing()

virtual void scavenger::TimeStepAction::EndProcessing ( )
inlinevirtual

Definition at line 65 of file TimeStepAction.hh.

65{;}

◆ Clear()

void scavenger::TimeStepAction::Clear ( )

Definition at line 90 of file TimeStepAction.cc.

91{
92}

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

Applications | User Support | Publications | Collaboration