Message: Re: Updated, one problem resolved. Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Warning Re: Updated, one problem resolved. 

Forum: Processes Involving Optical Photons
Re: None 2 problems that may be related
Re: Note Updated, one problem resolved.
Date: 16 Jun, 2009
From: Gumplinger Peter <Gumplinger Peter>

My guess is that you have this line somewhere in your code:

aStep->GetPostStepPoint()->GetPhysicalVolume()->GetName();

The trap is that the pointer:

aStep->GetPostStepPoint()->GetPhysicalVolume()

is NULL when the/any track exists the world-volume. You cannot use it to get the name of the volume "beyond the world" unless you protect the code as in:

if (aStep->GetPostStepPoint()->GetPhysicalVolume()) {
  fVolumeName = aStep->GetPostStepPoint()->GetPhysicalVolume()->GetName();
}

 Add Message Add Message
to: "Re: Updated, one problem resolved."

 Subscribe Subscribe

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