GammaWare  Head Version for release 0.9
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Int_t LevelScheme::InitAGS ( const Char_t *  filename,
Option_t *  opt = "152Dy" 
)
virtual

BETTER TO USE Import - To init this level scheme with a Radford AGS file.

Init this LevelSheme with an ascii gls Level Sheme File (.ags). The second argument (optional) is the nuclide to which this level scheme belongs. It is better to give it since the ags file's content does not have this information.

It returns 0 if something is wrong and 1 if the initialisation is ok. In case of success, the previous data members are lost. In case of error, the previous data members are still available.

Warning
The Radware defines bands and not Cascades. They are differents since a band is a collection of levels while a cascade is a collection of links. In this function, bands are converted into Cascades. A link is in the cascade if the initial and final level are in the corresponding band.

Definition at line 292 of file LevelScheme.cpp.