CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Constants.cc
Go to the documentation of this file.
2 
3 double RPCpg::rate(double x){ // rate from pt = x [Gev/c] to inf
4 
5  double ret = 0;
6  double a = -0.235801;
7  double b = -2.82346;
8  double c = 17.162;
9 
10  ret = std::pow( x,a*std::log(x) ) * std::pow(x,b)*std::exp(c);
11 
12  return ret;
13 }
14 
double b
Definition: hdecay.h:120
double rate(double x)
Definition: Constants.cc:3
double a
Definition: hdecay.h:121
x
Definition: VDTMath.h:216
Power< A, B >::type pow(const A &a, const B &b)
Definition: Power.h:40