Geant4
10.01.p02
|
Its role is the same as G4StepManager : More...
#include <G4ITStepProcessor.hh>
Classes | |
class | G4ITStepProcessorState |
struct | ProcessGeneralInfo |
Public Member Functions | |
G4ITStepProcessor () | |
virtual | ~G4ITStepProcessor () |
void | SetPreviousStepTime (G4double) |
G4Track * | GetTrack () |
G4Step * | GetStep () |
const G4Step * | GetStep () const |
void | SetStep (G4Step *val) |
G4TrackVector * | GetSecondaries () |
void | SetTrackingManager (G4ITTrackingManager *trackMan) |
G4ITTrackingManager * | GetTrackingManager () |
virtual void | Initialize () |
void | ForceReInitialization () |
void | DefinePhysicalStepLength (G4Track *) |
void | Stepping (G4Track *, const double &) |
void | FindTransportationStep () |
double | GetInteractionTime () |
const G4Track * | GetTrack () const |
void | CleanProcessor () |
Protected Member Functions | |
void | SetupGeneralProcessInfo (G4ParticleDefinition *, G4ProcessManager *) |
void | ClearProcessInfo () |
void | SetTrack (G4Track *) |
void | GetProcessInfo () |
void | SetupMembers () |
void | ResetSecondaries () |
void | InitDefineStep () |
void | SetInitialStep () |
void | GetAtRestIL () |
void | DoDefinePhysicalStepLength () |
void | DoStepping () |
void | ActiveOnlyITProcess () |
void | ActiveOnlyITProcess (G4ProcessManager *) |
void | DealWithSecondaries (G4int &) |
void | InvokeAtRestDoItProcs () |
void | InvokeAlongStepDoItProcs () |
void | InvokePostStepDoItProcs () |
void | InvokePSDIP (size_t) |
void | InvokeTransportationProc () |
void | SetNavigator (G4ITNavigator *value) |
G4double | CalculateSafety () |
void | ApplyProductionCut (G4Track *) |
G4ITStepProcessor (const G4ITStepProcessor &other) | |
G4ITStepProcessor & | operator= (const G4ITStepProcessor &other) |
Its role is the same as G4StepManager :
Definition at line 89 of file G4ITStepProcessor.hh.
G4ITStepProcessor::G4ITStepProcessor | ( | ) |
Definition at line 63 of file G4ITStepProcessor.cc.
References DBL_MAX.
|
virtual |
Definition at line 194 of file G4ITStepProcessor.cc.
References ClearProcessInfo(), G4Step::DeleteSecondaryVector(), fpSecondary, and fpStep.
|
protected |
Definition at line 210 of file G4ITStepProcessor.cc.
References CleanProcessor(), DBL_MAX, fInitialized, fpNavigator, fPreviousTimeStep, fpTrackingManager, fStoreTrajectory, kCarTolerance, ResetSecondaries(), and verboseLevel.
|
protected |
Definition at line 237 of file G4ITStepProcessor.cc.
References FatalException, G4cerr, G4cout, G4endl, G4Exception(), G4ParticleTable::GetIterator(), G4ParticleDefinition::GetParticleName(), G4ParticleTable::GetParticleTable(), G4ParticleDefinition::GetPDGEncoding(), G4ParticleDefinition::GetProcessManager(), G4ParticleTableIterator< K, V >::reset(), theParticleIterator, and G4ParticleTableIterator< K, V >::value().
|
protected |
Definition at line 270 of file G4ITStepProcessor.cc.
References G4ProcessManager::GetProcessList(), G4ProcessManager::SetProcessActivation(), and G4ProcessVector::size().
|
protected |
Definition at line 676 of file G4ITStepProcessor2.cc.
References DBL_MIN, G4DynamicParticle::GetCharge(), G4ProductionCutsTable::GetCoupleIndex(), G4Track::GetDefinition(), G4Track::GetDynamicParticle(), G4ProductionCutsTable::GetEnergyCutsVector(), G4ProductionCuts::GetIndex(), G4Track::GetKineticEnergy(), G4ProductionCutsTable::GetProductionCutsTable(), G4LossTableManager::GetRange(), G4LossTableManager::Instance(), G4Track::IsGoodForTracking(), and G4Track::SetKineticEnergy().
|
inlineprotected |
Definition at line 340 of file G4ITStepProcessor.hh.
References G4ITStepProcessor::G4ITStepProcessorState::endpointSafety, G4ITStepProcessor::G4ITStepProcessorState::endpointSafOrigin, fpPostStepPoint, fpState, G4StepPoint::GetPosition(), kCarTolerance, and G4INCL::Math::max().
|
inline |
Definition at line 353 of file G4ITStepProcessor.hh.
References DBL_MAX, fAtRestDoItProcTriggered, fCondition, fGPILSelection, fpCurrentProcess, fpCurrentVolume, fPhysIntLength, fpITrack, fPostStepAtTimeDoItProcTriggered, fPostStepDoItProcTriggered, fpParticleChange, fpPostStepPoint, fpPreStepPoint, fpProcessInfo, fpSecondary, fpState, fpStep, fpTrack, fpTrackingInfo, fpTransportation, fTimeStep, INT_MAX, NotCandidateForSelection, and NotForced.
Referenced by G4Scheduler::ExtractDoItData(), G4Scheduler::ExtractILData(), G4ITStepProcessor(), and Initialize().
|
protected |
Definition at line 148 of file G4ITStepProcessor.cc.
References fProcessGeneralInfoMap.
Referenced by ForceReInitialization(), and ~G4ITStepProcessor().
|
protected |
Definition at line 57 of file G4ITStepProcessor2.cc.
References DBL_MIN, G4ProcessVector::entries(), fStopButAlive, G4ParticleDefinition::GetApplyCutsFlag(), G4ProcessManager::GetAtRestProcessVector(), G4Track::GetDefinition(), G4Track::GetKineticEnergy(), G4ParticleDefinition::GetProcessManager(), G4Track::SetCreatorProcess(), G4Track::SetParentID(), and G4Track::SetTrackStatus().
void G4ITStepProcessor::DefinePhysicalStepLength | ( | G4Track * | track | ) |
Definition at line 523 of file G4ITStepProcessor.cc.
References DoDefinePhysicalStepLength(), and SetTrack().
Referenced by G4Scheduler::ComputeInteractionLength().
|
protected |
Definition at line 778 of file G4ITStepProcessor.cc.
References G4VProcess::AlongStepGPIL(), CandidateForSelection, G4ITTransportation::ComputeStep(), Conditionally, DBL_MAX, ExclusivelyForced, fAlongStepDoItProc, FatalErrorInArgument, FatalException, fCondition, fExclusivelyForcedProc, fGeomBoundary, fGPILSelection, Forced, fpCurrentProcess, G4ITStepProcessor::G4ITStepProcessorState::fPhysicalStep, fPhysIntLength, fpITrack, fpNavigator, fPostStepAtTimeDoItProcTriggered, fPostStepDoItProc, fPostStepDoItProcTriggered, fpProcessInfo, G4ITStepProcessor::G4ITStepProcessorState::fPreviousStepSize, fpState, fpStep, fpTrack, fpTrackingInfo, fpTransportation, G4ITStepProcessor::G4ITStepProcessorState::fSelectedPostStepDoItVector, G4ITStepProcessor::G4ITStepProcessorState::fStepStatus, fStopAndKill, fStopButAlive, fTimeStep, fWorldBoundary, G4Exception(), GetAtRestIL(), G4VITProcess::GetInteractionTimeLeft(), G4Track::GetNextVolume(), G4Step::GetPostStepPoint(), G4VITProcess::GetProcessID(), G4TrackingInformation::GetProcessState(), G4IT::GetTrackingInfo(), G4Track::GetTrackStatus(), InActivated, InitDefineStep(), G4ITStepProcessor::ProcessGeneralInfo::MAXofAlongStepLoops, G4ITStepProcessor::ProcessGeneralInfo::MAXofPostStepLoops, NotForced, G4VProcess::PostStepGPIL(), G4ITStepProcessor::G4ITStepProcessorState::proposedSafety, G4VITProcess::ProposesTimeStep(), G4VITProcess::ResetProcessState(), G4TrackingInformation::SetNavigatorState(), G4StepPoint::SetProcessDefinedStep(), G4VITProcess::SetProcessState(), and StronglyForced.
Referenced by DefinePhysicalStepLength().
|
protected |
Definition at line 131 of file G4ITStepProcessor2.cc.
References FatalErrorInArgument, fAtRestDoItProc, fPostStepDoItProc, fStopAndKill, fStopButAlive, fUndefined, G4cout, G4endl, G4Exception(), GetIT(), JustWarning, G4INCL::Math::max(), and G4MemStat::MemoryUsage().
void G4ITStepProcessor::FindTransportationStep | ( | ) |
Definition at line 567 of file G4ITStepProcessor2.cc.
References DBL_MAX, FatalErrorInArgument, fStopAndKill, G4cout, G4endl, G4Exception(), GetIT(), and G4IT::GetName().
void G4ITStepProcessor::ForceReInitialization | ( | ) |
Definition at line 167 of file G4ITStepProcessor.cc.
References ClearProcessInfo(), fInitialized, and Initialize().
|
protected |
Definition at line 467 of file G4ITStepProcessor.cc.
References G4VProcess::AtRestGPIL(), DBL_MAX, fAtRestDoItProcTriggered, fCondition, Forced, G4ITStepProcessor::ProcessGeneralInfo::fpAtRestGetPhysIntVector, fpCurrentProcess, fpProcessInfo, fpState, fpTrack, fpTrackingInfo, G4ITStepProcessor::G4ITStepProcessorState::fSelectedAtRestDoItVector, fTimeStep, G4cerr, G4endl, G4VITProcess::GetProcessID(), G4TrackingInformation::GetProcessState(), InActivated, G4ITStepProcessor::ProcessGeneralInfo::MAXofAtRestLoops, NotForced, G4VITProcess::ResetProcessState(), and G4VITProcess::SetProcessState().
Referenced by DoDefinePhysicalStepLength().
|
inline |
Definition at line 386 of file G4ITStepProcessor.hh.
References fTimeStep.
Referenced by G4Scheduler::ExtractILData().
|
protected |
Definition at line 419 of file G4ITStepProcessor.cc.
References FatalErrorInArgument, fpProcessInfo, fProcessGeneralInfoMap, fpTrack, G4Exception(), G4Track::GetDefinition(), G4ParticleDefinition::GetProcessManager(), and SetupGeneralProcessInfo().
Referenced by SetupMembers().
|
inline |
Definition at line 115 of file G4ITStepProcessor.hh.
References fpSecondary.
Referenced by G4Scheduler::ExtractDoItData(), and G4Scheduler::PushSecondaries().
|
inline |
Definition at line 102 of file G4ITStepProcessor.hh.
References fpStep.
|
inline |
Definition at line 106 of file G4ITStepProcessor.hh.
References fpStep.
|
inline |
Definition at line 98 of file G4ITStepProcessor.hh.
References fpTrack.
Referenced by G4Scheduler::ComputeInteractionLength(), G4Scheduler::ExtractDoItData(), and G4Scheduler::ExtractILData().
|
inline |
Definition at line 335 of file G4ITStepProcessor.hh.
References fpTrack.
|
inline |
Definition at line 123 of file G4ITStepProcessor.hh.
References fpTrackingManager.
|
protected |
ADDED BACK
ADDED BACK
Definition at line 674 of file G4ITStepProcessor.cc.
References G4Step::CopyPostToPreStepPoint(), fpCurrentVolume, fpITrack, fpNavigator, G4ITStepProcessor::G4ITStepProcessorState::fPreviousStepSize, fpSecondary, fpState, fpStep, fpTrack, G4ITStepProcessor::G4ITStepProcessorState::fTouchableHandle, G4TrackingInformation::GetNavigatorState(), G4Track::GetNextTouchableHandle(), G4StepPoint::GetPhysicalVolume(), G4Step::GetPreStepPoint(), G4Track::GetStepLength(), G4Track::GetTouchableHandle(), G4IT::GetTrackingInfo(), G4Step::NewSecondaryVector(), G4Step::ResetTotalEnergyDeposit(), SetInitialStep(), G4Track::SetNextTouchableHandle(), G4Step::SetPointerToVectorOfAuxiliaryPoints(), G4Track::SetStep(), G4TrackingInformation::SetStepProcessorState(), G4Track::SetTouchableHandle(), and SetupMembers().
Referenced by DoDefinePhysicalStepLength().
|
virtual |
Definition at line 176 of file G4ITStepProcessor.cc.
References CleanProcessor(), DBL_MAX, fInitialized, fPhysIntLength, G4GeometryTolerance::GetInstance(), G4GeometryTolerance::GetSurfaceTolerance(), G4ITTransportationManager::GetTransportationManager(), kCarTolerance, and SetNavigator().
Referenced by ForceReInitialization(), and G4Scheduler::Process().
|
protected |
Definition at line 406 of file G4ITStepProcessor2.cc.
References DBL_MIN, fAlive, fExclusivelyForcedProc, fStopAndKill, fStopButAlive, G4cout, G4endl, and G4MemStat::MemoryUsage().
|
protected |
Definition at line 355 of file G4ITStepProcessor2.cc.
References fStopAndKill, and InActivated.
|
protected |
Definition at line 485 of file G4ITStepProcessor2.cc.
References ExclusivelyForced, fExclusivelyForcedProc, Forced, fPostStepDoItProc, fStopAndKill, InActivated, NotForced, and StronglyForced.
|
protected |
Definition at line 532 of file G4ITStepProcessor2.cc.
|
protected |
Definition at line 624 of file G4ITStepProcessor2.cc.
References ExclusivelyForced, fExclusivelyForcedProc, Forced, fStopAndKill, InActivated, and StronglyForced.
|
protected |
Definition at line 229 of file G4ITStepProcessor.cc.
|
protected |
Definition at line 458 of file G4ITStepProcessor.cc.
References fN2ndariesAlongStepDoIt, fN2ndariesAtRestDoIt, and fN2ndariesPostStepDoIt.
Referenced by G4ITStepProcessor(), and SetupMembers().
|
protected |
Definition at line 530 of file G4ITStepProcessor.cc.
References fAlive, FatalException, fpCurrentVolume, fpITrack, fpNavigator, fPostponeToNextEvent, fpState, fpStep, fpTrack, fpTrackingManager, G4ITStepProcessor::G4ITStepProcessorState::fStepStatus, fStopAndKill, fStopButAlive, fSuspend, G4ITStepProcessor::G4ITStepProcessorState::fTouchableHandle, fUndefined, G4cerr, G4cout, G4endl, G4Exception(), G4Track::GetCurrentStepNumber(), G4Track::GetKineticEnergy(), G4VPhysicalVolume::GetLogicalVolume(), G4Track::GetMomentumDirection(), G4TrackingInformation::GetNavigatorState(), G4Track::GetParentID(), G4Track::GetPosition(), G4VPhysicalVolume::GetRegularStructureId(), G4Track::GetTouchableHandle(), G4IT::GetTrackingInfo(), G4Track::GetTrackStatus(), G4VTouchable::GetVolume(), G4Track::GetVolume(), G4Step::InitializeStep(), G4Track::SetLogicalVolumeAtVertex(), G4TrackingInformation::SetNavigatorState(), G4Track::SetNextTouchableHandle(), G4Track::SetTouchableHandle(), G4Track::SetTrackStatus(), G4Track::SetVertexKineticEnergy(), G4Track::SetVertexMomentumDirection(), G4Track::SetVertexPosition(), and G4ITTrackingManager::StartTracking().
Referenced by InitDefineStep().
|
inlineprotected |
Definition at line 348 of file G4ITStepProcessor.hh.
References fpNavigator.
Referenced by Initialize().
|
inline |
Definition at line 330 of file G4ITStepProcessor.hh.
References fPreviousTimeStep.
Referenced by G4Scheduler::ComputeInteractionLength().
|
inline |
Definition at line 110 of file G4ITStepProcessor.hh.
|
protected |
Definition at line 388 of file G4ITStepProcessor.cc.
References FatalErrorInArgument, fpITrack, fpStep, fpTrack, fpTrackingInfo, G4cerr, G4endl, G4Exception(), GetIT(), G4Track::GetStep(), G4Track::GetTrackID(), and G4IT::GetTrackingInfo().
Referenced by DefinePhysicalStepLength().
|
inline |
Definition at line 119 of file G4ITStepProcessor.hh.
Referenced by G4Scheduler::Initialize().
|
protected |
Definition at line 288 of file G4ITStepProcessor.cc.
References G4ProcessVector::entries(), FatalErrorInArgument, FatalException, G4ITStepProcessor::ProcessGeneralInfo::fpAlongStepDoItVector, G4ITStepProcessor::ProcessGeneralInfo::fpAlongStepGetPhysIntVector, G4ITStepProcessor::ProcessGeneralInfo::fpAtRestDoItVector, G4ITStepProcessor::ProcessGeneralInfo::fpAtRestGetPhysIntVector, G4ITStepProcessor::ProcessGeneralInfo::fpPostStepDoItVector, G4ITStepProcessor::ProcessGeneralInfo::fpPostStepGetPhysIntVector, fpProcessInfo, fProcessGeneralInfoMap, G4ITStepProcessor::ProcessGeneralInfo::fpTransportation, G4cerr, G4cout, G4endl, G4Exception(), G4ProcessManager::GetAlongStepProcessVector(), G4ProcessManager::GetAtRestProcessVector(), G4ParticleDefinition::GetParticleName(), G4ParticleDefinition::GetPDGEncoding(), G4ProcessManager::GetPostStepProcessVector(), G4ITStepProcessor::ProcessGeneralInfo::MAXofAlongStepLoops, G4ITStepProcessor::ProcessGeneralInfo::MAXofAtRestLoops, G4ITStepProcessor::ProcessGeneralInfo::MAXofPostStepLoops, SizeOfSelectedDoItVector, typeDoIt, and typeGPIL.
Referenced by GetProcessInfo().
|
protected |
Definition at line 444 of file G4ITStepProcessor.cc.
References fpITrack, fpPostStepPoint, fpPreStepPoint, fpSecondary, fpState, fpStep, G4Step::GetfSecondary(), G4Step::GetPostStepPoint(), G4Step::GetPreStepPoint(), GetProcessInfo(), G4TrackingInformation::GetStepProcessorState(), G4IT::GetTrackingInfo(), and ResetSecondaries().
Referenced by InitDefineStep().
void G4ITStepProcessor::Stepping | ( | G4Track * | track, |
const double & | timeStep | ||
) |
Definition at line 102 of file G4ITStepProcessor2.cc.
References G4cout, G4endl, G4Track::GetTrackID(), and G4MemStat::MemoryUsage().
Referenced by G4Scheduler::DoIt().
|
private |
Definition at line 225 of file G4ITStepProcessor.hh.
Referenced by CleanProcessor(), and GetAtRestIL().
|
private |
Definition at line 230 of file G4ITStepProcessor.hh.
Referenced by CleanProcessor(), DoDefinePhysicalStepLength(), and GetAtRestIL().
|
private |
Definition at line 231 of file G4ITStepProcessor.hh.
Referenced by CleanProcessor(), and DoDefinePhysicalStepLength().
|
private |
Definition at line 190 of file G4ITStepProcessor.hh.
Referenced by ForceReInitialization(), G4ITStepProcessor(), and Initialize().
|
private |
Definition at line 219 of file G4ITStepProcessor.hh.
Referenced by ResetSecondaries().
|
private |
Definition at line 218 of file G4ITStepProcessor.hh.
Referenced by ResetSecondaries().
|
private |
Definition at line 220 of file G4ITStepProcessor.hh.
Referenced by ResetSecondaries().
|
private |
Definition at line 213 of file G4ITStepProcessor.hh.
Referenced by CleanProcessor(), DoDefinePhysicalStepLength(), and GetAtRestIL().
|
private |
Definition at line 244 of file G4ITStepProcessor.hh.
Referenced by CleanProcessor(), InitDefineStep(), and SetInitialStep().
|
private |
Definition at line 237 of file G4ITStepProcessor.hh.
Referenced by CleanProcessor(), DoDefinePhysicalStepLength(), and Initialize().
|
private |
Definition at line 320 of file G4ITStepProcessor.hh.
Referenced by CleanProcessor(), DoDefinePhysicalStepLength(), InitDefineStep(), SetInitialStep(), SetTrack(), and SetupMembers().
|
private |
Definition at line 198 of file G4ITStepProcessor.hh.
Referenced by DoDefinePhysicalStepLength(), G4ITStepProcessor(), InitDefineStep(), SetInitialStep(), and SetNavigator().
|
private |
Definition at line 227 of file G4ITStepProcessor.hh.
Referenced by CleanProcessor(), and DoDefinePhysicalStepLength().
|
private |
Definition at line 226 of file G4ITStepProcessor.hh.
Referenced by CleanProcessor(), and DoDefinePhysicalStepLength().
|
private |
Definition at line 211 of file G4ITStepProcessor.hh.
Referenced by CleanProcessor().
|
private |
Definition at line 327 of file G4ITStepProcessor.hh.
Referenced by CalculateSafety(), CleanProcessor(), and SetupMembers().
|
private |
Definition at line 326 of file G4ITStepProcessor.hh.
Referenced by CleanProcessor(), and SetupMembers().
|
private |
Definition at line 276 of file G4ITStepProcessor.hh.
Referenced by CleanProcessor(), DoDefinePhysicalStepLength(), GetAtRestIL(), GetProcessInfo(), and SetupGeneralProcessInfo().
|
private |
Definition at line 209 of file G4ITStepProcessor.hh.
Referenced by G4ITStepProcessor(), and SetPreviousStepTime().
|
private |
Definition at line 275 of file G4ITStepProcessor.hh.
Referenced by ClearProcessInfo(), GetProcessInfo(), and SetupGeneralProcessInfo().
|
private |
Definition at line 210 of file G4ITStepProcessor.hh.
Referenced by CleanProcessor(), GetSecondaries(), InitDefineStep(), SetupMembers(), and ~G4ITStepProcessor().
|
private |
Definition at line 323 of file G4ITStepProcessor.hh.
Referenced by CalculateSafety(), CleanProcessor(), DoDefinePhysicalStepLength(), GetAtRestIL(), InitDefineStep(), SetInitialStep(), and SetupMembers().
|
private |
Definition at line 324 of file G4ITStepProcessor.hh.
Referenced by CleanProcessor(), DoDefinePhysicalStepLength(), GetStep(), InitDefineStep(), SetInitialStep(), SetTrack(), SetupMembers(), and ~G4ITStepProcessor().
|
private |
Definition at line 319 of file G4ITStepProcessor.hh.
Referenced by CleanProcessor(), DoDefinePhysicalStepLength(), GetAtRestIL(), GetProcessInfo(), GetTrack(), InitDefineStep(), SetInitialStep(), and SetTrack().
|
private |
Definition at line 321 of file G4ITStepProcessor.hh.
Referenced by CleanProcessor(), DoDefinePhysicalStepLength(), GetAtRestIL(), and SetTrack().
|
private |
Definition at line 192 of file G4ITStepProcessor.hh.
Referenced by G4ITStepProcessor(), GetTrackingManager(), and SetInitialStep().
|
private |
Definition at line 278 of file G4ITStepProcessor.hh.
Referenced by CleanProcessor(), and DoDefinePhysicalStepLength().
|
private |
Definition at line 200 of file G4ITStepProcessor.hh.
Referenced by G4ITStepProcessor().
|
private |
Definition at line 208 of file G4ITStepProcessor.hh.
Referenced by CleanProcessor(), DoDefinePhysicalStepLength(), GetAtRestIL(), and GetInteractionTime().
|
private |
Definition at line 195 of file G4ITStepProcessor.hh.
Referenced by CalculateSafety(), G4ITStepProcessor(), and Initialize().
|
private |
Definition at line 201 of file G4ITStepProcessor.hh.
Referenced by G4ITStepProcessor().