00001
00002
00003
00004
00005
00006 #ifndef ALBEDO_SPECTRUM_H
00007 #define ALBEDO_SPECTRUM_H
00008
00009 #include "flux/Spectrum.h"
00010
00011 namespace xml {
00012 class Element;
00013 }
00014
00017 class AlbedoSpectrum : public Spectrum
00018 {
00019 public:
00020 AlbedoSpectrum(){
00021 std::string str="gamma";
00022 AlbedoSpectrum("gamma");
00023 }
00024
00026 AlbedoSpectrum(const xml::Element& xelem);
00027
00029 AlbedoSpectrum(const std::string& name);
00030
00031 virtual double calculate_rate(double old_rate);
00032
00033
00035 virtual float operator()(float r)const;
00036
00037 virtual const char* particleName()const;
00038 virtual std::string title()const;
00039
00040 enum Type{photon, neutron};
00041
00042 void setPosition ( float lat, float lon ){}
00043
00044 private:
00045
00047 Type type_;
00048
00049 };
00050
00051 #endif