#include <FILESpectrum.h>
Inheritance diagram for FILESpectrum:

Public Methods | |
| FILESpectrum (const std::string& params) | |
| params is the filename to read. More... | |
| virtual double | flux () const |
| return total flux. More... | |
| virtual float | operator() (float) const |
| sample a single particle energy from the spectrum. More... | |
| virtual std::string | title () const |
| return a title describing the spectrum. More... | |
| virtual const char* | particleName () const |
| subclasses need to specify correct particle type. More... | |
| const char* | nameOf () const |
Private Types | |
| typedef std::pair<double,double> | efpair |
Private Attributes | |
| float | m_flux |
| std::vector<efpair> | integ_flux |
| std::string | initialization_document |
| std::string | m_particle_name |
Definition at line 14 of file FILESpectrum.h.
|
|
Definition at line 41 of file FILESpectrum.h. |
|
|
params is the filename to read.
Definition at line 15 of file FILESpectrum.cxx. |
|
|
return total flux.
Reimplemented from Spectrum. Definition at line 105 of file FILESpectrum.cxx. |
|
|
Definition at line 31 of file FILESpectrum.h. |
|
|
sample a single particle energy from the spectrum.
Reimplemented from Spectrum. Definition at line 111 of file FILESpectrum.cxx. |
|
|
subclasses need to specify correct particle type.
Reimplemented from Spectrum. Definition at line 142 of file FILESpectrum.cxx. |
|
|
return a title describing the spectrum.
Reimplemented from Spectrum. Definition at line 137 of file FILESpectrum.cxx. |
|
|
Definition at line 45 of file FILESpectrum.h. |
|
|
Definition at line 42 of file FILESpectrum.h. |
|
|
Definition at line 38 of file FILESpectrum.h. |
|
|
Definition at line 46 of file FILESpectrum.h. |
1.2.3 written by Dimitri van Heesch,
© 1997-2000