Changeset View
Changeset View
Standalone View
Standalone View
src/EvtGenBase/EvtGenKine.cpp
Show All 15 Lines | |||||
* * | * * | ||||
* You should have received a copy of the GNU General Public License * | * You should have received a copy of the GNU General Public License * | ||||
* along with EvtGen. If not, see <https://www.gnu.org/licenses/>. * | * along with EvtGen. If not, see <https://www.gnu.org/licenses/>. * | ||||
***********************************************************************/ | ***********************************************************************/ | ||||
#include "EvtGenBase/EvtGenKine.hh" | #include "EvtGenBase/EvtGenKine.hh" | ||||
#include "EvtGenBase/EvtConst.hh" | #include "EvtGenBase/EvtConst.hh" | ||||
#include "EvtGenBase/EvtParticle.hh" | |||||
#include "EvtGenBase/EvtPatches.hh" | #include "EvtGenBase/EvtPatches.hh" | ||||
#include "EvtGenBase/EvtRandom.hh" | #include "EvtGenBase/EvtRandom.hh" | ||||
#include "EvtGenBase/EvtReport.hh" | #include "EvtGenBase/EvtReport.hh" | ||||
#include "EvtGenBase/EvtVector4R.hh" | #include "EvtGenBase/EvtVector4R.hh" | ||||
#include "EvtGenBase/EvtParticle.hh" | |||||
#include <cmath> | |||||
#include <iostream> | #include <iostream> | ||||
#include <math.h> | |||||
using std::endl; | using std::endl; | ||||
double EvtPawt( double a, double b, double c ) | double EvtPawt( double a, double b, double c ) | ||||
{ | { | ||||
double temp = ( a * a - ( b + c ) * ( b + c ) ) * | double temp = ( a * a - ( b + c ) * ( b + c ) ) * | ||||
( a * a - ( b - c ) * ( b - c ) ); | ( a * a - ( b - c ) * ( b - c ) ); | ||||
if ( temp <= 0 ) { | if ( temp <= 0 ) { | ||||
▲ Show 20 Lines • Show All 361 Lines • Show Last 20 Lines |