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

Public Types | |
| enum | Type { photon, neutron } |
Public Methods | |
| AlbedoSpectrum () | |
| AlbedoSpectrum (const xml::Element& xelem) | |
| require attribute name="gamma" or name="neutron". | |
| AlbedoSpectrum (const std::string& name) | |
| constructor. must specify name ("photon" or "n"). More... | |
| virtual double | calculate_rate (double old_rate) |
| virtual float | operator() (float r) const |
| return energy based on random. More... | |
| virtual const char* | particleName () const |
| subclasses need to specify correct particle type. More... | |
| virtual std::string | title () const |
| return a title describing the spectrum. More... | |
| void | setPosition ( float lat, float lon ) |
Private Attributes | |
| Type | type_ |
| photon or neutron (or...?). More... | |
Definition at line 17 of file AlbedoSpectrum.h.
|
|
Definition at line 40 of file AlbedoSpectrum.h. |
|
|
Definition at line 20 of file AlbedoSpectrum.h. |
|
|
require attribute name="gamma" or name="neutron".
|
|
|
constructor. must specify name ("photon" or "n").
Definition at line 22 of file AlbedoSpectrum.cxx. |
|
|
Definition at line 79 of file AlbedoSpectrum.cxx. |
|
|
return energy based on random.
Reimplemented from Spectrum. Definition at line 48 of file AlbedoSpectrum.cxx. |
|
|
subclasses need to specify correct particle type.
Reimplemented from Spectrum. Definition at line 33 of file AlbedoSpectrum.cxx. |
|
|
Definition at line 42 of file AlbedoSpectrum.h. |
|
|
return a title describing the spectrum.
Reimplemented from Spectrum. Definition at line 38 of file AlbedoSpectrum.cxx. |
|
|
photon or neutron (or...?).
Definition at line 47 of file AlbedoSpectrum.h. |
1.2.3 written by Dimitri van Heesch,
© 1997-2000