Message: AddParameterisation() broke program Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question AddParameterisation() broke program 

Forum: Event and Track Management
Date: 11 Jul, 2012
From: Sergey Podolsky <Sergey Podolsky>

Hello, I met the next strange issue. When I add classic AddParameterisation():

G4FastSimulationManagerProcess* fastSimProcess_massGeom     = new G4FastSimulationManagerProcess();
  while( (*theParticleIterator)() )
      G4ParticleDefinition* particle = theParticleIterator->value();
      G4ProcessManager* pmanager = particle->GetProcessManager();
      if (particle->GetParticleName() == "e+"  || 
	  particle->GetParticleName() == "e-")   

function to a physics list i'm getting error:

*** G4Exception : InvalidSetup
      issued by : G4TransportationManager::GetNavigator(pointer)
World volume with name -LKr- does not exist. Create it first by GetParallelWorld() method!

Sorry, I don't understand how it's possible - kernel knows (right) name of the volume but volume is not exists.

Before implementation to the complex geometry I've tested parametrization with prototype, all works fine. And, without of adding this piece of code to physics list of big program, it runs correctly.

I'll be appreciated for any tips. Thank you in advance. Sergey.

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 Ok: Re: AddParameterisation() broke program   (Sergey Podolsky - 15 Jul, 2012)
 Add Message Add Message
to: "AddParameterisation() broke program"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews

[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]