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, HltBtagPostValidation_cff::c, JetChargeProducer_cfi::exp, dqm-mbProfile::log, conifer::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
constexpr int pow(int x)
Definition: conifer.h:24
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121
float x

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
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 OMTFProcessor< GoldenPatternType >::getFinalcandidates(), CrossingPtBasedLinearizationPointFinder::getLinearizationPoint(), initializeRates(), MuonOverlapSeedFromRecHits::makeSeed(), MuonCSCSeedFromRecHits::makeSeed(), SubsetHsmModeFinder3d::operator()(), processPrediction(), FastTSGFromPropagation::stateOnDet(), and CrossingPtBasedLinearizationPointFinder::useAllTracks().