cepgen is hosted by Hepforge, IPPP Durham
CepGen 1.2.5
Central exclusive processes event generator
Loading...
Searching...
No Matches

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.
 

Detailed Description

Definition at line 44 of file HeavyIon.h.

Constructor & Destructor Documentation

◆ HeavyIon()

HeavyIon ( unsigned short  a,
const Element z 
)
explicit

Definition at line 32 of file HeavyIon.cpp.

Member Function Documentation

◆ Au()

static HeavyIon Au ( )
static

Definition at line 75 of file HeavyIon.h.

◆ fromPdgId()

HeavyIon fromPdgId ( pdgid_t  pdg)
static

Definition at line 34 of file HeavyIon.cpp.

◆ isHI() [1/2]

bool isHI ( const ParticleProperties prop)
static

Definition at line 56 of file HeavyIon.cpp.

◆ isHI() [2/2]

bool isHI ( const spdgid_t pdgid)
static

Definition at line 54 of file HeavyIon.cpp.

◆ mass() [1/2]

double mass ( ) const

Definition at line 56 of file HeavyIon.h.

◆ mass() [2/2]

static double mass ( const HeavyIon hi)
static
Parameters
hiHeavy ion type

Definition at line 68 of file HeavyIon.h.

◆ massN()

double massN ( ) const

Definition at line 66 of file HeavyIon.cpp.

◆ massP()

double massP ( ) const

Definition at line 60 of file HeavyIon.cpp.

◆ neutron()

static HeavyIon neutron ( )
static

Definition at line 73 of file HeavyIon.h.

◆ operator pdgid_t()

operator pdgid_t ( ) const

Definition at line 45 of file HeavyIon.cpp.

◆ operator!=()

bool operator!= ( const HeavyIon oth) const

Definition at line 49 of file HeavyIon.h.

◆ operator==()

bool operator== ( const HeavyIon oth) const

Definition at line 48 of file HeavyIon.h.

◆ Pb()

static HeavyIon Pb ( )
static

Definition at line 77 of file HeavyIon.h.

◆ proton()

static HeavyIon proton ( )
static

Definition at line 71 of file HeavyIon.h.

◆ radius()

double radius ( ) const

Definition at line 72 of file HeavyIon.cpp.

Friends And Related Symbol Documentation

◆ operator<<

std::ostream & operator<< ( std::ostream &  os,
const HeavyIon hi 
)
friend

Definition at line 95 of file HeavyIon.cpp.

Member Data Documentation

◆ A

unsigned short A {0}

Definition at line 87 of file HeavyIon.h.

◆ Z

Definition at line 85 of file HeavyIon.h.