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

CrElectronReentrant Class Reference

#include <CrElectronReentrant.h>

Inheritance diagram for CrElectronReentrant:

CrSpectrum Spectrum List of all members.

Public Methods

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

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

Definition at line 17 of file CrElectronReentrant.h.


Constructor & Destructor Documentation

CrElectronReentrant::CrElectronReentrant ( )
 

Definition at line 155 of file CrElectronReentrant.cxx.

CrElectronReentrant::~CrElectronReentrant ( )
 

Definition at line 161 of file CrElectronReentrant.cxx.


Member Function Documentation

double CrElectronReentrant::calculate_rate ( double old_rate )
 

Definition at line 234 of file CrElectronReentrant.cxx.

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

Reimplemented from Spectrum.

Definition at line 265 of file CrElectronReentrant.cxx.

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

Reimplemented from CrSpectrum.

Definition at line 167 of file CrElectronReentrant.cxx.

Referenced by dir().

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

Reimplemented from CrSpectrum.

Definition at line 193 of file CrElectronReentrant.cxx.

Referenced by operator()().

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

Definition at line 246 of file CrElectronReentrant.cxx.

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

Definition at line 240 of file CrElectronReentrant.cxx.

double CrElectronReentrant::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 199 of file CrElectronReentrant.cxx.

Referenced by flux().

float CrElectronReentrant::fraction ( float energy )
 

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

Reimplemented from Spectrum.

Definition at line 258 of file CrElectronReentrant.cxx.

float CrElectronReentrant::operator() ( float r )
 

r in [0,1).

Definition at line 224 of file CrElectronReentrant.cxx.

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

subclasses need to specify correct particle type.

Reimplemented from Spectrum.

Definition at line 218 of file CrElectronReentrant.cxx.

double CrElectronReentrant::solidAngle ( ) const [virtual]
 

calcualte effective solid angle (default zero).

Reimplemented from Spectrum.

Definition at line 212 of file CrElectronReentrant.cxx.

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

return a title describing the spectrum.

Reimplemented from Spectrum.

Definition at line 252 of file CrElectronReentrant.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