1 #ifndef PhysicsTools_Utilities_ZMuMu_BreitWigner_h 2 #define PhysicsTools_Utilities_ZMuMu_BreitWigner_h 4 #include <boost/shared_ptr.hpp> 16 mass(new double(m)),
width(new double(g)) {}
18 double m2 = *
mass * (*mass);
20 double g2OverM2 = g2/m2;
22 double deltaS = s - m2;
24 if (fabs(deltaS/m2)<16) {
25 double prop = deltaS*deltaS + s*s*g2OverM2;
26 lineShape = twoOverPi * (*width) * s/prop;
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
boost::shared_ptr< double > width
BreitWigner(boost::shared_ptr< double > m, boost::shared_ptr< double > g)
boost::shared_ptr< double > mass
BreitWigner(double m, double g)
double operator()(double x) const
BreitWigner(const Parameter &m, const Parameter &g)