/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 | Private Attributes
GenDecay::AlphaRadiation Class Reference

#include <Radiation.h>

Inheritance diagram for GenDecay::AlphaRadiation:
Inheritance graph
[legend]
Collaboration diagram for GenDecay::AlphaRadiation:
Collaboration graph
[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.

    : Radiation(energy), m_parentA(parentA)
{
}
AlphaRadiation::~AlphaRadiation ( ) [virtual]

Definition at line 44 of file Radiation.cc.

{
}

Member Function Documentation

std::string AlphaRadiation::asString ( ) const [virtual]

Implements GenDecay::Radiation.

Definition at line 48 of file Radiation.cc.

{
    stringstream ss;
    ss << "alpha: A=" << m_parentA << ", KE=" << m_energy << ends;
    return ss.str().c_str();
}
double AlphaRadiation::kineticEnergy ( ) const [virtual]

Reimplemented from GenDecay::Radiation.

Definition at line 55 of file Radiation.cc.

{
    // NNDC tables give alpha kinetic energy, not Qvalue
    //return (m_parentA-4.0)/m_parentA * m_energy;
    return m_energy;
}
int AlphaRadiation::pid ( ) const [virtual]

Implements GenDecay::Radiation.

Definition at line 62 of file Radiation.cc.

{
    return 1000020040;
}
double AlphaRadiation::mass ( ) const [virtual]

Implements GenDecay::Radiation.

Definition at line 66 of file Radiation.cc.

{
    return 3.727000*CLHEP::GeV;
}
RadiationType GenDecay::AlphaRadiation::type ( ) const [inline, virtual]

Implements GenDecay::Radiation.

Definition at line 67 of file Radiation.h.

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

Implements GenDecay::Radiation.

Definition at line 68 of file Radiation.h.

{ return "Alpha"; }

Member Data Documentation

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 Fri May 16 2014 10:21:06 for GenDecay by doxygen 1.7.4