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

Public Methods | |
| CrProton (const std::string& params) | |
| ~CrProton () | |
| CrSpectrum* | selectComponent (HepRandomEngine* engine) |
| double | energySrc (HepRandomEngine* engine) |
| new interface for Hirosima classes. More... | |
| std::pair<double,double> | dir (double energy, HepRandomEngine* engine) |
| CrSpectrum* | component () const |
| virtual double | flux ( ) const |
| calculate the flux, particles/m^2/sr. 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... | |
| virtual double | solidAngle ( ) const |
| calcualte effective solid angle (default zero). More... | |
Private Attributes | |
| std::vector<CrSpectrum*> | m_subComponents |
| CrSpectrum* | m_component |
|
|
Definition at line 32 of file CrProton.cxx. |
|
|
Definition at line 48 of file CrProton.cxx. |
|
|
Definition at line 95 of file CrProton.cxx. |
|
|
Reimplemented from Spectrum. Definition at line 86 of file CrProton.cxx. |
|
|
new interface for Hirosima classes.
Reimplemented from Spectrum. Definition at line 78 of file CrProton.cxx. |
|
|
calculate the flux, particles/m^2/sr.
Reimplemented from Spectrum. Definition at line 100 of file CrProton.cxx. |
|
|
subclasses need to specify correct particle type.
Reimplemented from Spectrum. Definition at line 36 of file CrProton.h. |
|
|
Definition at line 57 of file CrProton.cxx. Referenced by energySrc(). |
|
|
calcualte effective solid angle (default zero).
Reimplemented from Spectrum. Definition at line 110 of file CrProton.cxx. |
|
|
return a title describing the spectrum.
Reimplemented from Spectrum. Definition at line 37 of file CrProton.h. |
|
|
Definition at line 42 of file CrProton.h. |
|
|
Definition at line 41 of file CrProton.h. |
1.2.3 written by Dimitri van Heesch,
© 1997-2000