GammaWare  Head Version for release 0.9
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
void oneLS ( const Char_t *  filename,
const Char_t *  nucleus,
Int_t  nbcas = 100 
)

Function to make a monte carlo on any AGS/or ENSDF file.

Usage:

  • root
  • root [0] .L ensdfdemo.C
  • root [1] oneLS("151TB.ags","151TB") or root [1] oneLS("TB_ENSDF.ens","151TB")

filename is the name of the AGS or ENSDF file used to produce the random cascades nucleus is a the nucleus to which belongs the levelscheme (needed for ENSDF files - see LevelScheme::Import()) nbcas corresponds to the number of cascades to be simulated

It produces two histograms in the current directory

  • the multiplicity distribution of the simlated cascades
  • the gamma ray spectrum of all gammas

Olivier Stezowski - 07/2004

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

Definition at line 30 of file ensdfdemo.C.