Message: Re: score neutrons in example N02 Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: score neutrons in example N02 

Forum: Hits, Digitization and Pileup
Re: None score neutrons in example N02 (Eleni)
Date: 16 Apr, 2011
From: michel maire <michel maire>

On Sat, 16 Apr 2011 10:08:20 GMT, Eleni wrote:
> Hello all, I am constructing a neutron detector based on example NO2.
> Can you tell me how can I score only the neutron hits and not having all
> the other particles' hits that makes the output quite confusing? Thanks
> in advance

 In your ProcessHits() :

 if ( aStep->GetTrack()->GetParticleDefinition() == G4Neutron::Neutron()) {  blablabla... }


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

1 None: Re: score neutrons in example N02   (Eleni - 17 Apr, 2011)
 Add Message Add Message
to: "Re: score neutrons in example N02"

 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 ]