37 if ( ( nArg - 1 ) != 0 ) {
39 <<
"EvtBtoXsgamma generator model " 40 <<
"EvtBtoXsgammaAliGreub expected " 41 <<
"zero arguments but found: " << nArg - 1 << endl;
43 <<
"Will terminate execution!" << endl;
59 double xbox, ybox, alifit;
63 if ( ( Xscode == 30343 ) || ( Xscode == -30343 ) || ( Xscode == 30353 ) ||
64 ( Xscode == -30353 ) ) {
67 par[0] = -2057.2380371094;
68 par[1] = 2502.2556152344;
69 par[2] = 1151.5632324219;
70 par[3] = 0.82431584596634;
71 par[4] = -4110.5234375000;
72 par[5] = 8445.6757812500;
73 par[6] = -3034.1894531250;
74 par[7] = 1.1557708978653;
75 par[8] = 1765.9311523438;
76 par[9] = 1.3730158805847;
77 par[10] = 0.51371538639069;
78 par[11] = 2.0056934356689;
79 par[12] = 37144.097656250;
80 par[13] = -50296.781250000;
81 par[14] = 27319.095703125;
82 par[15] = -7408.0678710938;
83 par[16] = 1000.8093261719;
84 par[17] = -53.834449768066;
85 }
else if ( ( Xscode == 30363 ) || ( Xscode == -30363 ) ) {
87 par[0] = -32263.908203125;
88 par[1] = 57186.589843750;
89 par[2] = -24230.728515625;
90 par[3] = 1.1155973672867;
91 par[4] = -12161.131835938;
92 par[5] = 20162.146484375;
93 par[6] = -7198.8564453125;
94 par[7] = 1.3783323764801;
95 par[8] = 1995.1691894531;
96 par[9] = 1.4655895233154;
97 par[10] = 0.48869228363037;
98 par[11] = 2.1038570404053;
99 par[12] = 55100.058593750;
100 par[13] = -75201.703125000;
101 par[14] = 41096.066406250;
102 par[15] = -11205.986328125;
103 par[16] = 1522.4024658203;
104 par[17] = -82.379623413086;
107 <<
"In EvtBtoXsgammaAliGreub: Particle with id " << Xscode
108 <<
" is not a Xss particle" << endl;
112 double boxheight = par[8];
113 double boxwidth = max - min;
115 while ( ( mass > max ) || ( mass < min ) ) {
118 if ( xbox < par[3] ) {
119 alifit = par[0] + par[1] * xbox + par[2] * pow( xbox, 2 );
120 }
else if ( xbox < par[7] ) {
121 alifit = par[4] + par[5] * xbox + par[6] * pow( xbox, 2 );
122 }
else if ( xbox < par[11] ) {
123 alifit = par[8] *
exp( -0.5 * pow( ( xbox - par[9] ) / par[10], 2 ) );
125 alifit = par[12] + par[13] * xbox + par[14] * pow( xbox, 2 ) +
126 par[15] * pow( xbox, 3 ) + par[16] * pow( xbox, 4 ) +
127 par[17] * pow( xbox, 5 );
129 if ( ybox > alifit ) {
void init(int, double *) override
std::ostream & EvtGenReport(EvtGenSeverity severity, const char *facility=0)
double GetMass(int code) override
EvtComplex exp(const EvtComplex &c)