Message: Re: UpdateGeometry with a HP neutron physics list Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Feedback Re: UpdateGeometry with a HP neutron physics list 

Forum: Event and Track Management
Re: Question UpdateGeometry with a HP neutron physics list (Cristian Bungau)
Date: 13 Dec, 2010
From: Gumplinger Peter <Gumplinger Peter>

Hi Cristian,

I may not have the answer to your question, and I actually don't know what the following line does, but in my examples (e.g. field04), I have one more line after PhysicsHasBeenModified:

G4RegionStore::GetInstance()->UpdateMaterialList(physiWorld);

where physiWorld is the world volume's G4VPhysicalVolume.

Have you actually changed a material in your Construct()? If not, you don't need:

PhysicsHasBeenModified() and the above. That may solve your problem...

I think also - not 100% sure though - when you use the navigator you get with:

G4TransportationManager::GetTransportationManager()->GetNavigatorForTracking()

you don't have to SetWorldVolume and LocateGlobalPointAndSetup. The kernel should do that for you automatically. This is only required if you have a private Navigator for reasons of returning Touchables from a location outside of the Tracking.

I am not sure I have ever tried to UpdateGeometry when the HP neutron physics list is included in the physics.

Peter

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

1 Sad: Re: UpdateGeometry with a HP neutron physics list   (Cristian Bungau - 14 Dec, 2010)
(_ Feedback: Re: UpdateGeometry with a HP neutron physics list   (Gumplinger Peter - 14 Dec, 2010)
(_ None: Re: UpdateGeometry with a HP neutron physics list   (Cristian Bungau - 15 Dec, 2010)
 Add Message Add Message
to: "Re: UpdateGeometry with a HP neutron physics list"

 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 ]