GammaWare  Head Version for release 0.9
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
void XGammaLink::SetX ( Int_t  nb,
Float_t *  energy,
Float_t *  weight 
)

it initialises the list of X-rays associated with this link

The first argument is the number of Xrays, the second is a vector of energies and the third one the associated intensities.
Because it sets all X-rays, the previous definition is lost.
It creats a list of X-rays (as GammaLink) with a associated random generator (RandObj). All GammaLinks are from the same initial and final level.

Todo:

a member function that initialises the X-rays list by consulting a DataCenter.

URGENT: set the correct x-rays properties (conversion,multipolarity ..). For the moment only copy of this

Definition at line 42 of file XGammaLink.cpp.