22#include "EvtGenBase/EvtPatches.hh"
23#include "EvtGenBase/EvtPatches.hh"
24#include "EvtGenBase/EvtReport.hh"
25#include "EvtGenModels/EvtSLPoleFF.hh"
27#include "EvtGenBase/EvtPDL.hh"
31 numSLPoleargs = numarg;
32 for (
int i=0; i<numarg; i++) {
33 SLPoleargs[i] = arglist[i]; }
40 double t,
double mass,
double *fpf,
46 if ( numSLPoleargs !=8 ) {
47 report(
ERROR,
"EvtGen") <<
"Problem in EvtSLPoleFF::getscalarff\n";
48 report(
ERROR,
"EvtGen") <<
"wrong number of arguements!!!\n";
60 *fpf = f0/(pow( 1.0 + (af*
t/mb2) + (bf*((
t/mb2)*(
t/mb2))),powf));
67 *f0f = f0/(pow( 1.0 + (af*
t/mb2) + (bf*((
t/mb2)*(
t/mb2))),powf));
73 double t,
double mass,
double *a1f,
74 double *a2f,
double *vf,
double *a0f ){
76 if ( numSLPoleargs !=16 ) {
77 report(
ERROR,
"EvtGen") <<
"Problem in EvtSLPoleFF::getvectorff\n";
78 report(
ERROR,
"EvtGen") <<
"wrong number of arguements!!!\n";
91 *a1f = f0/(pow( 1.0 + (af*
t/mb2) + (bf*((
t/mb2)*(
t/mb2))),powf));
98 *a2f = f0/(pow( 1.0 + (af*
t/mb2) + (bf*((
t/mb2)*(
t/mb2))),powf));
103 powf = SLPoleargs[11];
105 *vf = f0/(pow( 1.0 + (af*
t/mb2) + (bf*((
t/mb2)*(
t/mb2))),powf));
110 powf = SLPoleargs[15];
112 *a0f = f0/(pow( 1.0 + (af*
t/mb2) + (bf*((
t/mb2)*(
t/mb2))),powf));
119 double t,
double mass,
double *hf,
120 double *kf,
double *bpf,
double *bmf ){
122 if ( numSLPoleargs !=16 ) {
123 report(
ERROR,
"EvtGen") <<
"Problem in EvtSLPoleFF::gettensorff\n";
124 report(
ERROR,
"EvtGen") <<
"wrong number of arguements!!!\n";
130 double f0,af,bf,powf;
135 powf = SLPoleargs[3];
136 *hf = f0/(pow( 1.0 + (af*
t/mb2) + (bf*((
t/mb2)*(
t/mb2))),powf));
141 powf = SLPoleargs[7];
143 *kf = f0/(pow( 1.0 + (af*
t/mb2) + (bf*((
t/mb2)*(
t/mb2))),powf));
148 powf = SLPoleargs[11];
150 *bpf = f0/(pow( 1.0 + (af*
t/mb2) + (bf*((
t/mb2)*(
t/mb2))),powf));
155 powf = SLPoleargs[15];
157 *bmf = f0/(pow( 1.0 + (af*
t/mb2) + (bf*((
t/mb2)*(
t/mb2))),powf));
ostream & report(Severity severity, const char *facility)
static double getMeanMass(EvtId i)
void getscalarff(EvtId parent, EvtId daught, double t, double mass, double *fpf, double *f0f)
void getvectorff(EvtId parent, EvtId daught, double t, double mass, double *a1f, double *a2f, double *vf, double *a0f)
void gettensorff(EvtId parent, EvtId daught, double t, double mass, double *hf, double *kf, double *bp, double *bm)
EvtSLPoleFF(int numarg, double *arglist)