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

CrElectronPrimary.h

Go to the documentation of this file.
00001 //$Header: /nfs/slac/g/glast/ground/cvs/flux/src/CrElectronPrimary.h,v 1.3 2001/10/20 07:20:35 srobinsn Exp $
00002 #ifndef CrElectronPrimary_H
00003 #define CrElectronPrimary_H
00004 
00005 #include <utility>
00006 #include <string>
00007 #include "CrSpectrum.h"
00008 
00009 // Forward declaration:
00010 class HepRandomEngine;
00011 
00012 
00014 
00015 class CrElectronPrimary : public CrSpectrum
00016 {
00017 public:
00018   CrElectronPrimary();
00019   ~CrElectronPrimary();
00020   
00021   std::pair<double,double> dir(double energy, HepRandomEngine* engine) const;
00022   double energySrc(HepRandomEngine* engine) const;
00025   double flux() const;
00026   double solidAngle() const;
00027   const char* particleName() const;
00028 
00029   //
00030   // "flux" package stuff
00031   //
00033   float operator()(float r);
00034   double calculate_rate(double old_rate);
00035   float flux(float latitude, float longitude) const;
00036   float flux(std::pair<double,double> coords) const;
00037   std::string title() const;
00039   float fraction(float energy);
00040   std::pair<float,float> dir(float energy) const;
00041 };
00042 #endif // CrElectronPrimary_H

Generated at Wed Nov 21 12:20:33 2001 by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000