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

CrProtonSplash Class Reference

CrProtonSplash: The splash cosmic-ray electron spectrum (and incident angle) source. More...

#include <CrProtonSplash.h>

Inheritance diagram for CrProtonSplash:

CrSpectrum Spectrum List of all members.

Public Methods

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

CrProtonSplash: The splash cosmic-ray electron spectrum (and incident angle) source.

Definition at line 17 of file CrProtonSplash.h.


Constructor & Destructor Documentation

CrProtonSplash::CrProtonSplash ( )
 

Definition at line 130 of file CrProtonSplash.cxx.

CrProtonSplash::~CrProtonSplash ( )
 

Definition at line 136 of file CrProtonSplash.cxx.


Member Function Documentation

double CrProtonSplash::calculate_rate ( double old_rate )
 

Definition at line 211 of file CrProtonSplash.cxx.

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

Reimplemented from Spectrum.

Definition at line 242 of file CrProtonSplash.cxx.

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

Reimplemented from CrSpectrum.

Definition at line 142 of file CrProtonSplash.cxx.

Referenced by dir().

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

Reimplemented from CrSpectrum.

Definition at line 170 of file CrProtonSplash.cxx.

Referenced by operator()().

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

Definition at line 223 of file CrProtonSplash.cxx.

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

Definition at line 217 of file CrProtonSplash.cxx.

double CrProtonSplash::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 176 of file CrProtonSplash.cxx.

Referenced by flux().

float CrProtonSplash::fraction ( float energy )
 

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

Reimplemented from Spectrum.

Definition at line 235 of file CrProtonSplash.cxx.

float CrProtonSplash::operator() ( float r )
 

r in [0,1).

Definition at line 201 of file CrProtonSplash.cxx.

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

subclasses need to specify correct particle type.

Reimplemented from Spectrum.

Definition at line 195 of file CrProtonSplash.cxx.

double CrProtonSplash::solidAngle ( ) const [virtual]
 

calcualte effective solid angle (default zero).

Reimplemented from Spectrum.

Definition at line 189 of file CrProtonSplash.cxx.

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

return a title describing the spectrum.

Reimplemented from Spectrum.

Definition at line 229 of file CrProtonSplash.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