Define a Reaction list for Tally multiplicator inputs.
Definition Reaction.hxx:41
vector< char > fOperator
the operator list (":" for addition, " " for multiplicatio)
Definition Reaction.hxx:57
bool operator==(const Reaction r) const
true if 2 reactions are identical
Definition Reaction.cxx:93
~Reaction()
Definition Reaction.cxx:63
string Print() const
Print a reaction list.
Definition Reaction.cxx:83
void Add(int code)
Add a reaction (e.g. fission+capture)
Definition Reaction.cxx:71
void Multiply(int code)
multiply reaction (e.g. nu*fission)
Definition Reaction.cxx:77
vector< int > fCode
the reaction code list
Definition Reaction.hxx:56
vector< int > GetCode() const
Definition Reaction.hxx:50
the namespace of the Standard C++