Message: How to get position info from G4HadProjectile Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None How to get position info from G4HadProjectile 

Forum: Hadronic Processes
Date: 22 May, 2006
From: Jianglai Liu <Jianglai Liu>

Dear GEANTers,

This topic has been asked by Michel Sorel a while ago (topic 249 of this forum) with no response. I am afraid that I have to raise it again. We have a customized neutron capture class (modified based on G4NeutronHPCapture), and I am seeking a way to retrieve the position of the capture in ApplyYourself(). However, ApplyYourself takes a G4HadProjectile, which does not contain the position info. For now I got around the problem by testing on the CreatorProcess in UserTrackingAction, which is quite ugly. Do someone know a smart way?

Thanks much for any help you could offer!

Jianglai Liu

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

1 None: Re: How to get position info from G4HadProjectile   (Dennis H. Wright - 29 May, 2006)
 Add Message Add Message
to: "How to get position info from G4HadProjectile"

 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 ]