55 :
G4VProcess(processName,theType), fGhostNavigator(0), fNavigatorID(-1), fFieldTrack(
'0')
120 if(partName==
"opticalphoton")
return false;
121 if(partName==
"geantino")
return false;
122 if(partName==
"chargedgeantino")
return false;
126 if(pdgCode==22)
return false;
127 if(pdgCode==11)
return false;
128 if(pdgCode==2212)
return false;
129 if(pdgCode==-12)
return false;
130 if(pdgCode==12)
return false;
131 if(pdgCode==-14)
return false;
132 if(pdgCode==14)
return false;
133 if(pdgCode==-16)
return false;
134 if(pdgCode==16)
return false;
155 G4Exception(
"G4ParallelWorldScoringProcess::StartTracking",
157 "G4ParallelWorldScoringProcess is used for tracking without having a parallel world assigned");
338 if (previousStepSize > 0.)
347 if (currentMinimumStep <= fGhostSafety && currentMinimumStep > 0.)
350 returnedStep = currentMinimumStep;
381 returnedStep *= (1.0 + 1.0e-9);
430 G4cout <<
"In mass geometry ------------------------------------------------" <<
G4endl;
433 G4cout <<
" PreStepPoint : "
438 {
G4cout <<
"NoProcessAssigned"; }
441 G4cout <<
" PostStepPoint : ";
445 {
G4cout <<
"OutOfWorld"; }
450 {
G4cout <<
"NoProcessAssigned"; }
454 G4cout <<
"In ghost geometry ------------------------------------------------" <<
G4endl;
456 <<
" TotalEnergyDeposit : "
458 G4cout <<
" PreStepPoint : "
465 {
G4cout <<
"NoProcessAssigned"; }
468 G4cout <<
" PostStepPoint : ";
476 {
G4cout <<
"OutOfWorld"; }
481 {
G4cout <<
"NoProcessAssigned"; }
G4bool Hit(G4Step *aStep)
const G4VTouchable * GetTouchable() const
void SetParallelWorld(G4String parallelWorldName)
void SetStepLength(G4double value)
G4LogicalVolume * GetLogicalVolume() const
G4double AtRestGetPhysicalInteractionLength(const G4Track &, G4ForceCondition *)
static constexpr double MeV
G4VSensitiveDetector * GetSensitiveDetector() const
void SetSensitiveDetector(G4VSensitiveDetector *)
G4StepPoint * GetPreStepPoint() const
void Verbose(const G4Step &) const
void StartTracking(G4Track *)
static constexpr double mm
G4StepPoint * fGhostPreStepPoint
void SetTotalEnergyDeposit(G4double value)
const G4String & GetParticleName() const
G4VSensitiveDetector * GetSensitiveDetector() const
virtual ~G4ParallelWorldScoringProcess()
G4VPhysicalVolume * GetPhysicalVolume() const
virtual G4VPhysicalVolume * GetVolume(G4int depth=0) const
G4VPhysicalVolume * GetParallelWorld(const G4String &worldName)
G4VPhysicalVolume * fGhostWorld
G4int GetCurrentStepNumber() const
G4double condition(const G4ErrorSymMatrix &m)
G4StepPoint * fGhostPostStepPoint
G4VParticleChange aDummyParticleChange
const G4TouchableHandle & GetTouchableHandle() const
G4VParticleChange * PostStepDoIt(const G4Track &, const G4Step &)
void SetNonIonizingEnergyDeposit(G4double value)
void SetTrack(G4Track *value)
virtual void Initialize(const G4Track &)
G4double ComputeStep(const G4FieldTrack &pFieldTrack, G4double pCurrentProposedStepLength, G4int navigatorId, G4int stepNo, G4double &pNewSafety, ELimited &limitedStep, G4FieldTrack &EndState, G4VPhysicalVolume *currentVolume)
G4VParticleChange * AlongStepDoIt(const G4Track &, const G4Step &)
G4StepStatus GetStepStatus() const
G4VParticleChange * pParticleChange
G4double GetStepLength() const
const G4ThreeVector & GetPosition() const
G4SteppingControl GetControlFlag() const
G4TouchableHandle CreateTouchableHandle(G4int navId) const
G4ParallelWorldScoringProcess(const G4String &processName="ParaWorldScore", G4ProcessType theType=fParameterisation)
G4Track * GetTrack() const
const G4String & GetProcessName() const
const G4ThreeVector & GetPosition() const
G4double GetTotalEnergyDeposit() const
G4StepPoint * GetPostStepPoint() const
G4double AlongStepGetPhysicalInteractionLength(const G4Track &, G4double, G4double, G4double &, G4GPILSelection *)
static G4TransportationManager * GetTransportationManager()
G4Navigator * GetNavigator(const G4String &worldName)
virtual G4double ComputeSafety(const G4ThreeVector &globalpoint, const G4double pProposedMaxLength=DBL_MAX, const G4bool keepState=true)
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
void CopyStep(const G4Step &step)
G4TouchableHandle fOldGhostTouchable
virtual G4int GetReplicaNumber(G4int depth=0) const
G4Navigator * fGhostNavigator
G4TransportationManager * fTransportationManager
G4double PostStepGetPhysicalInteractionLength(const G4Track &track, G4double previousStepSize, G4ForceCondition *condition)
void PrepareNewTrack(const G4ThreeVector &position, const G4ThreeVector &direction, G4VPhysicalVolume *massStartVol=0)
G4int ActivateNavigator(G4Navigator *aNavigator)
G4int GetPDGEncoding() const
G4GLOB_DLL std::ostream G4cout
G4bool IsAtRestRequired(G4ParticleDefinition *partDef)
void SetTouchableHandle(const G4TouchableHandle &apValue)
const G4VProcess * GetProcessDefinedStep() const
const G4ThreeVector & GetMomentumDirection() const
G4double GetNonIonizingEnergyDeposit() const
static G4PathFinder * GetInstance()
G4PathFinder * fPathFinder
void SetControlFlag(G4SteppingControl StepControlFlag)
G4TouchableHandle fNewGhostTouchable
const G4String & GetName() const
void SetStepStatus(const G4StepStatus aValue)
G4VPhysicalVolume * GetVolume() const
G4VParticleChange * AtRestDoIt(const G4Track &, const G4Step &)
static void Update(G4FieldTrack *, const G4Track *)