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

Load the level scheme and init the Monte-Carlo.

The level scheme is loaded and, in case of success, the InitRandom method is called to initialised the random generator. If you creat a class that inherits from BaseGEM, in principle, you just need to implement correctly the InitRandom method. An example could be found in GEM

It allows to load ags / ens / root level schemes

  • for ROOT first arg is the name of the file, the second one is the name of the level in the root file

Definition at line 194 of file BaseGEM.cpp.