Message: RE: poststep -> GetPhysicalVolume() returns "NULL point GetPhysicalVolume() returns "NULL pointer" Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None RE: poststep -> GetPhysicalVolume() returns "NULL point GetPhysicalVolume() returns "NULL pointer" 

Forum: Event and Track Management
Re: None poststep -> GetPhysicalVolume() returns "NULL point GetPhysicalVolume() returns "NULL pointer" (Kin Yip)
Date: 19 Aug, 2007
From: Makoto Asai <Makoto Asai>

As it is documented on the manual, the post-step physical volume
pointer is null if the step is on the boundary of the world volume.
By Geant4 definition, the post-step physical volume points to the 
"next" volume.

> -----Original Message-----
> From: Kin Yip [mailto:kinyip@bnl.gov] 
> Sent: Friday, August 17, 2007 3:57 PM
> To: publichypernews
> Subject: poststep -> GetPhysicalVolume() returns "NULL point 
> GetPhysicalVolume() returns "NULL pointer"
> 
> *** Discussion title: Event and Track Management
> Email replies to PublicHyperNews@slac.stanford.edu must include:
>   In-Reply-To: <"/eventtrackmanage/688"@geant4-hn.slac.stanford.edu>
>   Subject: ...change this to be about your reply.
> 
> I've been running 4.8. In a G4step of a photon, when I try to
> GetPhysicalVolume() on the post-step, I get a null pointer !
> GetPhysicalVolume() for the pre-step is OK.
> 
> I can see that pre-step is in the "World" (and in Air). 
> Though one can't
> GetPhysicalVolume() for the post-step, one can get 
> GetPosition() for the
> post-step. I've seen that the post step is at the boundary of the
> "World" (at least for 1 coordinate).
> 
> Is this normal or a bug ?
> 
> Kin
> 

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

 Add Message Add Message
to: "RE: poststep -> GetPhysicalVolume() returns "NULL point GetPhysicalVolume() returns "NULL pointer""

 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 ]