#include <Radiation.h>
Inheritance diagram for GenDecay::AlphaRadiation:
Public Member Functions | |
| AlphaRadiation (double energy, int parentA) | |
| virtual | ~AlphaRadiation () |
| std::string | asString () const |
| double | kineticEnergy () const |
| int | pid () const |
| double | mass () const |
| RadiationType | type () const |
| std::string | typeString () const |
Protected Attributes | |
| double | m_energy |
Private Attributes | |
| int | m_parentA |
Definition at line 52 of file Radiation.h.
| AlphaRadiation::AlphaRadiation | ( | double | energy, | |
| int | parentA | |||
| ) |
| AlphaRadiation::~AlphaRadiation | ( | ) | [virtual] |
| std::string AlphaRadiation::asString | ( | ) | const [virtual] |
Implements GenDecay::Radiation.
Definition at line 48 of file Radiation.cc.
00049 { 00050 stringstream ss; 00051 ss << "alpha: A=" << m_parentA << ", KE=" << m_energy << ends; 00052 return ss.str().c_str(); 00053 }
| double AlphaRadiation::kineticEnergy | ( | ) | const [virtual] |
Reimplemented from GenDecay::Radiation.
Definition at line 55 of file Radiation.cc.
00056 { 00057 // NNDC tables give alpha kinetic energy, not Qvalue 00058 //return (m_parentA-4.0)/m_parentA * m_energy; 00059 return m_energy; 00060 }
| int AlphaRadiation::pid | ( | ) | const [virtual] |
| double AlphaRadiation::mass | ( | ) | const [virtual] |
Implements GenDecay::Radiation.
Definition at line 66 of file Radiation.cc.
00067 { 00068 return 3.727000*CLHEP::GeV; 00069 }
| RadiationType GenDecay::AlphaRadiation::type | ( | ) | const [inline, virtual] |
| std::string GenDecay::AlphaRadiation::typeString | ( | ) | const [inline, virtual] |
int GenDecay::AlphaRadiation::m_parentA [private] |
Definition at line 54 of file Radiation.h.
double GenDecay::Radiation::m_energy [protected, inherited] |
Definition at line 32 of file Radiation.h.
1.4.7