GammaWare  Head Version for release 0.9
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
bool EGConverter::Read ( THStack &  )
virtual

to read several histograms

The stack is not cleared so the new histograms are added to the end. The name of the THStack could be used as a pattern to read only subset of the spectra stored in the DB system. Ex:
HistoDB hdb; hdb.Open("mydir","rad:$(PWD)")
THStack hs; hs.SetName("P*.spe"); hdb >> hs; // will read only spectra with filename P*.spe

Reimplemented from Gw::HistoConverter.

Definition at line 1006 of file EGConverter.cpp.