GammaWare  Head Version for release 0.9
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
void twoLS ( Int_t  nbcas = 100)

Function to make a Monte Carlo on two AGS files.

Usage:

197Pb.ags and 198Pb.ags are used to creat two BaseGEM objects. Those objects are set in a RandObj with two specific weight.

A first random selection is performed to choose one of the nucleus, then a random process is applied to determine the gamma-ray cascade.

It produces two histograms in the current directory

  1. the spectrum corresponding to 197Pb
  2. the spectrum corresponding to 198Pb

they are displayed with different colors in the current pad as show in the following picture

twoLS.png
Author
Olivier Stezowski - 07/2004

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

Definition at line 226 of file firstdemo.C.