22   std::stringstream error_msg;
    23   error_msg << 
"Conservation law violations detected (old vs. new)\n";
    25     error_msg << 
"Deviation in Four-Momentum:\n" << std::scientific;
    37        mu < 4; ++here_iter, ++rhs_iter, ++mu) {
    39       error_msg << 
" P_" << mu << 
": " << *here_iter << 
" vs. " << *rhs_iter
    40                 << 
"; Δ = " << (*here_iter - *rhs_iter) << 
"\n";
    44     error_msg << 
"Deviation in Charge:\n " << 
charge_ << 
" vs. " << rhs.
charge_    48     error_msg << 
"Deviation in Isospin 3:\n " << 
isospin3_ << 
" vs. "    52     error_msg << 
"Deviation in Strangeness:\n " << 
strangeness_ << 
" vs. "    56     error_msg << 
"Deviation in Charmness:\n " << 
charmness_ << 
" vs. "    60     error_msg << 
"Deviation in Bottomness:\n " << 
bottomness_ << 
" vs. "    64     error_msg << 
"Deviation in Baryon Number:\n " << 
baryon_number_ << 
" vs. "    67   return error_msg.str();
 int charmness_
Total charm. 
int bottomness_
Total bottom. 
int strangeness_
Total strangeness. 
int isospin3_
Total isospin-3. 
Generic numerical functions. 
bool almost_equal_physics(const N x, const N y)
Same as smash::almost_equal, but for physical checks like energy-momentum conservation small_number i...
std::string report_deviations(const Particles &particles) const 
Checks if the current particle list has still the same values and reports about differences. 
const_iterator cbegin() const 
A container for storing conserved values. 
FourVector momentum_
Total momentum four-vector [GeV]. 
int baryon_number_
Total baryon number.