CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Public Attributes
funct::GammaZInterference Struct Reference

#include <GammaZInterference.h>

Public Member Functions

 GammaZInterference (const Parameter &m, const Parameter &g)
 
 GammaZInterference (boost::shared_ptr< double > m, boost::shared_ptr< double > g)
 
double operator() (double x) const
 

Public Attributes

boost::shared_ptr< double > mass
 
boost::shared_ptr< double > width
 

Detailed Description

Definition at line 8 of file GammaZInterference.h.

Constructor & Destructor Documentation

funct::GammaZInterference::GammaZInterference ( const Parameter m,
const Parameter g 
)
inline

Definition at line 9 of file GammaZInterference.h.

9  :
10  mass(m.ptr()), width(g.ptr()) { }
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
Definition: Activities.doc:4
boost::shared_ptr< double > width
boost::shared_ptr< double > mass
funct::GammaZInterference::GammaZInterference ( boost::shared_ptr< double >  m,
boost::shared_ptr< double >  g 
)
inline

Definition at line 11 of file GammaZInterference.h.

11  :
12  mass(m), width(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
Definition: Activities.doc:4
boost::shared_ptr< double > width
boost::shared_ptr< double > mass

Member Function Documentation

double funct::GammaZInterference::operator() ( double  x) const
inline

Definition at line 13 of file GammaZInterference.h.

References diffTwoXMLs::g2, mass, alignCSCRings::s, width, and x.

13  {
14  double m2 = *mass * (*mass);
15  double g2 = *width * (*width);
16  double g2OverM2 = g2/m2;
17  double s = x*x;
18  double deltaS = s - m2;
19  double interference = 0;
20  if (fabs(deltaS/m2)<16) {
21  double prop = deltaS*deltaS + s*s*g2OverM2;
22  interference = 5*(*mass)*deltaS/prop;
23  }
24  return interference;
25  }
boost::shared_ptr< double > width
Definition: DDAxes.h:10
boost::shared_ptr< double > mass

Member Data Documentation

boost::shared_ptr<double> funct::GammaZInterference::mass

Definition at line 26 of file GammaZInterference.h.

Referenced by operator()().

boost::shared_ptr<double> funct::GammaZInterference::width