82 m_photon_number(aPhotonNumber),
83 m_energy(anIncidentEnergy)
130 return (m_energy < aRecord.m_energy);
RATIONAL_NUMBER getPhotonEnergy() const
Accessor on the energy of photons.
SpectrumRecord is a class to handle a record of the X-Ray beam, i.e. an energy bin (number of photons...
RATIONAL_NUMBER m_energy
The energy of the photons.
RATIONAL_NUMBER m_photon_number
The number of photons.
std::istream & operator>>(std::istream &anInputSream, gVirtualXRay::AtomicElement &anElement)
operator >>
bool operator<(const SpectrumRecord &aRecord) const
operator<.
float RATIONAL_NUMBER
Type of data used to store real numbers.
const double keV
kiloelectron volt
std::ostream & operator<<(std::ostream &anOutputSream, const gVirtualXRay::AtomicElement &anElement)
operator <<
RATIONAL_NUMBER getPhotonNumber() const
Accessor on the number of photons in the bin.
Units, such as meters, etc.
SpectrumRecord(const RATIONAL_NUMBER &aPhotonNumber=0, const RATIONAL_NUMBER &anIncidentEnergy=0)
Default constructor.