CMS 3D CMS Logo

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

◆ rate()

double RPCpg::rate ( double  x)

Definition at line 3 of file Constants.cc.

References a, b, DummyCfis::c, JetChargeProducer_cfi::exp, CrabHelper::log, funct::pow(), runTheMatrix::ret, and x.

Referenced by L1TdeGCT::analyze(), L1TDEMON::analyze(), L1TriggerRates::computeRates(), L1TriggerRates::computeRunRates(), SiStripDigitizerAlgorithm::digitize(), TriggerRatesMonitorClient::dqmEndJob(), L1DEFilter::endJob(), L1ScalersClient::endLuminosityBlock(), EvolutionECAL::EquilibriumFractionColorCentersEM(), RateBuffer::fill(), CMSCGEN::generateNuMu(), CMSCGEN::initializeNuMu(), initializeRates(), dqmservices::DQMMonitoringService::outputLumiUpdate(), MuonME0DigisHarvestor::ProcessBookingBKG(), PreMixingSiStripWorker::put(), Level1TriggerScalers::rateLS(), SiG4UniversalFluctuation::SampleFluctuations(), PatternOptimizerBase::vxIntegMuRate(), RPCConst::vxIntegMuRate(), PatternOptimizerBase::vxMuRate(), and RPCConst::vxMuRate().

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 }
ret
prodAgent to be discontinued
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121
float x
Power< A, B >::type pow(const A &a, const B &b)
Definition: Power.h:29

Variable Documentation

◆ empty_s

const unsigned int RPCpg::empty_s = 99

Definition at line 27 of file Constants.h.

◆ maxPlanes_s

const unsigned int RPCpg::maxPlanes_s = 6

Definition at line 26 of file Constants.h.

◆ mu

const int RPCpg::mu = 0

Definition at line 22 of file Constants.h.

◆ mubar

const int RPCpg::mubar = 1

◆ muundefined

const int RPCpg::muundefined = 10

Definition at line 24 of file Constants.h.

◆ ptBins_s

const unsigned int RPCpg::ptBins_s = 32

Definition at line 28 of file Constants.h.

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

◆ pts

const double RPCpg::pts[33]
static