Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

ProtonSpectrum Class Reference

This is the cosmic ray proton spectrum appropriate for low inclination Earth orbit. More...

#include <ProtonSpectrum.h>

Inheritance diagram for ProtonSpectrum:

Spectrum List of all members.

Public Methods

 ProtonSpectrum ()
virtual float operator() (float) const
virtual double calculate_rate (double old_rate)
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...


Static Private Methods

int prolocate (struct tbl *data, int n, double x)
double protonenergy (float r)

Detailed Description

This is the cosmic ray proton spectrum appropriate for low inclination Earth orbit.

Definition at line 24 of file ProtonSpectrum.h.


Constructor & Destructor Documentation

ProtonSpectrum::ProtonSpectrum ( ) [inline]
 

Definition at line 27 of file ProtonSpectrum.h.


Member Function Documentation

double ProtonSpectrum::calculate_rate ( double old_rate ) [virtual]
 

Definition at line 149 of file ProtonSpectrum.cxx.

float ProtonSpectrum::operator() ( float r ) const [virtual]
 

Reimplemented from Spectrum.

Definition at line 18 of file ProtonSpectrum.cxx.

const char * ProtonSpectrum::particleName ( ) const [virtual]
 

subclasses need to specify correct particle type.

Reimplemented from Spectrum.

Definition at line 154 of file ProtonSpectrum.cxx.

int ProtonSpectrum::prolocate ( struct tbl * data,
int n,
double x ) [static, private]
 

Definition at line 55 of file ProtonSpectrum.cxx.

double ProtonSpectrum::protonenergy ( float r ) [static, private]
 

Definition at line 79 of file ProtonSpectrum.cxx.

std::string ProtonSpectrum::title ( ) const [virtual]
 

return a title describing the spectrum.

Reimplemented from Spectrum.

Definition at line 158 of file ProtonSpectrum.cxx.


The documentation for this class was generated from the following files:
Generated at Wed Nov 21 12:20:36 2001 by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000