void toGEANT1 | ( | const Char_t * | nameAGS, |
Int_t | nbcas = 100 , |
||
const Char_t * | nameOUT = "toGEANT101.event" |
||
) |
To produce sequences of gamma-ray energies and format them to Enrico's program.
Function to generate gammas from on a level Scheme and store them in a file formatted for Enrico's programs
nameOUT: file to store the simulated events
A ROOT file is open with the name toGEANT101.root in order to store the simulated spectrum and the multiplicity distribution
PS: libGWPHYSICS and libGWGEM must be loaded before running this macro (see rootlogon.C)