BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
EvtSLPoleFF Class Reference

#include <EvtSLPoleFF.hh>

Inheritance diagram for EvtSLPoleFF:

Public Member Functions

 EvtSLPoleFF (int numarg, double *arglist)
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)
Public Member Functions inherited from EvtSemiLeptonicFF
virtual void getbaryonff (EvtId parent, EvtId daught, double t, double m_meson, double *f1v, double *f1a, double *f2v, double *f2a)

Detailed Description

Definition at line 27 of file EvtSLPoleFF.hh.

Constructor & Destructor Documentation

◆ EvtSLPoleFF()

EvtSLPoleFF::EvtSLPoleFF ( int numarg,
double * arglist )

Definition at line 29 of file EvtSLPoleFF.cc.

29 {
30 numSLPoleargs = numarg;
31 for ( int i = 0; i < numarg; i++ ) { SLPoleargs[i] = arglist[i]; }
32
33 return;
34}

Member Function Documentation

◆ getscalarff()

void EvtSLPoleFF::getscalarff ( EvtId parent,
EvtId daught,
double t,
double mass,
double * fpf,
double * f0f )
virtual

Reimplemented from EvtSemiLeptonicFF.

Definition at line 36 of file EvtSLPoleFF.cc.

37 {
38
39 // Form factors have a general form, with parameters passed in
40 // from the arguements.
41
42 if ( numSLPoleargs != 8 )
43 {
44 report( ERROR, "EvtGen" ) << "Problem in EvtSLPoleFF::getscalarff\n";
45 report( ERROR, "EvtGen" ) << "wrong number of arguements!!!\n";
46 }
47
48 double mb = EvtPDL::getMeanMass( parent );
49 double mb2 = mb * mb;
50
51 double f0, af, bf, powf;
52
53 f0 = SLPoleargs[0];
54 af = SLPoleargs[1];
55 bf = SLPoleargs[2];
56 powf = SLPoleargs[3];
57 *fpf = f0 / ( pow( 1.0 + ( af * t / mb2 ) + ( bf * ( ( t / mb2 ) * ( t / mb2 ) ) ), powf ) );
58
59 f0 = SLPoleargs[4];
60 af = SLPoleargs[5];
61 bf = SLPoleargs[6];
62 powf = SLPoleargs[7];
63
64 *f0f = f0 / ( pow( 1.0 + ( af * t / mb2 ) + ( bf * ( ( t / mb2 ) * ( t / mb2 ) ) ), powf ) );
65
66 return;
67}
ostream & report(Severity severity, const char *facility)
Definition EvtReport.cc:34
@ ERROR
Definition EvtReport.hh:49
static double getMeanMass(EvtId i)
Definition EvtPDL.hh:43
int t()
Definition t.c:1

◆ gettensorff()

void EvtSLPoleFF::gettensorff ( EvtId parent,
EvtId daught,
double t,
double mass,
double * hf,
double * kf,
double * bp,
double * bm )
virtual

Reimplemented from EvtSemiLeptonicFF.

Definition at line 113 of file EvtSLPoleFF.cc.

114 {
115
116 if ( numSLPoleargs != 16 )
117 {
118 report( ERROR, "EvtGen" ) << "Problem in EvtSLPoleFF::gettensorff\n";
119 report( ERROR, "EvtGen" ) << "wrong number of arguements!!!\n";
120 }
121
122 double mb = EvtPDL::getMeanMass( parent );
123 double mb2 = mb * mb;
124
125 double f0, af, bf, powf;
126
127 f0 = SLPoleargs[0];
128 af = SLPoleargs[1];
129 bf = SLPoleargs[2];
130 powf = SLPoleargs[3];
131 *hf = f0 / ( pow( 1.0 + ( af * t / mb2 ) + ( bf * ( ( t / mb2 ) * ( t / mb2 ) ) ), powf ) );
132
133 f0 = SLPoleargs[4];
134 af = SLPoleargs[5];
135 bf = SLPoleargs[6];
136 powf = SLPoleargs[7];
137
138 *kf = f0 / ( pow( 1.0 + ( af * t / mb2 ) + ( bf * ( ( t / mb2 ) * ( t / mb2 ) ) ), powf ) );
139
140 f0 = SLPoleargs[8];
141 af = SLPoleargs[9];
142 bf = SLPoleargs[10];
143 powf = SLPoleargs[11];
144
145 *bpf = f0 / ( pow( 1.0 + ( af * t / mb2 ) + ( bf * ( ( t / mb2 ) * ( t / mb2 ) ) ), powf ) );
146
147 f0 = SLPoleargs[12];
148 af = SLPoleargs[13];
149 bf = SLPoleargs[14];
150 powf = SLPoleargs[15];
151
152 *bmf = f0 / ( pow( 1.0 + ( af * t / mb2 ) + ( bf * ( ( t / mb2 ) * ( t / mb2 ) ) ), powf ) );
153 return;
154}

◆ getvectorff()

void EvtSLPoleFF::getvectorff ( EvtId parent,
EvtId daught,
double t,
double mass,
double * a1f,
double * a2f,
double * vf,
double * a0f )
virtual

Reimplemented from EvtSemiLeptonicFF.

Definition at line 69 of file EvtSLPoleFF.cc.

70 {
71
72 if ( numSLPoleargs != 16 )
73 {
74 report( ERROR, "EvtGen" ) << "Problem in EvtSLPoleFF::getvectorff\n";
75 report( ERROR, "EvtGen" ) << "wrong number of arguements!!!\n";
76 report( ERROR, "EvtGen" ) << numSLPoleargs << "\n";
77 }
78
79 double mb = EvtPDL::getMeanMass( parent );
80 double mb2 = mb * mb;
81
82 double f0, af, bf, powf;
83
84 f0 = SLPoleargs[0];
85 af = SLPoleargs[1];
86 bf = SLPoleargs[2];
87 powf = SLPoleargs[3];
88 *a1f = f0 / ( pow( 1.0 + ( af * t / mb2 ) + ( bf * ( ( t / mb2 ) * ( t / mb2 ) ) ), powf ) );
89
90 f0 = SLPoleargs[4];
91 af = SLPoleargs[5];
92 bf = SLPoleargs[6];
93 powf = SLPoleargs[7];
94
95 *a2f = f0 / ( pow( 1.0 + ( af * t / mb2 ) + ( bf * ( ( t / mb2 ) * ( t / mb2 ) ) ), powf ) );
96
97 f0 = SLPoleargs[8];
98 af = SLPoleargs[9];
99 bf = SLPoleargs[10];
100 powf = SLPoleargs[11];
101
102 *vf = f0 / ( pow( 1.0 + ( af * t / mb2 ) + ( bf * ( ( t / mb2 ) * ( t / mb2 ) ) ), powf ) );
103
104 f0 = SLPoleargs[12];
105 af = SLPoleargs[13];
106 bf = SLPoleargs[14];
107 powf = SLPoleargs[15];
108
109 *a0f = f0 / ( pow( 1.0 + ( af * t / mb2 ) + ( bf * ( ( t / mb2 ) * ( t / mb2 ) ) ), powf ) );
110 return;
111}

The documentation for this class was generated from the following files: