17 : m_w(fw), m_f(ffano) {
18 mfunnamep(
"PairProd::PairProd(const std::string&, double, double)");
20 std::ifstream file(file_name.c_str());
23 mcerr <<
"cannot open file " << file_name << std::endl;
27 file >> m_wtable >> m_i >> m_j >> m_ftable >> q;
30 mcerr <<
"error at reading file" << std::endl;
33 std::vector<double> xx(q);
34 std::vector<double> yy(q);
35 for (
long n = 0; n < q; n++) file >> xx[n] >> yy[n];
37 m_k =
sqrt(m_f * m_w * m_w / (m_ftable * m_wtable * m_wtable));
38 m_s = m_w - m_k * m_wtable;