Message: Nested Param Access violation Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Nested Param Access violation 

Forum: Geometry
Date: 18 Jun, 2012
From: Youming Yang <Youming Yang>

Hello Geant4 Community,

I am having an issue with particle transport within my Nested Param setup. I've tracked it down to the following: I will begin an event, and it will dig deeper into my nested volumes, from my planar slice, to my bar within the plane, to finally my parameterized voxel. When it hits that voxel, it will crash at:

DefineMaterial(track.GetMaterialCutsCouple())

-Track is defined

-It is step 3 (makes sense)

-Track has an XYZ coordinate

-However the GetMaterialCutsCouple() function returns a null pointer 0x00000000, which is then fed into DefineMaterial which crashes.

I am wondering if anyone has experienced this issue before? I read something else in another thread regarding the DICOM example (which I have used as a framework for mine) that there were too mate MadeIDs or something in Geant 4.9.3, could that have something to do with this? It's a pretty low-level part of the code that I've traced my issue to, so I am not sure what tidbits of code are useful, if anyone is able to help please let me know what code to attach!

Thanks in advance, Ming

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

1 None: Re: Nested Param Access violation   (Youming Yang - 19 Jun, 2012)
1 None: Re: Nested Param Access violation   (Youming Yang - 19 Jun, 2012)
2 None: Re: Nested Param Access violation   (Youming Yang - 19 Jun, 2012)
3 None: Re: Nested Param Access violation   (John Apostolakis - 20 Jun, 2012)
1 None: Re: Nested Param Access violation   (Ming - 20 Jun, 2012)
2 None: Re: Nested Param Access violation   (Youming Yang - 20 Jun, 2012)
1 None: Re: Nested Param Access violation   (Youming Yang - 20 Jun, 2012)
... 1 Message(s)
 Add Message Add Message
to: "Nested Param Access violation"

 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 ]