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

CrProtonReentrant Class Reference

CrProtonReentrant: The reentrant cosmic-ray electron spectrum (and incident angle) source. More...

#include <CrProtonReentrant.h>

Inheritance diagram for CrProtonReentrant:

CrSpectrum Spectrum List of all members.

Public Methods

 CrProtonReentrant ()
 ~CrProtonReentrant ()
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

Detailed Description

CrProtonReentrant: The reentrant cosmic-ray electron spectrum (and incident angle) source.

Definition at line 17 of file CrProtonReentrant.h.


Constructor & Destructor Documentation

CrProtonReentrant::CrProtonReentrant ( )
 

Definition at line 131 of file CrProtonReentrant.cxx.

CrProtonReentrant::~CrProtonReentrant ( )
 

Definition at line 137 of file CrProtonReentrant.cxx.


Member Function Documentation

double CrProtonReentrant::calculate_rate ( double old_rate )
 

Definition at line 210 of file CrProtonReentrant.cxx.

std::pair< float,float > CrProtonReentrant::dir ( float energy ) const [virtual]
 

Reimplemented from Spectrum.

Definition at line 241 of file CrProtonReentrant.cxx.

std::pair< double,double > CrProtonReentrant::dir ( double energy,
HepRandomEngine * engine ) const [virtual]
 

Reimplemented from CrSpectrum.

Definition at line 143 of file CrProtonReentrant.cxx.

Referenced by dir().

double CrProtonReentrant::energySrc ( HepRandomEngine * engine ) const [virtual]
 

Reimplemented from CrSpectrum.

Definition at line 169 of file CrProtonReentrant.cxx.

Referenced by operator()().

float CrProtonReentrant::flux ( std::pair< double,double > coords ) const
 

Definition at line 222 of file CrProtonReentrant.cxx.

float CrProtonReentrant::flux ( float latitude,
float longitude ) const
 

Definition at line 216 of file CrProtonReentrant.cxx.

double CrProtonReentrant::flux ( ) const [virtual]
 

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 175 of file CrProtonReentrant.cxx.

Referenced by flux().

float CrProtonReentrant::fraction ( float energy )
 

fraction function doesn't work in this class... :-(.

Reimplemented from Spectrum.

Definition at line 234 of file CrProtonReentrant.cxx.

float CrProtonReentrant::operator() ( float r )
 

r in [0,1).

Definition at line 200 of file CrProtonReentrant.cxx.

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

subclasses need to specify correct particle type.

Reimplemented from Spectrum.

Definition at line 194 of file CrProtonReentrant.cxx.

double CrProtonReentrant::solidAngle ( ) const [virtual]
 

calcualte effective solid angle (default zero).

Reimplemented from Spectrum.

Definition at line 188 of file CrProtonReentrant.cxx.

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

return a title describing the spectrum.

Reimplemented from Spectrum.

Definition at line 228 of file CrProtonReentrant.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