|
Reactions
0.1.0
Handling reaction trees and decays
|
Description of a process where head particle generate a set of products. More...
#include <processes.hpp>

Public Types | |
| using | element_type = element_wrapper< Element > |
| using | builder_type = element_traits::builder_tpl_t< Element > |
| using | nodes_type = std::vector< node< Element, decay > > |
Public Member Functions | |
| decay (decay &&)=default | |
| Default move constructor. More... | |
| decay (const decay &)=default | |
| Default copy constructor. More... | |
| decay & | operator= (const decay &)=default |
| Default assignment operator. More... | |
| ~decay ()=default | |
| Default destructor. More... | |
| decay ()=delete | |
| Element const & | head () const |
| Get the head particle of the decay. More... | |
| nodes_type const & | products () const |
| Get the products of the decay. More... | |
| bool | operator== (decay< Element > const &other) const |
| Comparison operator. More... | |
| bool | operator!= (decay< Element > const &other) const |
| Comparison operator. More... | |
Protected Member Functions | |
| decay (std::string::const_iterator &&begin, std::string::const_iterator const &end, builder_type builder) | |
| Constructor from the string iterators. More... | |
| decay (std::string::const_iterator &sit, std::string::const_iterator const &end, builder_type builder) | |
| Constructor from the string iterators. More... | |
Protected Attributes | |
| std::optional< element_type > | m_head |
| Head particle. More... | |
| nodes_type | m_products |
| Products. More... | |
Friends | |
| template<class Process > | |
| Process | reactions::processes::make_process (std::string const &, typename Process::builder_type) |
Description of a process where head particle generate a set of products.
This can be seen as a special reaction with only one reactant, and where subsequent chain nodes are also decays.
| using reactions::decay< Element >::builder_type = element_traits::builder_tpl_t<Element> |
| using reactions::decay< Element >::element_type = element_wrapper<Element> |
| using reactions::decay< Element >::nodes_type = std::vector<node<Element, decay> > |
|
default |
Default move constructor.
|
default |
Default copy constructor.
|
default |
Default destructor.
|
delete |
|
inlineprotected |
Constructor from the string iterators.
This constructor is called internally when creating decays that contain other decays.
| begin | iterator pointing to the beginning of the string. |
| end | iterator pointing to the end of the string. |
| builder | function to create the underlying element from a string. |
|
inlineprotected |
Constructor from the string iterators.
This constructor is called internally when creating decays that contain other decays.
| sit | iterator pointing to the current point int the string. |
| end | iterator pointing to the end of the string. |
| builder | function to create the underlying element from a string. |
|
inline |
Get the head particle of the decay.
|
inline |
Comparison operator.
|
default |
Default assignment operator.
|
inline |
Comparison operator.
|
inline |
Get the products of the decay.
|
friend |
|
protected |
Head particle.
|
protected |
Products.
1.8.13