/search.css" rel="stylesheet" type="text/css"/> /search.js">
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

Public Member Functions | Protected Attributes
GenDecay::GammaRadiation Class Reference

#include <Radiation.h>

Inheritance diagram for GenDecay::GammaRadiation:
Inheritance graph
[legend]
Collaboration diagram for GenDecay::GammaRadiation:
Collaboration graph
[legend]

List of all members.

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

Detailed Description

Definition at line 104 of file Radiation.h.


Constructor & Destructor Documentation

GammaRadiation::GammaRadiation ( double  energy)

Definition at line 186 of file Radiation.cc.

    : Radiation(energy)
{
}
GammaRadiation::~GammaRadiation ( ) [virtual]

Definition at line 190 of file Radiation.cc.

{
}

Member Function Documentation

int GammaRadiation::pid ( ) const [virtual]

Implements GenDecay::Radiation.

Definition at line 201 of file Radiation.cc.

{
    return 22;
}
double GammaRadiation::mass ( ) const [virtual]

Implements GenDecay::Radiation.

Definition at line 206 of file Radiation.cc.

{
    return 0;
}
std::string GammaRadiation::asString ( ) const [virtual]

Implements GenDecay::Radiation.

Definition at line 194 of file Radiation.cc.

{
    stringstream ss;
    ss << "gamma: Energy=" << m_energy << ends;
    return ss.str().c_str();
}
RadiationType GenDecay::GammaRadiation::type ( ) const [inline, virtual]

Implements GenDecay::Radiation.

Definition at line 114 of file Radiation.h.

{ return Gamma; }
std::string GenDecay::GammaRadiation::typeString ( ) const [inline, virtual]

Implements GenDecay::Radiation.

Definition at line 115 of file Radiation.h.

{ return "Gamma"; }
double Radiation::kineticEnergy ( ) const [virtual, inherited]

Reimplemented in GenDecay::AlphaRadiation, and GenDecay::BetaRadiation.

Definition at line 33 of file Radiation.cc.

{
    return m_energy; 
}

Member Data Documentation

double GenDecay::Radiation::m_energy [protected, inherited]

Definition at line 32 of file Radiation.h.


The documentation for this class was generated from the following files:
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Fri May 16 2014 10:21:06 for GenDecay by doxygen 1.7.4