void cascataAGS | ( | const Int_t | , |
Int_t | , | ||
FILE | , | ||
const Double_t | , | ||
const BaseGEM | |||
) |
This function calculates and writes in a file the gamma cascades.
cascataAGS produces randomly cascades of gamma-rays on the basis of the level scheme. There is the constrain that the energy of the populated level is lower than the excitation energy. Energy is conserved with the emission of another gamma ray.