CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_10_patch2/src/Validation/MuonRPCGeometry/src/Constants.cc

Go to the documentation of this file.
00001 #include "Validation/MuonRPCGeometry/interface/Constants.h"
00002 
00003 double RPCpg::rate(double x){ // rate from pt = x [Gev/c] to inf
00004 
00005    double ret = 0;
00006    double a = -0.235801;
00007    double b = -2.82346;
00008    double c = 17.162;
00009 
00010    ret = std::pow( x,a*std::log(x) ) * std::pow(x,b)*std::exp(c);
00011 
00012    return ret;
00013 }
00014