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

CrSpectrum Class Reference

#include <CrSpectrum.h>

Inheritance diagram for CrSpectrum:

Spectrum CrElectronPrimary CrElectronReentrant CrElectronSplash CrProtonPrimary CrProtonReentrant CrProtonSplash List of all members.

Public Methods

 CrSpectrum ()
 ~CrSpectrum ()
void setTime (double time)
 time is the elapsed seconds from 2000-01-01 00:00:00 UT and can be negative value. More...

void setPosition (double latitude, double longitude, double time)
 The unit of coordinates is [deg]. More...

void setPosition (double latitude, double longitude)
double longitude () const
 [deg]. More...

double latitude () const
 [deg]. More...

double geomagneticLongitude () const
 [deg]. More...

double geomagneticLatitude () const
 [deg]. More...

double cutOffRigidity () const
 [GV]. More...

double solarWindPotential () const
 [MV]. More...

virtual double energySrc (HepRandomEngine* engine) const = 0
virtual std::pair<double,double> dir (double energy, HepRandomEngine* engine) const = 0

Protected Attributes

double m_time
 [s]. More...

double m_geomagneticLatitude
 [deg]. More...

double m_geomagneticLongitude
 [deg]. More...

double m_cutOffRigidity
 [GV]. More...

double m_solarWindPotential
 [MV]. More...


Constructor & Destructor Documentation

CrSpectrum::CrSpectrum ( )
 

Definition at line 7 of file CrSpectrum.cxx.

CrSpectrum::~CrSpectrum ( )
 

Definition at line 13 of file CrSpectrum.cxx.


Member Function Documentation

double CrSpectrum::cutOffRigidity ( ) const
 

[GV].

Definition at line 92 of file CrSpectrum.cxx.

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

Reimplemented in CrElectronPrimary, CrElectronReentrant, CrElectronSplash, CrProtonPrimary, CrProtonReentrant, and CrProtonSplash.

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

Reimplemented in CrElectronPrimary, CrElectronReentrant, CrElectronSplash, CrProtonPrimary, CrProtonReentrant, and CrProtonSplash.

Referenced by CrProton::energySrc(), and CrElectron::energySrc().

double CrSpectrum::geomagneticLatitude ( ) const
 

[deg].

Definition at line 86 of file CrSpectrum.cxx.

double CrSpectrum::geomagneticLongitude ( ) const
 

[deg].

Definition at line 80 of file CrSpectrum.cxx.

double CrSpectrum::latitude ( ) const
 

[deg].

Definition at line 74 of file CrSpectrum.cxx.

double CrSpectrum::longitude ( ) const
 

[deg].

Definition at line 68 of file CrSpectrum.cxx.

void CrSpectrum::setPosition ( double latitude,
double longitude )
 

Definition at line 25 of file CrSpectrum.cxx.

void CrSpectrum::setPosition ( double latitude,
double longitude,
double time ) [virtual]
 

The unit of coordinates is [deg].

Reimplemented from Spectrum.

Definition at line 31 of file CrSpectrum.cxx.

Referenced by CrSpectrum(), setPosition(), and setTime().

void CrSpectrum::setTime ( double time )
 

time is the elapsed seconds from 2000-01-01 00:00:00 UT and can be negative value.

Definition at line 19 of file CrSpectrum.cxx.

double CrSpectrum::solarWindPotential ( ) const
 

[MV].

Definition at line 98 of file CrSpectrum.cxx.


Member Data Documentation

double CrSpectrum::m_cutOffRigidity [protected]
 

[GV].

Definition at line 58 of file CrSpectrum.h.

double CrSpectrum::m_geomagneticLatitude [protected]
 

[deg].

Definition at line 54 of file CrSpectrum.h.

double CrSpectrum::m_geomagneticLongitude [protected]
 

[deg].

Definition at line 56 of file CrSpectrum.h.

double CrSpectrum::m_solarWindPotential [protected]
 

[MV].

Definition at line 60 of file CrSpectrum.h.

double CrSpectrum::m_time [protected]
 

[s].

Reimplemented from Spectrum.

Definition at line 52 of file CrSpectrum.h.


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