| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

GenDecay::AlphaRadiation Class Reference

#include <Radiation.h>

Inheritance diagram for GenDecay::AlphaRadiation:

[legend]
Collaboration diagram for GenDecay::AlphaRadiation:
[legend]
List of all members.

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

Detailed Description

Definition at line 52 of file Radiation.h.


Constructor & Destructor Documentation

AlphaRadiation::AlphaRadiation ( double  energy,
int  parentA 
)

Definition at line 40 of file Radiation.cc.

00041     : Radiation(energy), m_parentA(parentA)
00042 {
00043 }

AlphaRadiation::~AlphaRadiation (  )  [virtual]

Definition at line 44 of file Radiation.cc.

00045 {
00046 }


Member Function Documentation

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]

Implements GenDecay::Radiation.

Definition at line 62 of file Radiation.cc.

00063 {
00064     return 1000020040;
00065 }

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]

Implements GenDecay::Radiation.

Definition at line 67 of file Radiation.h.

00067 { return Alpha; }

std::string GenDecay::AlphaRadiation::typeString (  )  const [inline, virtual]

Implements GenDecay::Radiation.

Definition at line 68 of file Radiation.h.

00068 { return "Alpha"; }


Member Data Documentation

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.


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

Generated on Mon Apr 11 21:01:10 2011 for GenDecay by doxygen 1.4.7