96 double xbox, ybox, min, max, hichfit;
106 if ( ( Xscode == 30343 ) || ( Xscode == -30343 ) || ( Xscode == 30353 ) ||
107 ( Xscode == -30353 ) ) {
136 <<
"In EvtBtoXsEtap: Particle with id " << Xscode
137 <<
" is not a Xsd/u particle" << endl;
141 double boxheight = par[5];
142 double boxwidth = max - min;
145 while ( ( mass[0] > max ) || ( mass[0] < min ) ) {
148 if ( xbox < par[2] ) {
149 hichfit = ( 1 / sqrt( TwoPi * par[1] ) ) *
150 exp( -0.5 * pow( ( xbox - par[0] ) / par[1], 2 ) );
157 hichfit = par[3] * pow( ( xbox - par[4] ), 2 ) + par[5];
160 if ( ybox > hichfit ) {
171 for ( i = 0; i <
getNDaug(); i++ ) {
virtual void init(EvtId part_n, const EvtVector4R &p4)=0
EvtParticle * getDaug(const int i)
void makeDaughters(size_t ndaug, const EvtId *id)