55:
G4VProcess(processName,theType), fGhostNavigator(0), fNavigatorID(-1), fFieldTrack(
'0')
91 fGhostWorldName = parallelWorldName;
93 fGhostNavigator = fTransportationManager->
GetNavigator(fGhostWorld);
103 fGhostWorldName = parallelWorld->
GetName();
104 fGhostWorld = parallelWorld;
105 fGhostNavigator = fTransportationManager->
GetNavigator(fGhostWorld);
116 if(partName==
"opticalphoton")
return false;
117 if(partName==
"geantino")
return false;
118 if(partName==
"chargedgeantino")
return false;
122 if(pdgCode==22)
return false;
123 if(pdgCode==11)
return false;
124 if(pdgCode==2212)
return false;
125 if(pdgCode==-12)
return false;
126 if(pdgCode==12)
return false;
127 if(pdgCode==-14)
return false;
128 if(pdgCode==14)
return false;
129 if(pdgCode==-16)
return false;
130 if(pdgCode==16)
return false;
151 G4Exception(
"G4ParallelWorldScoringProcess::StartTracking",
153 "G4ParallelWorldScoringProcess is used for tracking without having a parallel world assigned");
169 fNewGhostTouchable = fOldGhostTouchable;
210 fNewGhostTouchable = fOldGhostTouchable;
292 fNewGhostTouchable = fOldGhostTouchable;
334 if (previousStepSize > 0.)
335 { fGhostSafety -= previousStepSize; }
338 if (fGhostSafety < 0.) fGhostSafety = 0.0;
343 if (currentMinimumStep <= fGhostSafety && currentMinimumStep > 0.)
346 returnedStep = currentMinimumStep;
348 proposedSafety = fGhostSafety - currentMinimumStep;
357 = fPathFinder->
ComputeStep(fFieldTrack,currentMinimumStep,fNavigatorID,
373 proposedSafety = fGhostSafety;
377 returnedStep *= (1.0 + 1.0e-9);
400void G4ParallelWorldScoringProcess::CopyStep(
const G4Step & step)
426 G4cout <<
"In mass geometry ------------------------------------------------" <<
G4endl;
429 G4cout <<
" PreStepPoint : "
434 {
G4cout <<
"NoProcessAssigned"; }
437 G4cout <<
" PostStepPoint : ";
441 {
G4cout <<
"OutOfWorld"; }
446 {
G4cout <<
"NoProcessAssigned"; }
450 G4cout <<
"In ghost geometry ------------------------------------------------" <<
G4endl;
452 <<
" TotalEnergyDeposit : "
454 G4cout <<
" PreStepPoint : "
461 {
G4cout <<
"NoProcessAssigned"; }
464 G4cout <<
" PostStepPoint : ";
472 {
G4cout <<
"OutOfWorld"; }
477 {
G4cout <<
"NoProcessAssigned"; }
G4double condition(const G4ErrorSymMatrix &m)
@ NotCandidateForSelection
G4DLLIMPORT std::ostream G4cout
static void Update(G4FieldTrack *, const G4Track *)
G4ThreeVector GetPosition() const
G4VSensitiveDetector * GetSensitiveDetector() const
virtual G4double ComputeSafety(const G4ThreeVector &globalpoint, const G4double pProposedMaxLength=DBL_MAX, const G4bool keepState=true)
G4VParticleChange * PostStepDoIt(const G4Track &, const G4Step &)
G4double AtRestGetPhysicalInteractionLength(const G4Track &, G4ForceCondition *)
G4bool IsAtRestRequired(G4ParticleDefinition *partDef)
void SetParallelWorld(G4String parallelWorldName)
G4double AlongStepGetPhysicalInteractionLength(const G4Track &, G4double, G4double, G4double &, G4GPILSelection *)
G4ParallelWorldScoringProcess(const G4String &processName="ParaWorldScore", G4ProcessType theType=fParameterisation)
G4VParticleChange * AtRestDoIt(const G4Track &, const G4Step &)
virtual ~G4ParallelWorldScoringProcess()
G4double PostStepGetPhysicalInteractionLength(const G4Track &track, G4double previousStepSize, G4ForceCondition *condition)
void StartTracking(G4Track *)
void Verbose(const G4Step &) const
G4VParticleChange * AlongStepDoIt(const G4Track &, const G4Step &)
G4int GetPDGEncoding() const
const G4String & GetParticleName() const
G4double ComputeStep(const G4FieldTrack &pFieldTrack, G4double pCurrentProposedStepLength, G4int navigatorId, G4int stepNo, G4double &pNewSafety, ELimited &limitedStep, G4FieldTrack &EndState, G4VPhysicalVolume *currentVolume)
void PrepareNewTrack(const G4ThreeVector &position, const G4ThreeVector &direction, G4VPhysicalVolume *massStartVol=0)
static G4PathFinder * GetInstance()
G4TouchableHandle CreateTouchableHandle(G4int navId) const
void SetSensitiveDetector(G4VSensitiveDetector *)
G4StepStatus GetStepStatus() const
const G4VTouchable * GetTouchable() const
void SetStepStatus(const G4StepStatus aValue)
const G4VProcess * GetProcessDefinedStep() const
void SetTouchableHandle(const G4TouchableHandle &apValue)
const G4ThreeVector & GetPosition() const
const G4TouchableHandle & GetTouchableHandle() const
G4VSensitiveDetector * GetSensitiveDetector() const
G4VPhysicalVolume * GetPhysicalVolume() const
G4SteppingControl GetControlFlag() const
G4Track * GetTrack() const
void SetStepLength(G4double value)
void SetNonIonizingEnergyDeposit(G4double value)
G4StepPoint * GetPreStepPoint() const
G4double GetNonIonizingEnergyDeposit() const
G4double GetStepLength() const
G4double GetTotalEnergyDeposit() const
void SetControlFlag(G4SteppingControl StepControlFlag)
void SetTotalEnergyDeposit(G4double value)
G4StepPoint * GetPostStepPoint() const
void SetTrack(G4Track *value)
G4VPhysicalVolume * GetVolume() const
const G4ThreeVector & GetPosition() const
G4int GetCurrentStepNumber() const
const G4ThreeVector & GetMomentumDirection() const
G4VPhysicalVolume * GetParallelWorld(const G4String &worldName)
static G4TransportationManager * GetTransportationManager()
G4int ActivateNavigator(G4Navigator *aNavigator)
G4Navigator * GetNavigator(const G4String &worldName)
virtual void Initialize(const G4Track &)
G4LogicalVolume * GetLogicalVolume() const
const G4String & GetName() const
G4VParticleChange * pParticleChange
const G4String & GetProcessName() const
G4bool Hit(G4Step *aStep)
virtual G4VPhysicalVolume * GetVolume(G4int depth=0) const
virtual G4int GetReplicaNumber(G4int depth=0) const
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)