GammaWare  Head Version for release 0.9
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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

  • nameGLS : name of the GLS file
  • nbcas: corresponds to the number of cascades to be simulated
  • nameOUT: file to store the simulated events

    Warning
    any existing file with the same name will be lost

    A ROOT file is open with the name toGEANT101.root in order to store the simulated spectrum and the multiplicity distribution

    Date
    07/2004
    Author
    Olivier Stezowski

    PS: libGWPHYSICS and libGWGEM must be loaded before running this macro (see rootlogon.C)

Definition at line 19 of file ToGeant.C.