1 #ifndef PhysicsTools_Utilities_ZMuMu_BreitWigner_h
2 #define PhysicsTools_Utilities_ZMuMu_BreitWigner_h
15 double m2 = *
mass * (*mass);
17 double g2OverM2 = g2 /
m2;
19 double deltaS = s -
m2;
21 if (fabs(deltaS / m2) < 16) {
22 double prop = deltaS * deltaS + s * s * g2OverM2;
23 lineShape =
twoOverPi * (*width) * s / prop;
std::shared_ptr< double > mass
BreitWigner(std::shared_ptr< double > m, std::shared_ptr< double > g)
The Signals That Services Can Subscribe To This is based on ActivityRegistry and is current per Services can connect to the signals distributed by the ActivityRegistry in order to monitor the activity of the application Each possible callback has some defined which we here list in angle e g
BreitWigner(double m, double g)
std::shared_ptr< double > width
double operator()(double x) const
BreitWigner(const Parameter &m, const Parameter &g)