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

Same as simu1() but with another source of gamma-ray that produces a continuous background.

Usage:

The background is simulated by using a TF1 function.
A random procedure uses RandObj to determine the proportion of gammas from the level scheme compared to the number of gammas from the background.

Olivier Stezowski - 07/2004

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

Definition at line 323 of file firstdemo.C.