CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions | Variables
RPCpg Namespace Reference

Functions

double rate (double x)
 

Variables

const unsigned int empty_s = 99
 
const unsigned int maxPlanes_s = 6
 
const int mu = 0
 
const int mubar = 1
 
const int muundefined = 10
 
const unsigned int ptBins_s = 32
 
static const double pts [33]
 

Function Documentation

double RPCpg::rate ( double  x)

Definition at line 3 of file Constants.cc.

References a, b, EnergyCorrector::c, create_public_lumi_plots::exp, dqm-mbProfile::log, funct::pow(), and runTheMatrix::ret.

Referenced by L1DEFilter::endJob(), initializeRates(), and dqmservices::DQMMonitoringService::outputLumiUpdate().

3  { // 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 }
tuple ret
prodAgent to be discontinued
T x() const
Cartesian x coordinate.
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121
Power< A, B >::type pow(const A &a, const B &b)
Definition: Power.h:40

Variable Documentation

const unsigned int RPCpg::empty_s = 99

Definition at line 27 of file Constants.h.

const unsigned int RPCpg::maxPlanes_s = 6

Definition at line 26 of file Constants.h.

const int RPCpg::mu = 0
const int RPCpg::mubar = 1

Definition at line 23 of file Constants.h.

Referenced by ColinsSoperVariablesComputer::produce().

const int RPCpg::muundefined = 10

Definition at line 24 of file Constants.h.

const unsigned int RPCpg::ptBins_s = 32

Definition at line 28 of file Constants.h.

Referenced by initializeRates(), and PTStatistics::PTStatistics().

const double RPCpg::pts[33]
static
Initial value:
= {
0.0, 0.01,
1.5, 2.0, 2.5, 3.0, 3.5, 4.0, 4.5,
5., 6., 7., 8.,
10., 12., 14., 16., 18.,
20., 25., 30., 35., 40., 45.,
50., 60., 70., 80., 90., 100., 120., 140., 160.}

Definition at line 30 of file Constants.h.

Referenced by DYGenFilter::filter(), initializeRates(), MuonOverlapSeedFromRecHits::makeSeed(), SubsetHsmModeFinder3d::operator()(), and processPrediction().