Added statistics method for terminization channels of particles
and elastic scattering for T3+. In this version benchmark old run.
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
#include "particle.hpp"
|
||||
#include "error_types.h"
|
||||
#include "kinematics.h"
|
||||
#include "error_types.h"
|
||||
|
||||
// See http://www.lnl.infn.it/~pisolo/alberto/Kinematics.pdf
|
||||
|
||||
@@ -28,6 +29,11 @@ public:
|
||||
};
|
||||
|
||||
inline Elastic_Kinematic_Base::Elastic_Kinematic_Base(const double &m1_eV, const double &m2_eV) {
|
||||
if (m2_eV<m1_eV) {
|
||||
std::stringstream ss;
|
||||
ss<<"Elastic_Kinematic_Base: m2_eV<m1_eV. \n";
|
||||
throw MyException(ss.str());
|
||||
}
|
||||
this->m1_eV = m1_eV;
|
||||
this->m2_eV = m2_eV;
|
||||
sign = (m1_eV < m2_eV) ? 1 : -1;
|
||||
|
||||
Reference in New Issue
Block a user