6 #include "reactions/nubase.hpp" 7 #include "reactions/pdg.hpp" 53 template <
class T>
using builder_t = decltype(builder<T>);
A PDG particle, based on the fields of a particle in the PDG database.
Definition: pdg.hpp.in:138
Define properties for a given element kind.
Definition: element_traits.hpp:22
std::string string_element
Alias for an element based on a simple string.
Definition: element_traits.hpp:14
static pdg_database & instance()
Get the only instance of this class.
Definition: pdg.hpp.in:621
static constexpr auto builder
Default builder for a given kind of element.
Definition: element_traits.hpp:50
std::function< T(std::string const &)> const & builder_tpl_t
General builder type for a given kind of element.
Definition: element_traits.hpp:57
Main namespace of the Reactions package.
Definition: all.hpp:22
static nubase_database & instance()
Get the only instance of this class.
Definition: nubase.hpp.in:407
typename properties< T >::type element_t
Actual C++ type for the given kind of element.
Definition: element_traits.hpp:47
An element based on the NuBase database.
Definition: nubase.hpp.in:166
Handle the properties of elements.
Definition: element_traits.hpp:19
decltype(builder< T >) builder_t
Default builder type for a given kind of element.
Definition: element_traits.hpp:53