Message: Set number of events Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Set number of events 

Forum: Run Management
Date: 13 Aug, 2014
From: <Frank>


I shoot hundreds of gammas on a scintillator. Some of the gammas interact with the scintillator (~25%) and some don't (~75%).

Is there a way to stop a simulation when 100 photoelectric events (all other effects are inactivated) have occurred?

In interactive mode, when I use /run/beamOn 400, I get ~100 20 photoelectric events, but I would like to shoot the right amount of beamOn to get precisely 100 photoelectric events each time I run a simulation without hoping to be lucky in getting 100 photoelectric events.

Thank you!

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

1 Idea: Re: Set number of events   (Michael H. Kelsey - 14 Aug, 2014)
1 None: Re: Set number of events   (michel maire - 21 Aug, 2014)
(_ Feedback: Re: Set number of events   (Michael H. Kelsey - 21 Aug, 2014)
2 None: Re: Set number of events   (michel maire - 19 Aug, 2014)
1 Ok: Re: Set number of events   (Frank - 19 Aug, 2014)
 Add Message Add Message
to: "Set number of events"

 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 ]