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

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, funct::pow(), and runTheMatrix::ret.

Referenced by L1TdeGCT::analyze(), L1TDEMON::analyze(), L1TriggerRates::computeRates(), L1TriggerRates::computeRunRates(), SiStripDigitizerAlgorithm::digitize(), TriggerRatesMonitorClient::dqmEndJob(), L1DEFilter::endJob(), L1ScalersClient::endLuminosityBlock(), EvolutionECAL::EquilibriumFractionColorCentersEM(), CMSCGEN::generateNuMu(), CMSCGEN::initializeNuMu(), initializeRates(), dqmservices::DQMMonitoringService::outputLumiUpdate(), MuonME0DigisHarvestor::ProcessBookingBKG(), PreMixingSiStripWorker::put(), Level1TriggerScalers::rateLS(), SiG4UniversalFluctuation::SampleFluctuations(), RPCConst::vxIntegMuRate(), 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:118
double a
Definition: hdecay.h:119
Power< A, B >::type pow(const A &a, const B &b)
Definition: Power.h:30

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

Definition at line 22 of file Constants.h.

const int RPCpg::mubar = 1

Definition at line 23 of file Constants.h.

Referenced by HMassVSPart::Fill(), and 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 FastTimeDDDConstants::getCorners(), CrossingPtBasedLinearizationPointFinder::getLinearizationPoint(), initializeRates(), MuonOverlapSeedFromRecHits::makeSeed(), MuonCSCSeedFromRecHits::makeSeed(), reco::ElectronSeed::name(), SubsetHsmModeFinder3d::operator()(), processPrediction(), and CrossingPtBasedLinearizationPointFinder::useAllTracks().