Geant4
10.01.p03
|
The G4ITModelProcessor will call the two processes defined in G4VITModel. More...
#include <G4ITModelProcessor.hh>
Public Member Functions | |
G4ITModelProcessor () | |
virtual | ~G4ITModelProcessor () |
void | SetModelHandler (G4ITModelHandler *) |
void | Initialize () |
void | CleanProcessor () |
Restaure original state of the modelProcessor. More... | |
void | InitializeStepper (const G4double ¤tGlobalTime, const G4double &userMinTime) |
void | CalculateTimeStep (const G4Track *, const G4double) |
void | DoCalculateStep () |
void | FindReaction (G4ITReactionSet *reactionSet, const double currentStepTime, const double previousStepTime, const bool reachedUserStepTimeLimit) |
const std::vector< std::vector < G4VITStepModel * > > * | GetCurrentModel () |
std::vector < G4ITReactionChange * > * | GetReactionInfo () |
const G4Track * | GetTrack () const |
Protected Member Functions | |
void | SetTrack (const G4Track *) |
G4ITModelProcessor (const G4ITModelProcessor &other) | |
Copy constructor. More... | |
G4ITModelProcessor & | operator= (const G4ITModelProcessor &other) |
Assignment operator. More... | |
Protected Attributes | |
G4bool | fInitialized |
G4ITModelHandler * | fpModelHandler |
const G4Track * | fpTrack |
G4double | fUserMinTimeStep |
std::vector< std::vector < G4VITStepModel * > > | fCurrentModel |
G4VITStepModel * | fpModel |
G4ITModelManager * | fpModelManager |
G4ITType | fCurrentType1 |
G4ITType | fCurrentType2 |
std::vector< G4ITReactionChange * > | fReactionInfo |
Static Protected Attributes | |
static G4ThreadLocal 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 79 of file G4ITModelProcessor.hh.
G4ITModelProcessor::G4ITModelProcessor | ( | ) |
Definition at line 52 of file G4ITModelProcessor.cc.
References G4ITType::size().
|
virtual |
Definition at line 70 of file G4ITModelProcessor.cc.
|
protected |
Copy constructor.
other | Object to copy from |
Definition at line 79 of file G4ITModelProcessor.cc.
void G4ITModelProcessor::CalculateTimeStep | ( | const G4Track * | track, |
const G4double | userMinTimeStep | ||
) |
Definition at line 183 of file G4ITModelProcessor.cc.
References FatalErrorInArgument, and G4Exception().
Referenced by G4Scheduler::CalculateMinTimeStep().
|
inline |
Restaure original state of the modelProcessor.
This method should be call only by the G4Scheduler
Definition at line 191 of file G4ITModelProcessor.hh.
References fpTrack.
Referenced by G4Scheduler::ExtractTimeStepperData().
void G4ITModelProcessor::DoCalculateStep | ( | ) |
Definition at line 202 of file G4ITModelProcessor.cc.
References GetIT(), and G4IT::GetITType().
void G4ITModelProcessor::FindReaction | ( | G4ITReactionSet * | reactionSet, |
const double | currentStepTime, | ||
const double | previousStepTime, | ||
const bool | reachedUserStepTimeLimit | ||
) |
Definition at line 222 of file G4ITModelProcessor.cc.
References FatalErrorInArgument, fStopAndKill, G4Exception(), GetIT(), G4IT::GetITType(), G4ITReactionSet::GetReactionMap(), G4Track::GetTrackStatus(), G4VITReactionProcess::MakeReaction(), G4VITReactionProcess::ResetChanges(), G4ITReactionSet::SelectThisReaction(), and G4VITReactionProcess::TestReactibility().
Referenced by G4Scheduler::ComputeTrackReaction().
|
inline |
Definition at line 173 of file G4ITModelProcessor.hh.
References fCurrentModel.
Referenced by G4Scheduler::ExtractTimeStepperData().
|
inline |
Definition at line 117 of file G4ITModelProcessor.hh.
References fReactionInfo.
Referenced by G4Scheduler::ComputeTrackReaction().
|
inline |
Definition at line 122 of file G4ITModelProcessor.hh.
References fpTrack.
Referenced by G4Scheduler::ExtractTimeStepperData().
void G4ITModelProcessor::Initialize | ( | ) |
Definition at line 98 of file G4ITModelProcessor.cc.
Referenced by G4Scheduler::Process().
void G4ITModelProcessor::InitializeStepper | ( | const G4double & | currentGlobalTime, |
const G4double & | userMinTime | ||
) |
Definition at line 105 of file G4ITModelProcessor.cc.
References FatalErrorInArgument, G4cout, G4endl, G4Exception(), G4ITModelManager::GetModel(), G4VITStepModel::GetTimeStepper(), G4MemStat::MemoryUsage(), G4VITTimeStepComputer::Prepare(), and G4VITTimeStepComputer::SetTimes().
Referenced by G4Scheduler::CalculateMinTimeStep().
|
protected |
Assignment operator.
other | Object to assign from |
Definition at line 91 of file G4ITModelProcessor.cc.
|
inline |
Definition at line 178 of file G4ITModelProcessor.hh.
References FatalErrorInArgument, fInitialized, fpModelHandler, and G4Exception().
Referenced by G4Scheduler::Initialize().
|
inlineprotected |
Definition at line 168 of file G4ITModelProcessor.hh.
References fpTrack.
|
protected |
Definition at line 148 of file G4ITModelProcessor.hh.
Referenced by GetCurrentModel().
|
protected |
Definition at line 156 of file G4ITModelProcessor.hh.
|
protected |
Definition at line 157 of file G4ITModelProcessor.hh.
|
staticprotected |
Definition at line 161 of file G4ITModelProcessor.hh.
|
protected |
Definition at line 140 of file G4ITModelProcessor.hh.
Referenced by SetModelHandler().
|
protected |
Definition at line 152 of file G4ITModelProcessor.hh.
|
protected |
Definition at line 141 of file G4ITModelProcessor.hh.
Referenced by SetModelHandler().
|
protected |
Definition at line 153 of file G4ITModelProcessor.hh.
|
protected |
Definition at line 143 of file G4ITModelProcessor.hh.
Referenced by CleanProcessor(), GetTrack(), and SetTrack().
|
protected |
Definition at line 160 of file G4ITModelProcessor.hh.
Referenced by GetReactionInfo().
|
protected |
Definition at line 144 of file G4ITModelProcessor.hh.