CepGen 1.2.5
Central exclusive processes event generator
|
Heavy ion container (Z+A) More...
#include <CepGen/Physics/HeavyIon.h>
Public Member Functions | |
HeavyIon (unsigned short, const Element &) | |
General constructor from mass and atomic number. | |
bool | operator== (const HeavyIon &oth) const |
bool | operator!= (const HeavyIon &oth) const |
double | massN () const |
Neutrons mass, in GeV/c2. | |
double | massP () const |
Protons mass, in GeV/c2. | |
double | mass () const |
Total heavy ion mass, in GeV/c2. | |
double | radius () const |
Heavy ion radius, in m. | |
operator pdgid_t () const | |
Convert the HI into a custom PDG id. | |
Static Public Member Functions | |
static HeavyIon | fromPdgId (pdgid_t) |
Build from a custom PDG id. | |
static bool | isHI (const spdgid_t &) |
Check if the PDG id is compatible with a HI. | |
static bool | isHI (const ParticleProperties &) |
Check if the particle properties are compatible with a HI. | |
static double | mass (const HeavyIon &hi) |
Mass of a heavy ion, in GeV/c \(^2\). | |
static HeavyIon | proton () |
Simple proton. | |
static HeavyIon | neutron () |
Simple neutron. | |
static HeavyIon | Au () |
Standard gold. | |
static HeavyIon | Pb () |
Standard lead. | |
Public Attributes | |
Element | Z {Element::invalid} |
Atomic number. | |
unsigned short | A {0} |
Mass number. | |
Friends | |
std::ostream & | operator<< (std::ostream &os, const HeavyIon &hi) |
Human-readable expression of the ion. | |
Definition at line 44 of file HeavyIon.h.
Definition at line 32 of file HeavyIon.cpp.
|
static |
Definition at line 75 of file HeavyIon.h.
Definition at line 34 of file HeavyIon.cpp.
|
static |
Definition at line 56 of file HeavyIon.cpp.
|
static |
Definition at line 54 of file HeavyIon.cpp.
double mass | ( | ) | const |
Definition at line 56 of file HeavyIon.h.
|
static |
hi | Heavy ion type |
Definition at line 68 of file HeavyIon.h.
double massN | ( | ) | const |
Definition at line 66 of file HeavyIon.cpp.
double massP | ( | ) | const |
Definition at line 60 of file HeavyIon.cpp.
|
static |
Definition at line 73 of file HeavyIon.h.
operator pdgid_t | ( | ) | const |
Definition at line 45 of file HeavyIon.cpp.
bool operator!= | ( | const HeavyIon & | oth | ) | const |
Definition at line 49 of file HeavyIon.h.
bool operator== | ( | const HeavyIon & | oth | ) | const |
Definition at line 48 of file HeavyIon.h.
|
static |
Definition at line 77 of file HeavyIon.h.
|
static |
Definition at line 71 of file HeavyIon.h.
double radius | ( | ) | const |
Definition at line 72 of file HeavyIon.cpp.
|
friend |
Definition at line 95 of file HeavyIon.cpp.
unsigned short A {0} |
Definition at line 87 of file HeavyIon.h.
Definition at line 85 of file HeavyIon.h.