Reactions  0.1.2
Handling reaction trees and decays
Classes | Namespaces | Typedefs
pdg.hpp.in File Reference

Classes and functions to work with elements from the Particle Database Group (PDG) and manage the database service. More...

#include <cmath>
#include <tuple>
#include "reactions/database.hpp"
#include "reactions/exceptions.hpp"
#include "reactions/fields.hpp"
#include "reactions/tokens.hpp"
#include "reactions/units.hpp"
#include "reactions/utils.hpp"
Include dependency graph for pdg.hpp.in:

Classes

struct  reactions::pdg::name
 Field for the name. More...
 
struct  reactions::pdg::pdg_id
 Field for the PDG ID. More...
 
struct  reactions::pdg::three_charge
 Field the charge multiplied by three. More...
 
struct  reactions::pdg::mass
 Field for the mass. More...
 
struct  reactions::pdg::width
 Field for the width. More...
 
struct  reactions::pdg::is_self_cc
 Field to store the self charge-conjugate state. More...
 
class  reactions::pdg_system_of_units
 Defines a singleton to handle the units of PDG elements. More...
 
class  reactions::pdg_element
 A PDG particle, based on the fields of a particle in the PDG database. More...
 
class  reactions::pdg_database
 Database of elements following the PDG convention. More...
 

Namespaces

 reactions
 Main namespace of the Reactions package.
 
 reactions::pdg
 Structures representing the fields of a reactions::pdg_element object.
 

Typedefs

template<std::size_t Min, std::size_t Max>
using reactions::pdg::range = reactions::fields::range< Min, Max >
 Range of a variable in a file. More...
 
template<class... R>
using reactions::pdg::range_collection = reactions::fields::range_collection< R... >
 Range of a composite variable in a file. More...
 
using reactions::pdg_element_fields = std::tuple< pdg::name, pdg::pdg_id, pdg::three_charge, pdg::mass, pdg::width, pdg::is_self_cc >
 Field types of a PDG element. More...
 
using reactions::pdg_element_base = fields::underlying_types_t< pdg_element_fields >
 Base class of a PDG element. More...
 

Detailed Description

Classes and functions to work with elements from the Particle Database Group (PDG) and manage the database service.