56 { 
return fpHyperStep; }
 
   62 :
G4VProcess(processName,theType), fGhostNavigator(0), fNavigatorID(-1),
 
   63  fFieldTrack(
'0'),layeredMaterialFlag(false)
 
   65   if(!fpHyperStep) fpHyperStep = 
new G4Step();
 
   66   iParallelWorld = ++nParallelWorlds;
 
   88   if(nParallelWorlds==0)
 
   98   fGhostWorldName = parallelWorldName;
 
  100   fGhostNavigator = fTransportationManager->
GetNavigator(fGhostWorld);
 
  107   fGhostWorldName = parallelWorld->
GetName();
 
  108   fGhostWorld = parallelWorld;
 
  109   fGhostNavigator = fTransportationManager->
GetNavigator(fGhostWorld);
 
  119     G4Exception(
"G4ParallelWorldProcess::StartTracking",
 
  121        "G4ParallelWorldProcess is used for tracking without having a parallel world assigned");
 
  127   fNewGhostTouchable = fOldGhostTouchable;
 
  144   if(layeredMaterialFlag)
 
  147     SwitchMaterial(realWorldPostStepPoint);
 
  183     fNewGhostTouchable = fOldGhostTouchable;
 
  195     aSD->
Hit(fGhostStep);
 
  229     fNewGhostTouchable = fOldGhostTouchable;
 
  250   if(layeredMaterialFlag)
 
  254     SwitchMaterial(realWorldPostStepPoint);
 
  271   if (previousStepSize > 0.)
 
  272   { fGhostSafety -= previousStepSize; }
 
  273   if (fGhostSafety < 0.) fGhostSafety = 0.0;
 
  275   if (currentMinimumStep <= fGhostSafety && currentMinimumStep > 0.)
 
  278     returnedStep = currentMinimumStep;
 
  280     proposedSafety = fGhostSafety - currentMinimumStep;
 
  287       = fPathFinder->
ComputeStep(fFieldTrack,currentMinimumStep,fNavigatorID,
 
  293       fGhostSafety = fGhostNavigator->
ComputeSafety(endTrack.GetPosition());
 
  299     proposedSafety = fGhostSafety;
 
  304        returnedStep *= (1.0 + 1.0e-9);  
 
  309   if(iParallelWorld==nParallelWorlds) fNavIDHyp = 0;
 
  321 void G4ParallelWorldProcess::CopyStep(
const G4Step & step)
 
  340   if(iParallelWorld==1)
 
  360 void G4ParallelWorldProcess::SwitchMaterial(
G4StepPoint* realWorldStepPoint)
 
  375         if(ghostProdCuts) prodCuts = ghostProdCuts;
 
  390         G4cout << 
"!!! MaterialCutsCouple is not found for " 
  392                << 
"    Material in real world (" 
  394                << 
") is used." << 
G4endl;
 
  406     if(partName==
"opticalphoton") 
return false;
 
  407     if(partName==
"geantino") 
return false;
 
  408     if(partName==
"chargedgeantino") 
return false;
 
  412     if(pdgCode==22) 
return false; 
 
  413     if(pdgCode==11) 
return false; 
 
  414     if(pdgCode==2212) 
return false; 
 
  415     if(pdgCode==-12) 
return false; 
 
  416     if(pdgCode==12) 
return false; 
 
  417     if(pdgCode==-14) 
return false; 
 
  418     if(pdgCode==14) 
return false; 
 
  419     if(pdgCode==-16) 
return false; 
 
  420     if(pdgCode==16) 
return false; 
 
void PrepareNewTrack(const G4ThreeVector &position, const G4ThreeVector &direction, G4VPhysicalVolume *massStartVol=0)
 
static G4PathFinder * GetInstance()
 
G4double condition(const G4ErrorSymMatrix &m)
 
void SetStepLength(G4double value)
 
virtual void Initialize(const G4Track &)
 
G4ProductionCuts * GetProductionCuts() const 
 
G4VParticleChange * AtRestDoIt(const G4Track &, const G4Step &)
 
void SetTrack(G4Track *value)
 
G4double GetStepLength() const 
 
void StartTracking(G4Track *)
 
G4Material * GetMaterial() const 
 
G4bool IsAtRestRequired(G4ParticleDefinition *)
 
G4StepStatus GetStepStatus() const 
 
const G4String & GetName() const 
 
G4Material * GetMaterial() const 
 
G4double GetNonIonizingEnergyDeposit() const 
 
const G4ThreeVector & GetPosition() const 
 
virtual ~G4ParallelWorldProcess()
 
G4Navigator * GetNavigatorForTracking() const 
 
G4TouchableHandle CreateTouchableHandle(G4int navId) const 
 
G4int GetPDGEncoding() const 
 
G4SteppingControl GetControlFlag() const 
 
G4double PostStepGetPhysicalInteractionLength(const G4Track &, G4double, G4ForceCondition *)
 
G4Region * GetRegion() const 
 
const G4Step * GetStep() const 
 
const G4MaterialCutsCouple * GetMaterialCutsCouple() const 
 
void SetStepStatus(const G4StepStatus aValue)
 
const G4String & GetParticleName() const 
 
G4StepPoint * GetPreStepPoint() const 
 
static G4int GetHypNavigatorID()
 
void SetParallelWorld(G4String parallelWorldName)
 
void SetSensitiveDetector(G4VSensitiveDetector *)
 
G4GLOB_DLL std::ostream G4cout
 
G4int GetCurrentStepNumber() const 
 
const G4String & GetName() const 
 
void SetControlFlag(G4SteppingControl StepControlFlag)
 
G4double AtRestGetPhysicalInteractionLength(const G4Track &, G4ForceCondition *)
 
G4double ComputeStep(const G4FieldTrack &pFieldTrack, G4double pCurrentProposedStepLength, G4int navigatorId, G4int stepNo, G4double &pNewSafety, ELimited &limitedStep, G4FieldTrack &EndState, G4VPhysicalVolume *currentVolume)
 
G4bool Hit(G4Step *aStep)
 
const G4String & GetProcessName() const 
 
G4double GetTotalEnergyDeposit() const 
 
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
 
static G4TransportationManager * GetTransportationManager()
 
static G4ProductionCutsTable * GetProductionCutsTable()
 
G4VPhysicalVolume * GetParallelWorld(const G4String &worldName)
 
G4int ActivateNavigator(G4Navigator *aNavigator)
 
G4VParticleChange * AlongStepDoIt(const G4Track &, const G4Step &)
 
const G4ThreeVector & GetMomentumDirection() const 
 
G4LogicalVolume * GetLogicalVolume() const 
 
const G4MaterialCutsCouple * GetMaterialCutsCouple(G4int i) const 
 
G4Navigator * GetNavigator(const G4String &worldName)
 
virtual G4VPhysicalVolume * GetVolume(G4int depth=0) const 
 
G4StepPoint * GetPostStepPoint() const 
 
void SetNonIonizingEnergyDeposit(G4double value)
 
G4VParticleChange * pParticleChange
 
G4VPhysicalVolume * GetVolume() const 
 
G4ParallelWorldProcess(const G4String &processName="ParaWorld", G4ProcessType theType=fParameterisation)
 
void SetPushVerbosity(G4bool mode)
 
void SetTotalEnergyDeposit(G4double value)
 
G4VSensitiveDetector * GetSensitiveDetector() const 
 
void SetMaterial(G4Material *)
 
G4VParticleChange * PostStepDoIt(const G4Track &, const G4Step &)
 
G4double AlongStepGetPhysicalInteractionLength(const G4Track &, G4double, G4double, G4double &, G4GPILSelection *)
 
virtual G4double ComputeSafety(const G4ThreeVector &globalpoint, const G4double pProposedMaxLength=DBL_MAX, const G4bool keepState=true)
 
G4Track * GetTrack() const 
 
void SetTouchableHandle(const G4TouchableHandle &apValue)
 
void SetMaterialCutsCouple(const G4MaterialCutsCouple *)
 
G4ProductionCuts * GetProductionCuts() const 
 
G4VSensitiveDetector * GetSensitiveDetector() const 
 
const G4TouchableHandle & GetTouchableHandle() const 
 
static void Update(G4FieldTrack *, const G4Track *)
 
static const G4Step * GetHyperStep()