Message: Re: Spallation events identification Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Spallation events identification 

Forum: Hadronic Processes
Re: Question Spallation events identification (Stefania stucci)
Re: None Re: Spallation events identification (Michael H. Kelsey)
Re: None Re: Spallation events identification (Stefania stucci)
Date: Mar 01, 09:20
From: Michael H. Kelsey <Michael H. Kelsey>

Stefania stucci writes:
> I guess i can use this method, am i right? G4String processName
> =aStep->GetPostStepPoint()->GetProcessDefinedStep()>GetProcessName();

Yes, but from what you said below, you don't even need to look at the
process (or do string comparisons).

> Also, i am actually not looking at neutrons, but for single event upset
> in GaN we want to look for ions.

That makes it somewhat simpler, in fact.  The only way to get an ion as a
secondary particle is through a nuclear interaction, so testing for the
process is kind of redundant.  

In your SteppingAction, you can look to see if any of the tracks are ions,
either with a string comparison, or with a dynamic cast:

    if (<secondary>->GetDefinition()->GetParticleType() == "nucleus")

or

    if (dynamic_cast<G4Ions*>(<secondary>->GetDefinition()))

This also takes care of the case where the nucleus absorbs the incident
particle and just gets a kick.  

There may be cases where the target nucleus absorbs the projectile and emits
a light-ion fragment (alpha particle, He3, etc.).  In that case, you'd see
two secondaries both pass the above tests (the fragment and the residual
nucleus).

      -- Mike Kelsey

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

1 None: Re: Spallation events identification   (Stefania stucci - Mar 02, 15:04)
2 None: Re: Spallation events identification   (Stefania Antonia Stucci - Mar 02, 21:36)
1 None: Re: Spallation events identification   (michel maire - Mar 04, 03:00)
 Add Message Add Message
to: "Re: Spallation events identification"

 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 ]