Geant4 10.7.0
Toolkit for the simulation of the passage of particles through matter
|
#include <G4ITModelProcessor.hh>
Public Member Functions | |
G4ITModelProcessor () | |
G4ITModelProcessor (const G4ITModelProcessor &other)=delete | |
G4ITModelProcessor & | operator= (const G4ITModelProcessor &other)=delete |
virtual | ~G4ITModelProcessor () |
void | SetModelHandler (G4ITModelHandler *) |
void | SetTrackingManager (G4ITTrackingManager *trackingManager) |
void | Initialize () |
void | RegisterModel (double time, G4VITStepModel *) |
void | CleanProcessor () |
G4double | CalculateMinTimeStep (G4double currentGlobalTime, G4double definedMinTimeStep) |
void | ComputeTrackReaction (G4ITStepStatus fITStepStatus, G4double fGlobalTime, G4double currentTimeStep, G4double previousTimeStep, G4bool reachedUserTimeLimit, G4double fTimeTolerance, G4UserTimeStepAction *fpUserTimeStepAction, G4int fVerbose) |
void | InitializeStepper (G4double currentGlobalTime, G4double userMinTime) |
bool | GetComputeTimeStep () const |
const G4Track * | GetTrack () const |
Protected Member Functions | |
void | SetTrack (const G4Track *) |
Protected Attributes | |
G4double | fTSTimeStep |
G4ITReactionSet * | fReactionSet |
G4ITTrackingManager * | fpTrackingManager |
G4ITTrackHolder * | fpTrackContainer |
G4bool | fInitialized |
G4ITModelHandler * | fpModelHandler |
const G4Track * | fpTrack |
G4double | fUserMinTimeStep |
std::vector< G4VITStepModel * > | fActiveModels |
G4VITStepModel * | fpActiveModelWithMinTimeStep |
std::vector< std::unique_ptr< G4ITReactionChange > > | fReactionInfo |
bool | fComputeTimeStep |
bool | fComputeReaction |
The G4ITModelProcessor will call the two processes defined in G4VITModel. This processes act at the beginning and end of each step. The first one, the TimeStepper will calculate a time step to propagate all the track and eventually it can return some tracks that can likely react at the end of the step. The second one, the ReactionProcess will make the tracks reacting.
Definition at line 71 of file G4ITModelProcessor.hh.
G4ITModelProcessor::G4ITModelProcessor | ( | ) |
Definition at line 53 of file G4ITModelProcessor.cc.
|
delete |
|
virtualdefault |
G4double G4ITModelProcessor::CalculateMinTimeStep | ( | G4double | currentGlobalTime, |
G4double | definedMinTimeStep | ||
) |
Definition at line 93 of file G4ITModelProcessor.cc.
Referenced by G4Scheduler::Stepping().
void G4ITModelProcessor::CleanProcessor | ( | ) |
Restore the original state. This method should be called only by G4Scheduler
Definition at line 373 of file G4ITModelProcessor.cc.
void G4ITModelProcessor::ComputeTrackReaction | ( | G4ITStepStatus | fITStepStatus, |
G4double | fGlobalTime, | ||
G4double | currentTimeStep, | ||
G4double | previousTimeStep, | ||
G4bool | reachedUserTimeLimit, | ||
G4double | fTimeTolerance, | ||
G4UserTimeStepAction * | fpUserTimeStepAction, | ||
G4int | fVerbose | ||
) |
Definition at line 171 of file G4ITModelProcessor.cc.
Referenced by G4Scheduler::Stepping().
bool G4ITModelProcessor::GetComputeTimeStep | ( | ) | const |
Definition at line 378 of file G4ITModelProcessor.cc.
Referenced by G4Scheduler::Stepping().
const G4Track * G4ITModelProcessor::GetTrack | ( | ) | const |
Definition at line 383 of file G4ITModelProcessor.cc.
void G4ITModelProcessor::Initialize | ( | ) |
Definition at line 75 of file G4ITModelProcessor.cc.
Referenced by G4Scheduler::Process().
Definition at line 144 of file G4ITModelProcessor.cc.
Referenced by CalculateMinTimeStep().
|
delete |
void G4ITModelProcessor::RegisterModel | ( | double | time, |
G4VITStepModel * | model | ||
) |
Definition at line 70 of file G4ITModelProcessor.cc.
void G4ITModelProcessor::SetModelHandler | ( | G4ITModelHandler * | pModelHandler | ) |
Definition at line 360 of file G4ITModelProcessor.cc.
Referenced by G4Scheduler::Initialize().
|
protected |
Definition at line 355 of file G4ITModelProcessor.cc.
void G4ITModelProcessor::SetTrackingManager | ( | G4ITTrackingManager * | trackingManager | ) |
Definition at line 388 of file G4ITModelProcessor.cc.
Referenced by G4Scheduler::Initialize().
|
protected |
Definition at line 123 of file G4ITModelProcessor.hh.
Referenced by CalculateMinTimeStep(), and InitializeStepper().
|
protected |
Definition at line 129 of file G4ITModelProcessor.hh.
Referenced by G4ITModelProcessor(), and Initialize().
|
protected |
Definition at line 128 of file G4ITModelProcessor.hh.
Referenced by G4ITModelProcessor(), GetComputeTimeStep(), and Initialize().
|
protected |
Definition at line 117 of file G4ITModelProcessor.hh.
Referenced by G4ITModelProcessor(), Initialize(), and SetModelHandler().
|
protected |
Definition at line 124 of file G4ITModelProcessor.hh.
Referenced by CalculateMinTimeStep(), ComputeTrackReaction(), and G4ITModelProcessor().
|
protected |
Definition at line 118 of file G4ITModelProcessor.hh.
Referenced by G4ITModelProcessor(), Initialize(), InitializeStepper(), RegisterModel(), and SetModelHandler().
|
protected |
Definition at line 120 of file G4ITModelProcessor.hh.
Referenced by CleanProcessor(), G4ITModelProcessor(), GetTrack(), and SetTrack().
|
protected |
Definition at line 115 of file G4ITModelProcessor.hh.
Referenced by ComputeTrackReaction(), G4ITModelProcessor(), and Initialize().
|
protected |
Definition at line 114 of file G4ITModelProcessor.hh.
Referenced by ComputeTrackReaction(), G4ITModelProcessor(), and SetTrackingManager().
|
protected |
Definition at line 126 of file G4ITModelProcessor.hh.
Referenced by ComputeTrackReaction().
|
protected |
Definition at line 113 of file G4ITModelProcessor.hh.
Referenced by CalculateMinTimeStep(), ComputeTrackReaction(), G4ITModelProcessor(), and Initialize().
|
protected |
Definition at line 112 of file G4ITModelProcessor.hh.
Referenced by CalculateMinTimeStep(), and G4ITModelProcessor().
|
protected |
Definition at line 121 of file G4ITModelProcessor.hh.
Referenced by G4ITModelProcessor().