#include <Radiation.h>
Inheritance diagram for GenDecay::GammaRadiation:
Public Member Functions | |
| GammaRadiation (double energy) | |
| virtual | ~GammaRadiation () |
| int | pid () const |
| double | mass () const |
| std::string | asString () const |
| RadiationType | type () const |
| std::string | typeString () const |
| virtual double | kineticEnergy () const |
Protected Attributes | |
| double | m_energy |
Definition at line 104 of file Radiation.h.
| GammaRadiation::GammaRadiation | ( | double | energy | ) |
| GammaRadiation::~GammaRadiation | ( | ) | [virtual] |
| int GammaRadiation::pid | ( | ) | const [virtual] |
| double GammaRadiation::mass | ( | ) | const [virtual] |
| std::string GammaRadiation::asString | ( | ) | const [virtual] |
Implements GenDecay::Radiation.
Definition at line 194 of file Radiation.cc.
00195 { 00196 stringstream ss; 00197 ss << "gamma: Energy=" << m_energy << ends; 00198 return ss.str().c_str(); 00199 }
| RadiationType GenDecay::GammaRadiation::type | ( | ) | const [inline, virtual] |
| std::string GenDecay::GammaRadiation::typeString | ( | ) | const [inline, virtual] |
| double Radiation::kineticEnergy | ( | ) | const [virtual, inherited] |
Reimplemented in GenDecay::AlphaRadiation, and GenDecay::BetaRadiation.
Definition at line 33 of file Radiation.cc.
00034 { 00035 return m_energy; 00036 }
double GenDecay::Radiation::m_energy [protected, inherited] |
Definition at line 32 of file Radiation.h.
1.4.7