Version: SMASH-2.2
pdgcode.h File Reference
#include <algorithm>
#include <array>
#include <cassert>
#include <cstdlib>
#include <iosfwd>
#include <sstream>
#include <stdexcept>
#include <string>
#include <iostream>
#include "pdgcode_constants.h"

Go to the source code of this file.

Classes

class  smash::PdgCode
 PdgCode stores a Particle Data Group Particle Numbering Scheme particle type number. More...
 
struct  smash::PdgCode::InvalidPdgCode
 thrown for invalid inputs More...
 

Namespaces

 smash
 
 smash::pdg
 Constants representing PDG codes of nuclei.
 

Functions

std::istream & smash::operator>> (std::istream &is, PdgCode &code)
 Sets the PDG code from the textual representation in the input stream. More...
 
std::ostream & smash::operator<< (std::ostream &is, const PdgCode &code)
 Writes the textual representation of the PDG code to the output stream. More...
 
bool smash::is_dilepton (const PdgCode pdg1, const PdgCode pdg2)
 
bool smash::has_lepton_pair (const PdgCode pdg1, const PdgCode pdg2, const PdgCode pdg3)
 
const PdgCode smash::pdg::d (PdgCode::from_decimal(1000010020))
 Deuteron. More...
 
const PdgCode smash::pdg::antid (PdgCode::from_decimal(-1000010020))
 Anti-deuteron in decimal digits. More...
 
const PdgCode smash::pdg::dprime (PdgCode::from_decimal(1000010021))
 Deuteron-prime resonance. More...
 
const PdgCode smash::pdg::triton (PdgCode::from_decimal(1000010030))
 Triton. More...
 
const PdgCode smash::pdg::antitriton (PdgCode::from_decimal(-1000010030))
 Anti-triton. More...
 
const PdgCode smash::pdg::he3 (PdgCode::from_decimal(1000020030))
 He-3. More...
 
const PdgCode smash::pdg::antihe3 (PdgCode::from_decimal(-1000020030))
 Anti-He-3. More...
 
const PdgCode smash::pdg::hypertriton (PdgCode::from_decimal(1010010030))
 Hypertriton. More...
 
const PdgCode smash::pdg::antihypertriton (PdgCode::from_decimal(-1010010030))
 Anti-Hypertriton. More...