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

Public Methods | |
| CrProtonPrimary () | |
| ~CrProtonPrimary () | |
| std::pair<double,double> | dir (double energy, HepRandomEngine* engine) const |
| double | energySrc (HepRandomEngine* engine) const |
| double | flux () const |
| flux returns the value integrated over whole energy and direction and devided by 4pi Sr: then the unit is [s**-1 m**-2 Sr**-1]. More... | |
| double | solidAngle () const |
| calcualte effective solid angle (default zero). More... | |
| const char* | particleName () const |
| subclasses need to specify correct particle type. More... | |
| float | operator() (float r) |
| r in [0,1). More... | |
| double | calculate_rate (double old_rate) |
| float | flux (float latitude, float longitude) const |
| float | flux (std::pair<double,double> coords) const |
| std::string | title () const |
| return a title describing the spectrum. More... | |
| float | fraction (float energy) |
| fraction function doesn't work in this class... :-(. More... | |
| std::pair<float,float> | dir (float energy) const |
Definition at line 17 of file CrProtonPrimary.h.
|
|
Definition at line 224 of file CrProtonPrimary.cxx. |
|
|
Definition at line 230 of file CrProtonPrimary.cxx. |
|
|
Definition at line 290 of file CrProtonPrimary.cxx. |
|
|
Reimplemented from Spectrum. Definition at line 321 of file CrProtonPrimary.cxx. |
|
|
Reimplemented from CrSpectrum. Definition at line 236 of file CrProtonPrimary.cxx. Referenced by dir(). |
|
|
Reimplemented from CrSpectrum. Definition at line 252 of file CrProtonPrimary.cxx. Referenced by operator()(). |
|
|
Definition at line 302 of file CrProtonPrimary.cxx. |
|
|
Definition at line 296 of file CrProtonPrimary.cxx. |
|
|
flux returns the value integrated over whole energy and direction and devided by 4pi Sr: then the unit is [s**-1 m**-2 Sr**-1].
Reimplemented from Spectrum. Definition at line 258 of file CrProtonPrimary.cxx. Referenced by flux(). |
|
|
fraction function doesn't work in this class... :-(.
Reimplemented from Spectrum. Definition at line 314 of file CrProtonPrimary.cxx. |
|
|
r in [0,1).
Definition at line 280 of file CrProtonPrimary.cxx. |
|
|
subclasses need to specify correct particle type.
Reimplemented from Spectrum. Definition at line 274 of file CrProtonPrimary.cxx. |
|
|
calcualte effective solid angle (default zero).
Reimplemented from Spectrum. Definition at line 268 of file CrProtonPrimary.cxx. |
|
|
return a title describing the spectrum.
Reimplemented from Spectrum. Definition at line 308 of file CrProtonPrimary.cxx. |
1.2.3 written by Dimitri van Heesch,
© 1997-2000