127 double msq13 = (_p4_d1 + _p4_d3).mass2();
128 double msq23 = (_p4_d2 + _p4_d3).mass2();
129 double msqParent = _p4_p.
mass2();
130 double msq1 = _p4_d1.
mass2();
131 double msq2 = _p4_d2.mass2();
132 double msq3 = _p4_d3.
mass2();
136 double p2 = sqrt((_p4_12.
mass2() - (_p4_d1.
mass() + _p4_d2.mass())*(_p4_d1.
mass() + _p4_d2.mass()))*(_p4_12.
mass2() - (_p4_d1.
mass() - _p4_d2.mass())*(_p4_d1.
mass() - _p4_d2.mass())))/(2.0*_p4_12.
mass());
138 double p2R = sqrt((_bwm*_bwm - (_p4_d1.
mass() + _p4_d2.mass())*(_p4_d1.
mass() + _p4_d2.mass()))*(_bwm*_bwm - (_p4_d1.
mass() - _p4_d2.mass())*(_p4_d1.
mass() - _p4_d2.mass())))/(2.0*_bwm);
150 gam = _gamma*(_bwm/_p4_12.
mass())*(
p2/p2R)*(
p2/p2R)*(
p2/p2R)*((1 + R*R*p2R*p2R)/(1 + R*R*
p2*
p2));
151 M = (msq13 - msq23 - (msqParent - msq3)*(msq1 - msq2)/(_bwm*_bwm))*sqrt((1 + R*R*p2R*p2R)/(1 + R*R*
p2*
p2));
154 BW = sqrt(_gamma)*M/((_bwm*_bwm - _p4_12.
mass2()) -
EvtComplex(0.0,1.0)*gam*_bwm);
EvtResonance(const EvtVector4R &p4_p, const EvtVector4R &p4_d1, const EvtVector4R &p4_d2, double ampl=0.0, double theta=0.0, double gamma=0.0, double bwm=0.0, int spin=0)