ROOTPWA
breitWignerProductionAmp.cc
Go to the documentation of this file.
1 //-----------------------------------------------------------
2 // File and Version Information:
3 // $Id$
4 //
5 // Description:
6 // Implementation of class breitWignerProductionAmp
7 // see breitWignerProductionAmp.hh for details
8 //
9 //
10 // Author List:
11 // Sebastian Neubert TUM (original author)
12 //
13 //
14 //-----------------------------------------------------------
15 
17 
18 
19 using namespace rpwa;
20 
22  double width,
23  std::complex<double> coupling)
24  : _mass(mass),
25  _m2(mass*mass),
26  _width(width),
27  _mw(mass*width),
28  _coupling(coupling) { }
29 
30 
31 std::complex<double>
33 
34  std::complex<double> denom(_m2-mass*mass,-_mw);
35  std::complex<double> nom(_mw);
36 
37  return _coupling*nom/denom;
38 
39 }
40