Message: The process name in my Hit Collection does not show correctly Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Sad The process name in my Hit Collection does not show correctly  

Forum: Event and Track Management
Date: 04 Mar, 2005
From: mermod <mermod>

I simulate 95 MeV neutrons inside a lead target and I want to look at elastic and inelastic scattering. For each hit, I recover the process name by the line in MyDetectorSD:

G4String process= aStep->GetPreStepPoint()->GetProcessDefinedStep()->GetProcessName();

and put it in my Hit Collection. It works well EXCEPT for inelastic scattering. In some cases, "inelastic" happens in one step (I can see it in the verbose output) but I do not see any consistent corresponding Hit : the process for the apparently corresponding hit is given as "Transportation".

What is wrong?

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

1 Feedback: Re: The process name in my Hit Collection does not show correctly   (Peter Gumplinger - 04 Mar, 2005)
(_ Agree: Re: The process name in my Hit Collection does not show correctly   (Philippe Mermod - 07 Mar, 2005)
 Add Message Add Message
to: "The process name in my Hit Collection does not show correctly "

 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 ]