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)
Re: None Re: Spallation events identification (Michael H. Kelsey)
Date: Mar 02, 15:04
From: Stefania stucci <Stefania stucci>

Hi, thanks again for the help!

If I try

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

it takes not only nuclei but also other secondaries, for example electrons.

While

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

seems to work just fine.

I have got 58 ions for 100000 events (Ne21, Mg26, Al26, deuteron, Mg24, Si24, O18, Si28, Ne22, Al27, alpha, 017, Mg26, ...)

Thanks stefania

 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 ]