Version: SMASH-3.1
pdgcode.h File Reference
#include <algorithm>
#include <array>
#include <cassert>
#include <cstdint>
#include <cstdlib>
#include <functional>
#include <iomanip>
#include <iosfwd>
#include <iostream>
#include <sstream>
#include <stdexcept>
#include <string>
#include <type_traits>
#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
 

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)