Message: Re: simulating 2E13 primary particles / events? Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Idea Re: simulating 2E13 primary particles / events? 

Forum: Event and Track Management
Re: Question simulating 2E13 primary particles / events? (Cristian Bungau)
Date: 07 Oct, 2008
From: Gergely Soti <Gergely Soti>

I don't know the "proper" solution, but you could do it in 2 for-loops. If the 1st int goes to 10^9, and the other to 10^4, you get 10^13. Something like this:

for(i=0,i<1000000000,i++){
  for{j=0,j<10000,j++}{ GeneratePrimaries(); }
}

Hope this helped!

 Add Message Add Message
to: "Re: simulating 2E13 primary particles / 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 ]