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

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 in EGConverter, GPSIConverter, RADConverter, and ASCConverter.

Definition at line 268 of file HistoConverter.h.