Ticket #125: decays-flux.patch
File decays-flux.patch, 1.4 KB (added by , 14 years ago) |
---|
-
PHASIC++/Main/Phase_Space_Handler.C
208 208 { 209 209 if (m_nin == 1) { 210 210 m_E = m_m[0]; 211 m_flux = 1./(2.*m_E);212 211 m_s = m_E*m_E; 213 212 p[0] = Vec4D(m_E,0.,0.,0.); 214 213 return 1; -
PHASIC++/Main/Phase_Space_Handler.H
97 97 long int m_trials, m_maxtrials, m_sumtrials, m_events; 98 98 99 99 double m_E, m_m[2], m_m2[2], m_s, m_smin, m_psweight; 100 double m_result_1, m_result_2, m_ flux, m_weight, m_error;100 double m_result_1, m_result_2, m_weight, m_error; 101 101 102 102 std::vector<std::vector<double> > m_stats; 103 103 -
PHASIC++/Process/Single_Process.C
71 71 { 72 72 if (!m_use_biweight) return 1.; 73 73 double wgt(1.0); 74 if (m_nin!=2) return wgt;74 if (m_nin!=2) return 0.5/p_int->Momenta()[0].Mass(); 75 75 if (p_int->ISR()) { 76 76 wgt*=p_int->ISR()->Weight 77 77 (mode,p_int->Momenta()[0],p_int->Momenta()[1],