Message: Re: First inelastic interaction point of hadronic processes Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: First inelastic interaction point of hadronic processes 

Forum: Hadronic Processes
Re: None First inelastic interaction point of hadronic processes (Soon Yung Jun)
Date: 08 Apr, 2007
From: Vladimir IVANTCHENKO <>

On Fri, 6 Apr 2007, Soon Yung Jun wrote:

> *** Discussion title: Hadronic Processes
> Email replies to must include:
>   In-Reply-To: <"/hadronprocess/676">
>   Subject: ...change this to be about your reply.
> To get the first inelastic interaction point of pions inside a G4Region 
> (an envelope for G4VFastSimulationModel), I tried the following code 
> segment;
> G4StepPoint* postStep = fastTrack.GetPrimaryTrack()->GetStep()->GetPostStepPoint();
> G4String procName = postStep->GetProcessDefinedStep()->GetProcessName();  
> if(procName == "PionPlusInelastic" || procName == "PionMinusInelastic") {
>   isFirst = true;
> }
> The resultant total step length (x) after pions enter a detector volume
> (an envelope) by this method gave much shorter distance than expected - 
> I expect that the first inelatic interaction point would follow 
> exp^{-x/lambda0} where lambda0 is the interaction length of the detector.  
> What am I missing?  Thanks for your help.
> Regards,
> ---Soon 

Hello ,

if isFirst is initialised correctly, it seems that the method is correct 
and you should get lambda0. You also can try
"/tracking/verbose 1"
for few events to be sure. 

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

 Add Message Add Message
to: "Re: First inelastic interaction point of hadronic processes"

 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 ]