alcap-org / g4sim

Simulation toolkit based on Geant4 and ROOT
http://wuchen1106.github.io/g4sim/
2 stars 2 forks source link

Correlation between generated muons #34

Open jrquirk opened 9 years ago

jrquirk commented 9 years ago

Time for events is always since the primary muon is generated, and primary muons are considered different Geant events. A correlation between muons may be necessary down the road, though it doesn't seem pressing now.

What I did before is just accumulate time while sampling from an exponential (exp[-t * R], where R is the beam rate) and then when t > 110 ms, reset.