GammaWare  Head Version for release 0.9
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
BrowserLS.C
Go to the documentation of this file.
1 
8 void BrowserLS(const char *name)
9 {
10  if ( gSystem->Load("libGWPHYSICS.so") < 0 )
11  { cout << "libGWPHYSICS.so is needed to display " << hname << endl; return; }
12 
13  TString t = name;
14 
15  if ( t.EndsWith(".ags") || t.EndsWith(".ens") ) { //
16  Gw::LevelScheme *lev = new Gw::LevelScheme(); lev->Import(name,"FromImport"); lev->Draw();
17  }
18 }
A level Scheme.
Definition: LevelScheme.h:82
virtual void Draw(Option_t *opt="")
to draw this level scheme
virtual Int_t Import(const Char_t *, Option_t *)
to init this level scheme from an existing formatted file (ENSDF, Radware ..)
void BrowserLS(const char *name)
Definition: BrowserLS.C:8
ADF::LogMessage & endl(ADF::LogMessage &log)