Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
|
#include <G4ITModelProcessor.hh>
Public Member Functions | |
G4ITModelProcessor () | |
virtual | ~G4ITModelProcessor () |
void | SetModelHandler (G4ITModelHandler *) |
void | Initialize () |
void | CleanProcessor () |
void | InitializeStepper (const G4double ¤tGlobalTime, const G4double &userMinTime) |
void | CalculateTimeStep (const G4Track *, const G4double) |
void | DoCalculateStep () |
void | FindReaction (std::map< G4Track *, G4TrackVectorHandle > *, const double currentStepTime, const double previousStepTime, const bool reachedUserStepTimeLimit) |
const std::vector< std::vector< G4VITModel * > > * | GetCurrentModel () |
std::vector< G4ITReactionChange * > * | GetReactionInfo () |
const G4Track * | GetTrack () const |
Protected Member Functions | |
void | SetTrack (const G4Track *) |
G4ITModelProcessor (const G4ITModelProcessor &other) | |
G4ITModelProcessor & | operator= (const G4ITModelProcessor &other) |
Protected Attributes | |
G4bool | fInitialized |
G4ITModelHandler * | fpModelHandler |
const G4Track * | fpTrack |
G4double | fUserMinTimeStep |
std::vector< std::vector< G4VITModel * > > | fCurrentModel |
G4VITModel * | fpModel |
G4ITModelManager * | fpModelManager |
G4ITType | fCurrentType1 |
G4ITType | fCurrentType2 |
std::vector< G4ITReactionChange * > | fReactionInfo |
Static Protected Attributes | |
static std::map< const G4Track *, G4bool > | fHasReacted |
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 62 of file G4ITModelProcessor.hh.
G4ITModelProcessor::G4ITModelProcessor | ( | ) |
Default constructor
Definition at line 42 of file G4ITModelProcessor.cc.
|
virtual |
Default destructor
Definition at line 59 of file G4ITModelProcessor.cc.
|
protected |
Copy constructor
other | Object to copy from |
Definition at line 68 of file G4ITModelProcessor.cc.
void G4ITModelProcessor::CalculateTimeStep | ( | const G4Track * | track, |
const G4double | userMinTimeStep | ||
) |
Definition at line 156 of file G4ITModelProcessor.cc.
|
inline |
Restaure original state of the modelProcessor. This method should be call only by the ITStepManager
Definition at line 178 of file G4ITModelProcessor.hh.
Referenced by CalculateTimeStep().
void G4ITModelProcessor::DoCalculateStep | ( | ) |
Definition at line 174 of file G4ITModelProcessor.cc.
Referenced by CalculateTimeStep().
void G4ITModelProcessor::FindReaction | ( | std::map< G4Track *, G4TrackVectorHandle > * | tracks, |
const double | currentStepTime, | ||
const double | previousStepTime, | ||
const bool | reachedUserStepTimeLimit | ||
) |
Get track A
Definition at line 193 of file G4ITModelProcessor.cc.
|
inline |
Definition at line 161 of file G4ITModelProcessor.hh.
|
inline |
Definition at line 104 of file G4ITModelProcessor.hh.
Definition at line 109 of file G4ITModelProcessor.hh.
void G4ITModelProcessor::Initialize | ( | ) |
Definition at line 87 of file G4ITModelProcessor.cc.
void G4ITModelProcessor::InitializeStepper | ( | const G4double & | currentGlobalTime, |
const G4double & | userMinTime | ||
) |
Definition at line 94 of file G4ITModelProcessor.cc.
|
protected |
Assignment operator
other | Object to assign from |
Definition at line 80 of file G4ITModelProcessor.cc.
|
inline |
Definition at line 166 of file G4ITModelProcessor.hh.
Definition at line 156 of file G4ITModelProcessor.hh.
Referenced by CalculateTimeStep().
|
protected |
Definition at line 136 of file G4ITModelProcessor.hh.
Referenced by DoCalculateStep(), FindReaction(), G4ITModelProcessor(), GetCurrentModel(), InitializeStepper(), and ~G4ITModelProcessor().
|
protected |
Definition at line 144 of file G4ITModelProcessor.hh.
|
protected |
Definition at line 145 of file G4ITModelProcessor.hh.
Definition at line 149 of file G4ITModelProcessor.hh.
Referenced by FindReaction().
|
protected |
Definition at line 128 of file G4ITModelProcessor.hh.
Referenced by G4ITModelProcessor(), Initialize(), and SetModelHandler().
|
protected |
Definition at line 140 of file G4ITModelProcessor.hh.
Referenced by DoCalculateStep(), G4ITModelProcessor(), and InitializeStepper().
|
protected |
Definition at line 129 of file G4ITModelProcessor.hh.
Referenced by FindReaction(), G4ITModelProcessor(), Initialize(), InitializeStepper(), and SetModelHandler().
|
protected |
Definition at line 141 of file G4ITModelProcessor.hh.
Referenced by G4ITModelProcessor(), and InitializeStepper().
Definition at line 131 of file G4ITModelProcessor.hh.
Referenced by CleanProcessor(), DoCalculateStep(), G4ITModelProcessor(), GetTrack(), and SetTrack().
|
protected |
Definition at line 148 of file G4ITModelProcessor.hh.
Referenced by FindReaction(), GetReactionInfo(), and ~G4ITModelProcessor().
|
protected |
Definition at line 132 of file G4ITModelProcessor.hh.
Referenced by CalculateTimeStep(), DoCalculateStep(), and G4ITModelProcessor().