61 fImportanceAlgorithm(aImportanceAlgorithm),
64 fGhostWorldName(
"NoParallelWorld"),fGhostWorld(0),
65 fGhostNavigator(0), fNavigatorID(-1), fFieldTrack(
'0'),
66 fParaflag(para), fEndTrack(
'0'), feLimited(
kDoNot)
80 G4Exception(
"G4ImportanceProcess::G4ImportanceProcess()",
82 "Failed allocation of G4ParticleChange !");
125 G4cout <<
"G4ImportanceProcess:: SetParallelWorld name = " << parallelWorldName <<
G4endl;
170 "G4ImportanceProcess is used for tracking without having a parallel world assigned");
270 G4cout <<
"WARNING - G4ImportanceProcess::PostStepDoIt()"
271 <<
" StopAndKill track. on boundary" <<
G4endl;
315 G4cout <<
"WARNING - G4ImportanceProcess::PostStepDoIt()"
316 <<
" StopAndKill track. on boundary non-parallel" <<
G4endl;
365 if (previousStepSize > 0.)
374 if (currentMinimumStep <= fGhostSafety && currentMinimumStep > 0.)
377 returnedStep = currentMinimumStep;
411 returnedStep *= (1.0 + 1.0e-9);
const G4VTouchable * GetTouchable() const
void SetStepLength(G4double value)
G4TransportationManager * fTransportationManager
const G4VImportanceAlgorithm & fImportanceAlgorithm
G4StepPoint * GetPreStepPoint() const
virtual G4double PostStepGetPhysicalInteractionLength(const G4Track &aTrack, G4double previousStepSize, G4ForceCondition *condition)
virtual G4double GetImportance(const G4GeometryCell &gCell) const =0
G4TouchableHandle fOldGhostTouchable
void SetTotalEnergyDeposit(G4double value)
virtual G4VParticleChange * PostStepDoIt(const G4Track &, const G4Step &)
virtual G4double AtRestGetPhysicalInteractionLength(const G4Track &, G4ForceCondition *)
G4VPhysicalVolume * GetPhysicalVolume() const
void StartTracking(G4Track *)
G4VPhysicalVolume * GetParallelWorld(const G4String &worldName)
G4int GetCurrentStepNumber() const
G4double condition(const G4ErrorSymMatrix &m)
G4ImportanceProcess(const G4VImportanceAlgorithm &aImportanceAlgorithm, const G4VIStore &aIstore, const G4VTrackTerminator *TrackTerminator, const G4String &aName="ImportanceProcess", G4bool para=false)
const G4TouchableHandle & GetTouchableHandle() const
void CopyStep(const G4Step &step)
void SetTrack(G4Track *value)
G4double GetWeight() const
virtual void Initialize(const G4Track &)
G4double ComputeStep(const G4FieldTrack &pFieldTrack, G4double pCurrentProposedStepLength, G4int navigatorId, G4int stepNo, G4double &pNewSafety, ELimited &limitedStep, G4FieldTrack &EndState, G4VPhysicalVolume *currentVolume)
G4StepStatus GetStepStatus() const
G4VParticleChange * pParticleChange
void SetParallelWorld(const G4String ¶llelWorldName)
virtual void Initialize(const G4Track &)
G4double GetStepLength() const
G4SteppingControl GetControlFlag() const
G4SamplingPostStepAction * fPostStepAction
G4Navigator * fGhostNavigator
virtual const G4String & GetName() const
G4TouchableHandle CreateTouchableHandle(G4int navId) const
G4ParticleChange * fParticleChange
G4Track * GetTrack() const
const G4String & GetProcessName() const
const G4ThreeVector & GetPosition() const
G4double GetTotalEnergyDeposit() const
G4StepPoint * GetPostStepPoint() const
virtual G4double AlongStepGetPhysicalInteractionLength(const G4Track &, G4double, G4double, G4double &, G4GPILSelection *)
const G4VIStore & fIStore
G4PathFinder * fPathFinder
static G4TransportationManager * GetTransportationManager()
G4Navigator * GetNavigator(const G4String &worldName)
virtual G4double ComputeSafety(const G4ThreeVector &globalpoint, const G4double pProposedMaxLength=DBL_MAX, const G4bool keepState=true)
virtual ~G4ImportanceProcess()
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
G4StepPoint * fGhostPreStepPoint
virtual G4int GetReplicaNumber(G4int depth=0) const
void DoIt(const G4Track &aTrack, G4ParticleChange *aParticleChange, const G4Nsplit_Weight &nw)
void PrepareNewTrack(const G4ThreeVector &position, const G4ThreeVector &direction, G4VPhysicalVolume *massStartVol=0)
G4int ActivateNavigator(G4Navigator *aNavigator)
G4GLOB_DLL std::ostream G4cout
G4StepPoint * fGhostPostStepPoint
virtual void KillTrack() const
virtual G4VParticleChange * AtRestDoIt(const G4Track &, const G4Step &)
void SetTouchableHandle(const G4TouchableHandle &apValue)
G4TouchableHandle fNewGhostTouchable
virtual G4VParticleChange * AlongStepDoIt(const G4Track &, const G4Step &)
G4TrackStatus GetTrackStatus() const
const G4ThreeVector & GetMomentumDirection() const
static G4PathFinder * GetInstance()
void ProposeTrackStatus(G4TrackStatus status)
void SetControlFlag(G4SteppingControl StepControlFlag)
void SetStepStatus(const G4StepStatus aValue)
G4VPhysicalVolume * GetVolume() const
G4VPhysicalVolume * fGhostWorld
static void Update(G4FieldTrack *, const G4Track *)