GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Bugs, Fixes, Releases » box generator  () 1 Vote
Re: box generator [message #4283 is a reply to message #4278] Tue, 22 May 2007 09:14 Go to previous messageGo to previous message
Pablo Genova is currently offline  Pablo Genova
Messages: 32
Registered: May 2007
continuous participant
From: *PV.INFN.IT
Yes for me it's OK.

It could be useful, in order to prevent errors, to explain in the comments that, for uniform generation on the solid angle, one has to call setphirange and setcosthetarange and not settheta.

Maybe also a function setuniform() which automatically sets the whole (phi, theta) range and generates uniformly on the solid angle could be useful.

ciao, Pablo
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Addressing Hits by Array-index
Next Topic: decay off in geant4
Goto Forum:
  


Current Time: Thu Mar 28 21:30:47 CET 2024

Total time taken to generate the page: 0.01042 seconds