CMS 3D CMS Logo

Functions | Variables
MuScleFitUtils.cc File Reference
#include "MuScleFitUtils.h"
#include "DataFormats/HepMCCandidate/interface/GenParticle.h"
#include "SimDataFormats/Track/interface/SimTrack.h"
#include "DataFormats/Candidate/interface/LeafCandidate.h"
#include "DataFormats/Math/interface/LorentzVector.h"
#include "TString.h"
#include "TFile.h"
#include "TTree.h"
#include "TCanvas.h"
#include "TH2F.h"
#include "TF1.h"
#include "TF2.h"
#include <iostream>
#include <fstream>
#include <memory>
#include "MuonAnalysis/MomentumScaleCalibration/interface/Functions.h"

Go to the source code of this file.

Functions

Double_t Gaussian (Double_t *x, Double_t *par)
 
void likelihood (int &npar, double *grad, double &fval, double *xval, int flag)
 
Double_t lorentzianPeak (Double_t *x, Double_t *par)
 

Variables

double f [11][100]
 
double g [11][100]
 
TF1 * GL
 
TF2 * GL2
 
double isum
 
double mzsum
 

Function Documentation

◆ Gaussian()

Double_t Gaussian ( Double_t *  x,
Double_t *  par 
)

Definition at line 63 of file MuScleFitUtils.cc.

63  {
64  return par[0] * exp(-0.5 * ((x[0] - par[1]) / par[2]) * ((x[0] - par[1]) / par[2]));
65 }

References JetChargeProducer_cfi::exp, and genVertex_cff::x.

Referenced by MuScleFitUtils::fitReso().

◆ likelihood()

void likelihood ( int &  npar,
double *  grad,
double &  fval,
double *  xval,
int  flag 
)

Definition at line 1784 of file MuScleFitUtils.cc.

1784  {
1785  if (MuScleFitUtils::debug > 19)
1786  std::cout << "[MuScleFitUtils-likelihood]: In likelihood function" << std::endl;
1787 
1788  const lorentzVector *recMu1;
1789  const lorentzVector *recMu2;
1790  lorentzVector corrMu1;
1791  lorentzVector corrMu2;
1792 
1793  // if (MuScleFitUtils::debug>19) {
1794  // int parnumber = (int)(MuScleFitUtils::parResol.size()+MuScleFitUtils::parScale.size()+
1795  // MuScleFitUtils::parCrossSection.size()+MuScleFitUtils::parBgr.size());
1796  // std::cout << "[MuScleFitUtils-likelihood]: Looping on tree with ";
1797  // for (int ipar=0; ipar<parnumber; ipar++) {
1798  // std::cout << "Parameter #" << ipar << " with value " << xval[ipar] << " ";
1799  // }
1800  // std::cout << std::endl;
1801  // }
1802 
1803  // Loop on the tree
1804  // ----------------
1805  double flike = 0;
1806  int evtsinlik = 0;
1807  int evtsoutlik = 0;
1808  // std::cout << "SavedPair.size() = " << MuScleFitUtils::SavedPair.size() << std::endl;
1809  if (MuScleFitUtils::debug > 0) {
1810  std::cout << "SavedPair.size() = " << MuScleFitUtils::SavedPair.size() << std::endl;
1811  std::cout << "ReducedSavedPair.size() = " << MuScleFitUtils::ReducedSavedPair.size() << std::endl;
1812  }
1813  // for( unsigned int nev=0; nev<MuScleFitUtils::SavedPair.size(); ++nev ) {
1814  for (unsigned int nev = 0; nev < MuScleFitUtils::ReducedSavedPair.size(); ++nev) {
1815  // recMu1 = &(MuScleFitUtils::SavedPair[nev].first);
1816  // recMu2 = &(MuScleFitUtils::SavedPair[nev].second);
1817  recMu1 = &(MuScleFitUtils::ReducedSavedPair[nev].first);
1818  recMu2 = &(MuScleFitUtils::ReducedSavedPair[nev].second);
1819 
1820  // Compute original mass
1821  // ---------------------
1822  double mass = MuScleFitUtils::invDimuonMass(*recMu1, *recMu2);
1823 
1824  // Compute weight and reference mass (from original mass)
1825  // ------------------------------------------------------
1827  if (weight != 0.) {
1828  // Compute corrected mass (from previous biases) only if we are currently fitting the scale
1829  // ----------------------------------------------------------------------------------------
1831  // std::cout << "Original pt1 = " << corrMu1.Pt() << std::endl;
1832  // std::cout << "Original pt2 = " << corrMu2.Pt() << std::endl;
1833  corrMu1 = MuScleFitUtils::applyScale(*recMu1, xval, -1);
1834  corrMu2 = MuScleFitUtils::applyScale(*recMu2, xval, 1);
1835 
1836  // if( (corrMu1.Pt() != corrMu1.Pt()) || (corrMu2.Pt() != corrMu2.Pt()) ) {
1837  // std::cout << "Rescaled pt1 = " << corrMu1.Pt() << std::endl;
1838  // std::cout << "Rescaled pt2 = " << corrMu2.Pt() << std::endl;
1839  // }
1840  // std::cout << "Rescaled pt1 = " << corrMu1.Pt() << std::endl;
1841  // std::cout << "Rescaled pt2 = " << corrMu2.Pt() << std::endl;
1842  } else {
1843  corrMu1 = *recMu1;
1844  corrMu2 = *recMu2;
1845 
1846  // if( (corrMu1.Pt() != corrMu1.Pt()) || (corrMu2.Pt() != corrMu2.Pt()) ) {
1847  // std::cout << "Not rescaled pt1 = " << corrMu1.Pt() << std::endl;
1848  // std::cout << "Not rescaled pt2 = " << corrMu2.Pt() << std::endl;
1849  // }
1850  }
1851  double corrMass = MuScleFitUtils::invDimuonMass(corrMu1, corrMu2);
1852  double Y = (corrMu1 + corrMu2).Rapidity();
1853  double resEta = (corrMu1 + corrMu2).Eta();
1854  if (MuScleFitUtils::debug > 19) {
1855  std::cout << "[MuScleFitUtils-likelihood]: Original/Corrected resonance mass = " << mass << " / " << corrMass
1856  << std::endl;
1857  }
1858 
1859  // Compute mass resolution
1860  // -----------------------
1861  double massResol = MuScleFitUtils::massResolution(corrMu1, corrMu2, xval);
1862  if (MuScleFitUtils::debug > 19)
1863  std::cout << "[MuScleFitUtils-likelihood]: Resolution is " << massResol << std::endl;
1864 
1865  // Compute probability of this mass value including background modeling
1866  // --------------------------------------------------------------------
1867  if (MuScleFitUtils::debug > 1)
1868  std::cout << "calling massProb inside likelihood function" << std::endl;
1869 
1870  // double prob = MuScleFitUtils::massProb( corrMass, resEta, Y, massResol, xval );
1871  double prob = MuScleFitUtils::massProb(corrMass, resEta, Y, massResol, xval, false, corrMu1.eta(), corrMu2.eta());
1872  if (MuScleFitUtils::debug > 1)
1873  std::cout << "likelihood:massProb = " << prob << std::endl;
1874 
1875  // Compute likelihood
1876  // ------------------
1877  if (prob > 0) {
1878  // flike += log(prob*10000)*weight; // NNBB! x10000 to see if we can recover the problem of boundary
1879  flike += log(prob) * weight;
1880  evtsinlik += 1; // NNBB test: see if likelihood per event is smarter (boundary problem)
1881  } else {
1882  if (MuScleFitUtils::debug > 0) {
1883  std::cout << "WARNING: corrMass = " << corrMass
1884  << " outside window, this will cause a discontinuity in the likelihood. Consider increasing the "
1885  "safety bands which are now set to 90% of the normalization window to avoid this problem"
1886  << std::endl;
1887  std::cout << "Original mass was = " << mass << std::endl;
1888  std::cout << "WARNING: massResol = " << massResol << " outside window" << std::endl;
1889  }
1890  evtsoutlik += 1;
1891  }
1892  if (MuScleFitUtils::debug > 19)
1893  std::cout << "[MuScleFitUtils-likelihood]: Mass probability = " << prob << std::endl;
1894  } // weight!=0
1895 
1896  } // End of loop on tree events
1897 
1898  // // Protection for low statistic. If the likelihood manages to throw out all the signal
1899  // // events and stays with ~ 10 events in the resonance window it could have a better likelihood
1900  // // because of ~ uniformly distributed events (a random combination could be good and spoil the fit).
1901  // // We require that the number of events included in the fit does not change more than 5% in each minuit loop.
1902  // bool lowStatPenalty = false;
1903  // if( MuScleFitUtils::minuitLoop_ > 0 ) {
1904  // double newEventsOutInRatio = double(evtsinlik);
1905  // // double newEventsOutInRatio = double(evtsoutlik)/double(evtsinlik);
1906  // double ratio = newEventsOutInRatio/MuScleFitUtils::oldEventsOutInRatio_;
1907  // MuScleFitUtils::oldEventsOutInRatio_ = newEventsOutInRatio;
1908  // if( ratio < 0.8 || ratio > 1.2 ) {
1909  // std::cout << "Warning: too much change from oldEventsInLikelihood to newEventsInLikelihood, ratio is = " << ratio << std::endl;
1910  // std::cout << "oldEventsInLikelihood = " << MuScleFitUtils::oldEventsOutInRatio_ << ", newEventsInLikelihood = " << newEventsOutInRatio << std::endl;
1911  // lowStatPenalty = true;
1912  // }
1913  // }
1914 
1915  // It is a product of probabilities, we compare the sqrt_N of them. Thus N becomes a denominator of the logarithm.
1916  if (evtsinlik != 0) {
1918  // && !(MuScleFitUtils::duringMinos_) ) {
1919  if (MuScleFitUtils::rminPtr_ == nullptr) {
1920  std::cout << "ERROR: rminPtr_ = " << MuScleFitUtils::rminPtr_ << ", code will crash" << std::endl;
1921  }
1922  double normalizationArg[] = {1 / double(evtsinlik)};
1923  // Reset the normalizationArg only if it changed
1924  if (MuScleFitUtils::oldNormalization_ != normalizationArg[0]) {
1925  int ierror = 0;
1926  // if( MuScleFitUtils::likelihoodInLoop_ != 0 ) {
1927  // // This condition is set only when minimizing. Later calls of hesse and minos will not change the value
1928  // // This is done to avoid minos being confused by changing the UP parameter during its computation.
1929  // MuScleFitUtils::rminPtr_->mnexcm("SET ERR", normalizationArg, 1, ierror);
1930  // }
1931  MuScleFitUtils::rminPtr_->mnexcm("SET ERR", normalizationArg, 1, ierror);
1932  std::cout << "oldNormalization = " << MuScleFitUtils::oldNormalization_ << " new = " << normalizationArg[0]
1933  << std::endl;
1934  MuScleFitUtils::oldNormalization_ = normalizationArg[0];
1936  }
1937  fval = -2. * flike / double(evtsinlik);
1938  // fval = -2.*flike;
1939  // if( lowStatPenalty ) {
1940  // fval *= 100;
1941  // }
1942  } else {
1943  fval = -2. * flike;
1944  }
1945  } else {
1946  std::cout << "Problem: Events in likelihood = " << evtsinlik << std::endl;
1947  fval = 999999999.;
1948  }
1949  // fval = -2.*flike;
1950  if (MuScleFitUtils::debug > 19)
1951  std::cout << "[MuScleFitUtils-likelihood]: End tree loop with likelihood value = " << fval << std::endl;
1952 
1953  // #ifdef DEBUG
1954 
1955  // if( MuScleFitUtils::minuitLoop_ < 10000 ) {
1956  if (MuScleFitUtils::likelihoodInLoop_ != nullptr) {
1959  }
1960  // }
1961  // else std::cout << "minuitLoop over 10000. Not filling histogram" << std::endl;
1962 
1963  std::cout << "MINUIT loop number " << MuScleFitUtils::minuitLoop_ << ", likelihood = " << fval << std::endl;
1964 
1965  if (MuScleFitUtils::debug > 0) {
1966  // if( MuScleFitUtils::duringMinos_ ) {
1967  // int parnumber = (int)(MuScleFitUtils::parResol.size()+MuScleFitUtils::parScale.size()+
1968  // MuScleFitUtils::parCrossSection.size()+MuScleFitUtils::parBgr.size());
1969  // std::cout << "[MuScleFitUtils-likelihood]: Looping on tree with ";
1970  // for (int ipar=0; ipar<parnumber; ipar++) {
1971  // std::cout << "Parameter #" << ipar << " with value " << xval[ipar] << " ";
1972  // }
1973  // std::cout << std::endl;
1974  // std::cout << "[MuScleFitUtils-likelihood]: likelihood value = " << fval << std::endl;
1975  // }
1976  std::cout << "Events in likelihood = " << evtsinlik << std::endl;
1977  std::cout << "Events out likelihood = " << evtsoutlik << std::endl;
1978  }
1979 
1980  // #endif
1981 }

References MuScleFitUtils::applyScale(), MuScleFitUtils::computeWeight(), gather_cfg::cout, MuScleFitUtils::debug, MuScleFitUtils::doScaleFit, MuScleFitUtils::iev_, MuScleFitUtils::invDimuonMass(), MuScleFitUtils::likelihoodInLoop_, dqm-mbProfile::log, MuScleFitUtils::loopCounter, EgHLTOffHistBins_cfi::mass, MuScleFitUtils::massProb(), MuScleFitUtils::massResolution(), MuScleFitUtils::minuitLoop_, MuScleFitUtils::normalizationChanged_, MuScleFitUtils::normalizeLikelihoodByEventNumber_, MuScleFitUtils::oldNormalization_, TtFullHadEvtBuilder_cfi::prob, MuScleFitUtils::ReducedSavedPair, MuScleFitUtils::rminPtr_, MuScleFitUtils::SavedPair, mps_merge::weight, and BeamSpotPI::Y.

Referenced by MuScleFitUtils::minimizeLikelihood(), and PFNuclearProducer::produce().

◆ lorentzianPeak()

Double_t lorentzianPeak ( Double_t *  x,
Double_t *  par 
)

See header file for a class description

Author
S. Bolognesi - INFN Torino / T. Dorigo, M. De Mattia - INFN Padova Revised S. Casasso, E. Migliore - UniTo & INFN Torino

Definition at line 56 of file MuScleFitUtils.cc.

56  {
57  return (0.5 * par[0] * par[1] / TMath::Pi()) /
58  TMath::Max(1.e-10, (x[0] - par[2]) * (x[0] - par[2]) + .25 * par[1] * par[1]);
59 }

References MillePedeFileConverter_cfg::e, Max(), Pi, and genVertex_cff::x.

Referenced by MuScleFitUtils::fitMass().

Variable Documentation

◆ f

double f[11][100]

Definition at line 78 of file MuScleFitUtils.cc.

Referenced by funct::SimplSumOrd< F, G, H >::prod0::a(), funct::SimplSumOrd< F, G, H >::prod1::a(), funct::RatioP1< F, G, H >::prod0::a(), funct::Product< ProductStruct< F, G >, H >::prod0::a(), funct::RatioP1< F, G, H >::prod1::a(), funct::Product< ProductStruct< F, G >, H >::prod1::a(), funct::RatioP2< F, G, H >::prod0::a(), funct::RatioP2< F, G, H >::prod1::a(), abcd(), abConnect(), LocalTrajectoryParameters::absdz(), HGCDigitizer::accumulate(), HGCDigitizer::accumulate_forPreMix(), edm::helper::Filler< Association< C > >::add(), Folder::add(), FWRecoGeometryESProducer::ADD_PIXEL_TOPOLOGY(), SiPixelFedCablingTree::addFed(), ParticleFlux::addFlux(), GEMDigiModule::addLinks(), ME0DigiModel::addLinks(), TrackDetectorAssociator::addTAMuonSegmentMatch(), SiStripGainFromData::algoEndJob(), SiStripNoises::allNoises(), ZMuPtScaleAnalyzer::analyze(), EcalSRCondTools::analyze(), JetResolutionDBReader::analyze(), GctFibreAnalyzer::analyze(), DemoOneDQMEDAnalyzer::analyze(), EwkMuLumiMonitorDQM::analyze(), SiPixelHitEfficiencySource::analyze(), JetResolutionScaleFactorDBReader::analyze(), DumpSimGeometry::analyze(), __class__< T >::analyze(), BTagPerformaceRootProducerFromSQLITE::analyze(), HeavyFlavorValidation::analyze(), FFTJetPileupAnalyzer::analyze(), ThirdHitPredictionFromCircle::angle(), dqm::DQMFileSaverOnline::appendSnapshot(), apply(), npstat::ArrayND< Num1, Len1, Dim1 >::apply(), FFTJetCorrectionProducer::applyCorrections(), approx_asin_P< 11 >(), approx_asin_P< 7 >(), approx_asin_P< 9 >(), approx_atan2s_P< 3 >(), approx_atan2s_P< 5 >(), approx_atan2s_P< 7 >(), approx_atan2s_P< 9 >(), approx_erf(), ME0SegAlgoRU::areHitsCloseInEta(), GE0SegAlgoRU::areHitsCloseInEta(), ME0SegAlgoRU::areHitsCloseInGlobalPhi(), GE0SegAlgoRU::areHitsCloseInGlobalPhi(), npstat::ArrayND< Num1, Len1, Dim1 >::ArrayND(), npstat::ArrayND< Num1, Len1, Dim1 >::assign(), ticl::assignPCAtoTracksters(), OuterHitPhiPrediction::asym(), DTDigitizer::asymGausSmear(), HcalShapeIntegrator::at(), HcalItemArrayCollById< Item, N >::at(), fastmath::atan2r(), CalibrationAlgorithm::baseLine(), CalibrationScanAlgorithm::baseLine(), QGLikelihoodDBWriter::beginJob(), ProtonTaggerFilter::beginJob(), EcalPedestalHistory::beginRun(), PFCandidateRecalibrator::beginRun(), CmsShowMainFrame::bindCSGActionKeys(), Phase1PixelMaps::bookBarrelBins(), TrackerOfflineValidation::bookDirHists(), Phase1PixelMaps::bookForwardBins(), dqm::implementation::DQMStore::bookTransaction(), GEMBaseValidation::bookXYOccupancy(), magneticfield::bRod::bRod(), magneticfield::bSector::bSector(), FWCaloRecHitDigitSetProxyBuilder::build(), FWCaloClusterProxyBuilder::build(), FWPFCandidateDetailView::build(), FWTrackHitsDetailView::build(), magneticfield::MagGeoBuilder::build(), FWConvTrackHitsDetailView::build(), MagGeoBuilderFromDDD::build(), GenericSimClusterMapper::buildClusters(), PFClusterFromHGCalMultiCluster::buildClusters(), RealisticSimClusterMapper::buildClusters(), FWBoxRecHit::buildTower(), KDTreeLinkerTrackEcal::buildTree(), KDTreeLinkerTrackHcal::buildTree(), funct::SimplSumOrd< F, G, H >::prod2::c(), funct::RatioP1< F, G, H >::prod2::c(), funct::Product< ProductStruct< F, G >, H >::prod2::c(), funct::RatioP2< F, G, H >::prod2::c(), SiTrackerMultiRecHitUpdator::calcParameters(), SiPixelDigitizerAlgorithm::calcQ(), HLTEcalResonanceFilter::calcShowerShape(), HLTRegionalEcalResonanceFilter::calcShowerShape(), ECAL2DPositionCalcWithDepthCorr::calculateAndSetPositionActual(), Basic2DGenericPFlowPositionCalc::calculateAndSetPositionActual(), PFEGammaAlgo::calculateEleMVA(), tkDetUtil::calculatePhiWindow(), HGCalCLUEAlgoT< TILE >::calculatePosition(), Quantile::calculateQ(), l1t::Stage2Layer2JetAlgorithmFirmwareImp1::calibFit(), l1t::Stage2Layer2JetAlgorithmFirmwareImp1::calibFitErr(), do_iterate< TupleType, N >::call(), edm::ExceptionCollector::call(), reco::HitPattern::call(), HFPreRecHit::chargeAsymmetry(), check_file(), RPCDCSSummary::checkDCSbit(), RPCDataCertification::checkFED(), checkPhiInRange(), HitPairGeneratorFromLayerPairForPhotonConversion::checkRZCompatibilityWithSeedTrack(), RectangularEtaPhiTrackingRegion::checkRZOld(), HGCRecHit::chi2(), DTHVAbstractCheck::chkFlag(), FastTrajectoryCleaner::clean(), CmsShowEDI::clearPBFrame(), LaserSorter::closeOutStream(), Grid1D::closestNode(), CmsShowCommonPopup::CmsShowCommonPopup(), CmsShowMain::CmsShowMain(), funct::SimplSumOrd< A, B, ProductStruct< C, D > >::combine(), funct::combine(), funct::RatioP1< A, B, Numerical< n > >::combine(), funct::Product< ProductStruct< F, G >, H >::combine(), funct::RatioP2< A, B, ProductStruct< C, D > >::combine(), ForwardDetLayer::compatible(), GsfBetheHeitlerUpdator::compute(), EcalUncalibRecHitRatioMethodAlgo< EBDataFrame >::computeAmplitudeImpl(), RealisticHitToClusterAssociator::computeAssociation(), FWGeoTopNode::ComputeBBox(), GEMSuperChamber::computeDeltaPhi(), DQMGenericClient::computeEfficiency(), TBPLayer::computeIndexes(), MagneticField::computeNominalValue(), l1tpf_impl::LinearizedPuppiAlgo::computePuppiWeights(), EcalUncalibRecHitRatioMethodAlgo< EBDataFrame >::computeTime(), HBHENegativeFlagSetter::configFilter(), ConnectionManager::connect(), OpticalObject::constructMaterial(), convert64(), convertPackedEtaToPackedY(), edm::ParameterSetConverter::convertParameterSets(), edm::copy_all(), npstat::ArrayND< Num1, Len1, Dim1 >::copyRangeLoopFunct(), EcalClusterToolsT< noZS >::covariances(), StripCPE::Param::coveredStrips(), spu::create_file(), DeepTauId::createEgammaBlockInputs(), EveService::createEventNavigationGUI(), DeepTauId::createHadronsBlockInputs(), DeepTauId::createMuonBlockInputs(), CaloSD::createNewHit(), DeepTauId::createTauBlockInputs(), CTPPSRPAlignmentCorrectionsDataESSourceXML::CTPPSRPAlignmentCorrectionsDataESSourceXML(), muonisolation::IsolatorByNominalEfficiency::cuts(), GaussianSumUtilities1D::d1LnPdf(), GaussianSumUtilities1D::d2LnPdf(), MaterialBudgetData::dataPerStep(), dd_html_frameset(), dd_html_menu(), dd_html_menu_frameset(), dd_to_html(), CalibrationAlgorithm::decayTime(), CalibrationScanAlgorithm::decayTime(), BTagLikeDeDxDiscriminator::dedx(), HcalTimeSlewSim::delay(), FFTJetProducer::determinePileup(), FFTJetProducer::determinePileupDensityFromDB(), FWEveDigitSetScalableMarkerGL::DirectDraw(), LocalTrajectoryParameters::direction(), LocalTrajectoryParameters::directionNotNormalized(), reco::tau::PFRecoTauDiscriminationByMVAIsolationRun2::discriminate(), MuonTagger::discriminator(), ElectronTagger::discriminator(), npstat::HistoND< Numeric, Axis >::dispatch(), DumpGctDigis::doFibres(), DDNsGenerator::doit(), DDFrameGenerator::doit(), CmsShowTaskExecutor::doNextTaskImp(), edm::IDGeneratorSourceBase< PuttableSourceBase >::doReadEvent(), RPCEventSummary::dqmEndLuminosityBlock(), PixelCPEBase::driftDirection(), DTDigitizer::driftTimeFromParametrization(), DTConfigLUTs::DSPtoIEEE32(), DSPtoIEEE32(), edm::JobReport::dumpFiles(), VVIObjFDetails::dzero(), VVIObjDetails::dzero(), sistripvvi::VVIObjDetails::dzero(), EcalSeverityLevelAlgo::EcalSeverityLevelAlgo(), Conv::elec(), ticl::PatternRecognitionbyCA< TILES >::emptyTrackstersFromSeedsTRK(), EcalTBHodoscopeRawInfoDumper::endJob(), EcalTBTDCRawInfoDumper::endJob(), miscalibExample::endJob(), EcalSimpleTBAnalyzer::endJob(), EcalSimple2007H4TBAnalyzer::endJob(), PhiSymmetryCalibration::endJob(), HFPreRecHit::energyAsymmetry(), hgcal::EGammaPCAHelper::energyPerLayer(), ticl::PatternRecognitionbyCA< TILES >::energyRegressionAndID(), TrackstersMergeProducer::energyRegressionAndID(), fireworks::energyScaledBox3DCorners(), AbsPlan1RechitCombiner::energyWeightedAverage(), BinomialProbability::error(), magneticfield::eSector::eSector(), RectangularEtaPhiTrackingRegion::estimator(), TICLLayerTileT< T >::etaBin(), fireworks::etScaledBox3DCorners(), ESRecHitSimAlgo::evalAmplitude(), fit::RootMinuitFuncEvaluator< Function >::evaluate(), fit::RootMinuitFuncEvaluator< Likelihood< Sample, PDF, Yield > >::evaluate(), CAHitTripletGenerator::QuantityDependsPt::evaluator(), CAHitQuadrupletGenerator::QuantityDependsPt::evaluator(), edm::JobReport::eventReadFromFile(), edm::JobReport::eventWrittenToFile(), edm::Worker::RunModuleTask< T >::execute(), FWGUIManager::exportAllViews(), TFParams::f3deg(), HitQuadrupletGeneratorFromLayerPairForPhotonConversion::failCheckRZCompatibility(), fastjetsiscone_(), fastjetsisconewitharea_(), EEDetId::fastValidDetId(), HiEgammaSCEnergyCorrectionAlgo::fBrem(), VVIObj::fcn(), VVIObjF::fcn(), sistripvvi::VVIObj::fcn(), fcn(), fit::RootMinuit< Function >::fcn_(), fcnbg(), fcnsg(), HiEgammaSCEnergyCorrectionAlgo::fEta(), l1tpf_impl::RegionMapper::fetch(), l1tpf_impl::RegionMapper::fetchCalo(), l1tpf_impl::RegionMapper::fetchTracks(), HiEgammaSCEnergyCorrectionAlgo::fEtEta(), l1tpf_impl::Region::fiducialLocal(), PixelRecoUtilities::FieldAt0::FieldAt0(), sim::FieldBuilder::FieldBuilder(), MultipleScatteringX0Data::fileName(), MuonIdDQM::Fill(), MuonIdVal::Fill(), XHistogram::fill(), DD4hep_XHistogram::fill(), big::bigStore::fill(), TrackDetectorAssociator::fillCaloTruth(), QcdUeDQM::fillChargedJetSpectra(), PhiSymmetryCalibration_step2::fillConstantsHistos(), PhiSymmetryCalibration_step2_SM::fillConstantsHistos(), PhiSymmetryCalibration_step2::fillHistos(), PhiSymmetryCalibration_step2_SM::fillHistos(), reco::tau::fillIsoMVARun2Inputs(), StripCPE::fillParams(), GEDPhotonProducer::fillPhotonCollection(), DeepBoostedJetTagInfoProducer::fillSVFeatures(), LRHelpFunctions::fillToBackgroundHists(), LRHelpFunctions::fillToSignalHists(), RealisticHitToClusterAssociator::filterHitsByDistance(), edm::AssociationMap< edm::OneToOne< std::vector< Trajectory >, reco::GsfTrackCollection, unsigned short > >::find(), RealisticHitToClusterAssociator::findAndMergeInvisibleClusters(), RealisticHitToClusterAssociator::findCentersOfGravity(), reco::HcalNoiseRBXArray::findHPD(), MSLayersAtAngle::findLayer(), reco::findMethod(), muonisolation::IsolatorByNominalEfficiency::findPath(), PFElecTkProducer::findPfRef(), reco::HcalNoiseRBXArray::findRBX(), CSCXonStrip_MatchGatti::findXOnStrip(), SymmetryFit::fit(), CosmicMuonSmoother::fit(), SymmetryFit::fitfunction(), JetCoreClusterSplitter::fittingSplit(), CSCFindPeakTime::fivePoleFitTime(), PhotonFix::fixedEnergy(), extend_argparse::FixedWidthFormatter(), MillePedeTrees::Flt(), HiEgammaSCEnergyCorrectionAlgo::fNCrystals(), EgammaSCEnergyCorrectionAlgo::fNCrystals(), edm::for_all(), edmNew::foreachDetSetObject(), edm::formatFile(), fpeak_convoluted(), lumi::from_string(), from_string(), trackingTools::ftsFromVertexToPoint(), root::helper::RootFunctionHelper< F, args, Tag >::fun(), FitterFuncs::PulseShapeFunctor::funcShape(), root::function(), root::function_t(), npstat::ArrayND< Num1, Len1, Dim1 >::functorFill(), npstat::ArrayND< Num1, Len1, Dim1 >::functorFillLoop(), edm::FwdPtr< T >::FwdPtr(), FWEveViewManager::FWEveViewManager(), FWFFService::FWFFService(), FWGeometryTableViewManager::FWGeometryTableViewManager(), FWGUIEventFilter::FWGUIEventFilter(), FWLegoCandidate::FWLegoCandidate(), FWLegoEvePFCandidate::FWLegoEvePFCandidate(), EcalSimRawData::fwrite(), FWTableViewManager::FWTableViewManager(), FWTriggerTableViewManager::FWTriggerTableViewManager(), DQMGenericClient::generic_eff(), EcalSimRawData::genFeData(), EcalSimRawData::genSrData(), funct::NthDerivative< n, X, F >::get(), funct::NthDerivative< 0, X, F >::get(), funct::ConstPrimitive< X, F, true >::get(), SiPixelClusterShapeCache::get(), edm::AssociationMap< edm::OneToOne< std::vector< Trajectory >, reco::GsfTrackCollection, unsigned short > >::get(), HcalDeterministicFit::get205Frac(), HcalDeterministicFit::get206Frac(), HcalDeterministicFit::get207Frac(), StripCPE::getAlgoParam(), hcaldqm::quantity::FlagQuantity::getBin(), HcalItemArrayCollById< Item, N >::getByIndex(), EcalBarrelGeometry::getCells(), hgcal::ClusterTools::getClusterHadronFraction(), fireworks::GetColorValuesForPaletteExtra(), egamma::conv::getConversionInfo(), SCRegressionCalculator< VarCalc >::getCorrectionWithErrors(), HitPairGeneratorFromLayerPairForPhotonConversion::getCot(), TrajSeedMatcher::MatchingCutsV2::getCutValue(), HcalFeatureHFEMBit::getE(), ZdcSD::getEnergyDeposit(), RealisticCluster::getExclusiveEnergyFraction(), FWGeometry::getHGCSiliconEveShape(), WatcherStreamFileReader::getInputFile(), PhiSymmetryCalibration::getKfactors(), HcalDeterministicFit::getLandauFrac(), EcalLaserDbService::getLaserCorrection(), EcalTrivialConditionRetriever::getMappingFromConfiguration(), FWMagField::GetMaxFieldMag(), EcalMappingElectronicsHandler::getNewObjects(), popcon::EcalSRPHandler::getNewObjects(), popcon::EcalTPGFineGrainEBIdMapHandler::getNewObjects(), HIPplots::GetNIterations(), EcalRecHit::getPower10(), TrackDetectorAssociator::getTAMuonChamberMatches(), AntiElectronIDMVA6< TauType, ElectronType >::getTauVarsTypeSpecific(), ConversionProducer::getTrackImpactPosition(), HGCalConcentratorSuperTriggerCellImpl::getTriggerCellOneBitFraction(), EcalClusterCrackCorrection::getValue(), CSCAnalogSignal::getValue(), hcaldqm::quantity::FlagQuantity::getValue(), QGLikelihoodDBWriter::getVectorFromFile(), SiPixelDigiToRaw::globalBeginLuminosityBlock(), GlobalTrajectoryParameters::GlobalTrajectoryParameters(), TIBRing::groupedCompatibleDetsV(), FWConfigurationManager::guessAndReadFromFile(), CmsAnnotation::Handle(), FWColorPopup::HandleButton(), TkPixelMeasurementDet::hasBadComponents(), CACell::haveSimilarCurvature(), HcalPulseContainmentCorrection::HcalPulseContainmentCorrection(), HelixBarrelCylinderCrossing::HelixBarrelCylinderCrossing(), HelixBarrelPlaneCrossing2OrderLocal::HelixBarrelPlaneCrossing2OrderLocal(), HGCalRecHitWorkerSimple::HGCalRecHitWorkerSimple(), HGCDigitizerBase< HGCalDataFrame >::HGCDigitizerBase(), CSCMake2DRecHit::hitFromStripAndWire(), HitPairGeneratorFromLayerPairForPhotonConversion::hitPairs(), RectangularEtaPhiTrackingRegion::hits(), MultiHitGeneratorFromChi2::hitSets(), PixelTripletLargeTipGenerator::hitTriplets(), PixelTripletHLTGenerator::hitTriplets(), HLTCommonConfig::HLTCommonConfig(), DTConfigLUTs::IEEE32toDSP(), DTTrigGeom::IEEE32toDSP(), IEEE32toDSP(), EcalSRCondTools::importSrpConfigFile(), Grid1D::index(), pat::strbitset::index(), SiTrivialInduceChargeOnStrips::induceVector(), AcceptanceTableHelper::Init(), ThirdHitCorrection::init(), fit::RootMinuitCommands< Function >::init(), PixelRecoLineRZ::initCot(), fireworks::Context::initEveElements(), PseudoBayesGrouping::initialise(), PFEGammaAlgo::initializeProtoCands(), CandMatcherBase< C1, C2 >::initMaps(), edm::JobReport::inputFileClosed(), edm::helper::Filler< Association< C > >::insert(), SimpleDiskBounds::inside(), DiskSectorBounds::inside(), Bounds::inside(), PhotonConversionTrajectorySeedProducerFromSingleLegAlgo::inspectTrack(), funct::integral(), funct::integral_f(), LinearGridInterpolator3D::interpolate(), SiPixelTemplate2D::interpolate(), SiPixelTemplate::interpolate(), npstat::LinInterpolatedTableND< Numeric, Axis >::invertRatioResponse(), cond::persistency::iovSorter(), ParabolicParametrizedMagneticField::isDefined(), OAEParametrizedMagneticField::isDefined(), ME0SegAlgoRU::isHitNearSegment(), GE0SegAlgoRU::isHitNearSegment(), heppy::IsolationComputer::isoSumNeutralsWeighted(), PixelClusterShapeExtractor::isSuitable(), edm::isTransientEqual(), iterate_tuple(), PerigeeConversions::jacobianParameters2Cartesian(), PerigeeConversions::jacobianPerigee2Curvilinear(), JME::JetResolutionObject::JetResolutionObject(), FWGUIValidatingTextEntry::keyPressedInPopup(), StripCPEfromTrackAngle::legacyStripErrorSquared(), EvolutionECAL::LightCollectionEfficiency(), EvolutionECAL::LightCollectionEfficiencyWeighted(), PFMultiDepthClusterizer::link(), PFEGammaAlgo::linkRefinableObjectSecondaryKFsToECAL(), GaussianSumUtilities1D::lnPdf(), CDFRunInfo::load(), FWFFLooper::loadDefaultGeometryFile(), FFTJetPileupProcessor::loadFlatteningFactors(), MatacqProducer::loadOrbitOffset(), HcalPatternSource::loadPatternFile(), ClusterShapeHitFilter::loadPixelLimits(), SteppingHelixPropagator::loadState(), EcalClusterToolsT< noZS >::localCovariances(), PSimHit::localDirection(), RectangularStripTopology::localError(), GEMStripTopology::localError(), PixelCPEClusterRepair::localError(), PixelCPETemplateReco::localError(), CSCRadialStripTopology::localError(), TkRadialStripTopology::localError(), PixelCPEGeneric::localError(), StripCPE::localParameters(), Phase2StripCPE::localParameters(), GEMStripTopology::localPitch(), TrapezoidalStripTopology::localPitch(), CSCRadialStripTopology::localPitch(), RectangularStripTopology::localPosition(), GEMStripTopology::localStripLength(), TrapezoidalStripTopology::localStripLength(), CSCRadialStripTopology::localStripLength(), TkRadialStripTopology::localStripLength(), btagbtvdeep::logWithOffset(), GroupedTrajCandLess::looperPenalty(), SimpleHBHEPhase1Algo::m0Time(), GlobalTrajectoryParameters::magneticFieldInInverseGeV(), main(), SiPixelDigitizerAlgorithm::make_digis(), edm::make_functor_task(), edm::make_lambda_with_holder(), edm::make_waiting_task(), edm::make_waiting_task_with_holder(), MuonRPCDetLayerGeometryBuilder::makeBarrelLayers(), MuonRPCDetLayerGeometryBuilder::makeBarrelRods(), TMultiDimFet::MakeChi2(), TMultiDimFet::MakeCoefficientErrors(), LayerClusterAssociatorByEnergyScoreImpl::makeConnections(), HcalDbHardcode::makeGain(), fireworks_root_gui::makeHorizontalFrame(), HcalDbHardcode::makeMCParam(), HcalDbHardcode::makePedestal(), RunInfoTestESProducer::makeRunInfo(), reco::MaskCollection< Object >::mask(), edm::EventSelector::maskTriggerResults(), MassKinFitterCandProducer::MassKinFitterCandProducer(), funct::master(), SiStripRecHitMatcher::match(), CSCRadialStripTopology::measurementError(), TkRadialStripTopology::measurementError(), dqm::implementation::DQMStore::meBookerGetter(), JetPartonNamespace::UserPartonMixture::mixt(), LocalTrajectoryParameters::momentum(), HGVHistoProducerAlgo::multiClusters_to_CaloParticles(), AntiElectronIDMVA6< TauType, ElectronType >::mvaValue(), AntiElectronIDMVA6< TauType, ElectronType >::mvaValuePhase2(), Grid1D::normalize(), funct::nth_derivative(), edm::AssociationMap< edm::OneToOne< std::vector< Trajectory >, reco::GsfTrackCollection, unsigned short > >::numberOfAssociations(), LRHelpFunctions::obsFitIncluded(), CaloSamples::offsetTime(), oldComputeElectrons(), MahiFit::onePulseMinimize(), GsiFTPStorageMaker::open(), HttpStorageMaker::open(), DavixStorageMaker::open(), LocalStorageMaker::open(), DCacheStorageMaker::open(), StormStorageMaker::open(), XrdStorageMaker::open(), StormLcgGtStorageMaker::open(), GsfEleEffAreaPFIsoCut::operator()(), FreeFunctionSelector< T, f >::operator()(), GsfEleCalPFClusterIsoCut::operator()(), l1tpf::ParametricResolution::operator()(), BSpdfsFcn::operator()(), TkClonerImpl::operator()(), funct::TrapezoidIntegrator::operator()(), CandMatcherBase< C1, C2 >::operator()(), funct::GaussLegendreIntegrator::operator()(), funct::GaussIntegrator::operator()(), PixelHitMatcher::BarrelMeasurementEstimator::operator()(), MiniFloatConverter::ReduceMantissaToNbitsRounding::operator()(), PixelHitMatcher::ForwardMeasurementEstimator::operator()(), funct::RootIntegrator::operator()(), hcaldqm::flag::Flag::operator+(), hcaldqm::flag::Flag::operator+=(), cond::persistency::EchoedLogStream< EdmLogger >::operator<<(), funct::operator<<(), cond::persistency::EchoedLogStream< edm::LogDebug_ >::operator<<(), edm::Log< level::Debug, true >::operator<<(), reco::parser::operator<<(), edm::operator<<(), cscdqm::LogCout::operator<<(), operator<<(), hitfit::operator<<(), cms::operator<<(), hcaldqm::flag::Flag::operator=(), hcaldqm::flag::Flag::operator==(), MSLayer::operator==(), SiPixelTemplateDBObject::Reader::operator>>(), SiPixelGenErrorDBObject::operator>>(), SiPixel2DTemplateDBObject::operator>>(), SiPixelTemplateDBObject::operator>>(), HGCRecHit::outOfTimeChi2(), edm::JobReport::outputFileClosed(), PhiSymmetryCalibration_step2_SM::outResidHistos(), PhiSymmetryCalibration_step2::outResidHistos(), npstat::BoxND< unsigned >::overlapFraction(), TIDLayer::overlapInR(), Phase2EndcapLayer::overlapInR(), pat::PackedCandidate::packTimeError(), pat::PackedCandidate::packTimeNoError(), pat::PackedCandidate::packTimeWithError(), pat::PackedCandidate::packVtx(), CSCFindPeakTime::parabolaFitTime(), GenParticlePruner::parse(), parse_jet_member_function(), parse_peak_member_function(), parseFFTJetScaleCalculator(), EcalTrigTowerConstituentsMapBuilder::parseTextMap(), StraightLinePlaneCrossing::pathLength(), PetrukhinFunc(), fastsim::MuonBremsstrahlung::PetrukhinFunc(), MahiFit::phase1Apply(), ThirdHitPredictionFromCircle::phi(), CSCSegAlgoSK::phiAtZ(), CSCSegAlgoTC::phiAtZ(), CSCSegAlgoRU::phiAtZ(), InnerDeltaPhi::phiRange(), SiPixelTemplateReco::PixelTempReco1D(), SiPixelTemplateReco2D::PixelTempReco2D(), SiPixelChargeReweightingAlgorithm::PixelTempRewgt2D(), SiPixelTemplateSplit::PixelTempSplit(), root::plot(), HIPplots::plotAlignableChiSquare(), HIPplots::plotAlignParams(), HIPplots::plotAlignParamsAtIter(), plotMaker(), TwoTrackMinimumDistance::pointsHelixHelix(), reco::exprEvalDetails::popenCPP(), FWRPZView::populateController(), FWTriggerTableView::populateController(), HelixBarrelPlaneCrossing2OrderLocal::positionOnly(), FWFFService::postBeginJob(), InputTagDistributorService::preModule(), VariableHelperService::preModule(), HGCalCLUEAlgoT< TILE >::prepareDataStructures(), TrackerOfflineValidation::prepareSummaryHists(), fireworks::prepareTrack(), funct::primitive(), fit::RootMinuitResultPrinter< CombinedChiSquaredLikelihood< ChiSquared, Likelihood > >::print(), fit::RootMinuitResultPrinter< HistoChiSquare< T > >::print(), fit::RootMinuitResultPrinter< HistoPoissonLikelihoodRatio< T > >::print(), edm::print(), fit::RootMinuitResultPrinter< MultiHistoChiSquare< T1, T2, T3, T4, T5, T6 > >::print(), cms::DDFilteredView::printFilter(), DeDxHitInfoProducer::processHit(), TimingSD::ProcessHits(), MultiTrackSelector::processMVA(), HIMultiTrackSelector::processMVA(), npstat::ArrayND< Num1, Len1, Dim1 >::processSubrange(), npstat::ArrayND< Num1, Len1, Dim1 >::processSubrangeLoop(), pps::RawDataUnpacker::processVFATDataParallel(), edm::ExpoRandomPGunProducer::produce(), L1HLTJetsMatching::produce(), PFJetsMatchedToFilteredCaloJetsProducer::produce(), GenTrackMatcher::produce(), MCTrackMatcher::produce(), FilteredLayerClustersProducer::produce(), JetCoreClusterSplitter::produce(), BeamSpotOnlineProducer::produce(), L3TkMuonProducer::produce(), MatchedProbeMaker< T >::produce(), TrackMVAClassifierBase::produce(), TrackTimeValueMapProducer::produce(), L1TMicroGMTInputProducer::produce(), TkMSParameterizationBuilder::produce(), GoodSeedProducer::produce(), GenParticleProducer::produce(), PhotonIDValueMapProducer::produce(), EcalTrivialConditionRetriever::produceEcalAlignmentEB(), EcalTrivialConditionRetriever::produceEcalAlignmentEE(), EcalTrivialConditionRetriever::produceEcalAlignmentES(), EcalTrivialConditionRetriever::produceEcalSamplesCorrelation(), perftools::EdmEventSize::produceHistos(), CTPPSTimingTrackRecognition< CTPPSDiamondLocalTrack, CTPPSDiamondRecHit >::producePartialTracks(), CTPPSDiamondTrackRecognition::produceTracks(), TkClonerImpl::project(), tauImpactParameter::ErrorMatrixPropagator::propagateError(), Geant4ePropagator::propagateGeneric(), AnalyticalPropagator::propagateParametersOnCylinder(), AnalyticalPropagator::propagateParametersOnPlane(), gen::PtYDistributor::PtYDistributor(), EcalUncalibRecHitRecAnalFitAlgo< EBDataFrame >::pulseShapeFunction(), cms::cuda::impl::ScopedContextHolderHelper::pushNextTask(), cms::cuda::ScopedContextAcquire::pushNextTask(), cms::cuda::ScopedContextTask::pushNextTask(), Histos::put(), SiPixelGenError::qbin(), SiPixelTemplate::qbin(), SiPixelTemplate::qbin_dist(), PixelRecoLineRZ::rAtZ(), edm::ValueMap< math::XYZTLorentzVector >::rawIndexOf(), hitfit::Defaults_Textrep::read_file(), TStorageFactoryFile::ReadBufferAsync(), CovarianceParameterization::readFile(), FWConfigurationManager::readFromFile(), reco::details::readGzipFile(), EcalFEtoDigi::readInput(), MuonResiduals6DOFrphiFitter::readNtuple(), MuonResiduals5DOFFitter::readNtuple(), MuonResiduals6DOFFitter::readNtuple(), TotemTransport::ReadParameterization(), PasswordReader::readPassword(), readSRF(), readTTF(), TkConvValidator::recalculateMomentumAtFittedVertex(), HcalSimpleRecAlgoImpl::recoHFTime(), HFSimpleTimeCheck::reconstruct(), MiniFloatConverter::reduceMantissaToNbits(), MiniFloatConverter::reduceMantissaToNbitsRounding(), AreaSeededTrackingRegionsBuilder::Builder::regionImpl(), CmsShowNavigator::removeFilter(), PFEGammaAlgo::removeOrLinkECALClustersToKFTracks(), edm::JobReport::reportDataType(), edm::JobReport::reportFastCopyingStatus(), ViewerParameterGUI::reset(), FWGeometryTableManagerBase::NodeInfo::resetBit(), CastorSimpleRecAlgo::resetTimeSamples(), EvolutionECAL::ResolutionConstantTermEM50GeV(), LA_Filler_Fitter::result(), reco::parser::AnyMethodArgumentFixup::retOk_(), edm::RootEmbeddedFileSequence::RootEmbeddedFileSequence(), fit::RootMinuit< Function >::RootMinuit(), LocalError::rotate(), LocalError::rotateCosSin(), PixelFitterByHelixProjections::run(), BTLElectronicsSim::run(), ETLElectronicsSim::run(), HGCHEbackDigitizer::runCaliceLikeDigitizer(), HGCHEbackDigitizer::runEmptyDigitizer(), SiStripDCSPopCon::runjob(), SiStripDAQPopCon::runjob(), HGCHEbackDigitizer::runRealisticDigitizer(), HGCFEElectronics< DFr >::runShaperWithToT(), HGCDigitizerBase< HGCalDataFrame >::runSimple(), HGCFEElectronics< DFr >::runSimpleShaper(), safe_atan2f(), TkHistoMap::saveAsCanvas(), npstat::ArrayND< Num1, Len1, Dim1 >::scanInPlace(), EcalClusterToolsT< noZS >::scLocalCovariances(), GroupedTrajCandLess::score(), muon::segmentCompatibility(), FWViewContextMenuHandlerGL::select(), reco::SelectInCollection< Object >::select(), reco::SelectIndecesInCollection< Object >::select(), MultiTrackSelector::select(), HIMultiTrackSelector::select(), siStripClusterTools::sensorThicknessInverse(), UniformMagneticField::set(), VariableHelperService::set(), external::HEPTopTaggerV2::set_optimalR_calc_fun(), FWGeometryTableManagerBase::NodeInfo::setBit(), FWGeometryTableManagerBase::NodeInfo::setBitVal(), TrackInformation::setCaloIDChecked(), MuMatchWindow::SetCentral(), HGCRecHit::setChi2(), CmsShowMainBase::setConfigFilename(), HcalItemCollById< HFPhase1PMTData >::setDefault(), EcalRecHit::setEnergyError(), CompositeTrajectoryFilter::setEvent(), UnbinnedLikelihoodFit::setFunction(), MuMatchWindow::SetLower(), PFECALSuperClusterAlgo::setMajorityFraction(), hcalCalib::SetMaxProbeJetEmFrac(), hcalCalib::SetMaxTagJetEmFrac(), HcalPulseShape::setNBin(), CastorPulseShapes::Shape::setNBin(), HGCRecHit::setOutOfTimeChi2(), HGCRecHit::setOutOfTimeEnergy(), PPSDiamondG4Hit::setPhiAtEntry(), FP420G4Hit::setPhiAtEntry(), TotemRPG4Hit::setPhiAtEntry(), BscG4Hit::setPhiAtEntry(), TotemG4Hit::setPhiAtEntry(), PPSPixelG4Hit::setPhiAtEntry(), BaseParticlePropagator::setPropagationConditions(), FWMET3DProxyBuilder::Arrow::setScale(), HcalPulseShape::setShapeBin(), CastorPulseShapes::Shape::setShapeBin(), HGCRecHit::setSignalOverSigmaNoise(), pat::Muon::setSimFlavour(), FWEveView::setupEnergyScale(), MuMatchWindow::SetUpper(), FW3DViewGeometry::showHGCalEE(), FW3DViewGeometry::showHGCalHSi(), sicif(), PhotonFix::sigmaEnergy(), SimHitPrinter::SimHitPrinter(), RPCSimHitMatcher::simHitsMeanStrip(), ME0SimHitMatcher::simHitsMeanStrip(), CSCSimHitMatcher::simHitsMeanStrip(), GEMSimHitMatcher::simHitsMeanStrip(), CSCSimHitMatcher::simHitsMeanWG(), DTSimHitMatcher::simHitsMeanWire(), SiPixelTemplate::simpletemplate2D(), sortNtupleByEvent(), XHistogram::splitSegment(), DD4hep_XHistogram::splitSegment(), funct::sqr(), FWFFLooper::startingNewLoop(), CDFRunInfo::store(), stringToNumber(), cscdqm::stringToNumber(), FWGUIManager::subviewIsBeingDestroyed(), MSLayersAtAngle::sum2RmRn(), MSLayersAtAngle::sumX0D(), MSLayer::sumX0D(), getPayloadData::supress_output(), FWGeometryTableManagerBase::NodeInfo::switchBit(), SiPixelTemplate::temperrors(), MinPtTrajectoryFilter::test(), FWGeometryTableManagerBase::NodeInfo::testBit(), FWGeometryTableManagerBase::NodeInfo::testBitAny(), StripSubClusterShapeFilterBase::testLastHit(), edm::EventSelector::testSelectionOverlap(), TkStripMeasurementDet::testStrips(), root::tf1(), root::tf1_t(), TFileAdaptor::TFileAdaptor(), CaloParticle::threeCharge(), SimCluster::threeCharge(), TrackingParticle::threeCharge(), timeout::timed_out(), timeout::TimedOutFn(), CTPPSTimingTrackRecognition< CTPPSDiamondLocalTrack, CTPPSDiamondRecHit >::timeEval(), TkHistoMap::TkHistoMap(), Traj2TrackHits::toChi2x5(), track_associator::trackAssociationChi2(), GlobalTrajectoryParameters::transverseCurvature(), funct::trapezoid_integral(), CalibrationAlgorithm::turnOn(), CalibrationScanAlgorithm::turnOn(), reco::typeCode(), PFEGammaAlgo::unlinkRefinableObjectKFandECALMatchedToHCAL(), PFEGammaAlgo::unlinkRefinableObjectKFandECALWithBadEoverP(), HcalUnpacker::unpack(), pat::PackedCandidate::unpack(), unsafe_acos(), unsafe_asin(), unsafe_expf_impl(), spu::Untar(), StraightTrackAlignment::updateDiagnosticHistograms(), edm::service::CondorStatusService::updateImpl(), LocalTrajectoryParameters::updateP(), MahiFit::updatePulseShape(), FWPFRhoPhiRecHit::updateScale(), DTGeometryValidate::validateDTLayerGeometry(), ME0GeometryValidate::validateME0EtaPartitionGeometry(), root::helper::RootVarsAdapter< F, 1 >::value(), GsfEleEffAreaPFIsoCut::value(), GsfEleRelPFIsoScaledCut::value(), GsfEleCalPFClusterIsoCut::value(), root::helper::RootVarsAdapter< F, 2 >::value(), JetPartonNamespace::ParametrizationJetParton::value(), SiPixelTemplate::vavilov2_pars(), SiPixelTemplate::vavilov_pars(), FWCaloRecHitDigitSetProxyBuilder::viewContextBoxScale(), FWPFCandidateWithHitsProxyBuilder::viewContextBoxScale(), VVIObjF::VVIObjF(), WatcherStreamFileReader::WatcherStreamFileReader(), sistrip::MeasureLA::write_report_text_ms(), writeABIOFileHeader(), writeABSRFFileHeader(), writeABTTFFileHeader(), edm::JobReport::JobReportImpl::writeInputFile(), edm::JobReport::JobReportImpl::writeOutputFile(), MSLayer::x0(), SiPixelTemplate::xflcorr(), geometryXMLparser.MuonGeometry::xml(), TkRadialStripTopology::xOfStrip(), SiPixelTemplate::xsigma2(), SiPixelTemplate2D::xysigma2(), SiPixelTemplate2D::xytemp(), SiPixelTemplate::yflcorr(), SiPixelTemplate::ysigma2(), cms::DDCMSDetElementCreator::~DDCMSDetElementCreator(), edm::service::InitRootHandlers::~InitRootHandlers(), and TestPythiaDecays::~TestPythiaDecays().

◆ g

double g[11][100]

Definition at line 79 of file MuScleFitUtils.cc.

◆ GL

TF1* GL
Initial value:
= new TF1(
"GL", "0.5/3.1415926*[0]/(pow(x-[1],2)+pow(0.5*[0],2))*exp(-0.5*pow((x-[2])/[3],2))/([3]*sqrt(6.283185))", 0, 1000)

Definition at line 83 of file MuScleFitUtils.cc.

Referenced by MuScleFitUtils::massProb(), and MuScleFitBase::readProbabilityDistributionsFromFile().

◆ GL2

TF2* GL2
Initial value:
= new TF2("GL2",
"0.5/3.1415926*[0]/(pow(x-[1],2)+pow(0.5*[0],2))*exp(-0.5*pow((x-y)/[2],2))/([2]*sqrt(6.283185))",
0,
200,
0,
200)

Definition at line 86 of file MuScleFitUtils.cc.

◆ isum

double isum

◆ mzsum

double mzsum

Definition at line 76 of file MuScleFitUtils.cc.

MuScleFitUtils::computeWeight
static double computeWeight(const double &mass, const int iev, const bool doUseBkgrWindow=false)
Definition: MuScleFitUtils.cc:1163
mps_merge.weight
weight
Definition: mps_merge.py:88
gather_cfg.cout
cout
Definition: gather_cfg.py:144
MuScleFitUtils::applyScale
static lorentzVector applyScale(const lorentzVector &muon, const std::vector< double > &parval, const int charge)
Definition: MuScleFitUtils.cc:465
MuScleFitUtils::likelihoodInLoop_
static TH1D * likelihoodInLoop_
Definition: MuScleFitUtils.h:184
tools.TF1
TF1
Definition: tools.py:23
MuScleFitUtils::normalizationChanged_
static unsigned int normalizationChanged_
Definition: MuScleFitUtils.h:245
MuScleFitUtils::normalizeLikelihoodByEventNumber_
static bool normalizeLikelihoodByEventNumber_
Definition: MuScleFitUtils.h:240
MuScleFitUtils::invDimuonMass
static double invDimuonMass(const lorentzVector &mu1, const lorentzVector &mu2)
Definition: MuScleFitUtils.cc:518
MuScleFitUtils::massResolution
static double massResolution(const lorentzVector &mu1, const lorentzVector &mu2)
tools.TF2
TF2
Definition: tools.py:24
MuScleFitUtils::debug
static int debug
Definition: MuScleFitUtils.h:130
lorentzVector
reco::Particle::LorentzVector lorentzVector
Definition: GenMuonPair.h:9
MuScleFitUtils::iev_
static int iev_
Definition: MuScleFitUtils.h:253
MuScleFitUtils::SavedPair
static std::vector< std::pair< lorentzVector, lorentzVector > > SavedPair
Definition: MuScleFitUtils.h:231
Max
T Max(T a, T b)
Definition: MathUtil.h:44
MuScleFitUtils::rminPtr_
static TMinuit * rminPtr_
Definition: MuScleFitUtils.h:242
MuScleFitUtils::oldNormalization_
static double oldNormalization_
Definition: MuScleFitUtils.h:244
MuScleFitUtils::minuitLoop_
static int minuitLoop_
Definition: MuScleFitUtils.h:183
genVertex_cff.x
x
Definition: genVertex_cff.py:12
EgHLTOffHistBins_cfi.mass
mass
Definition: EgHLTOffHistBins_cfi.py:34
BeamSpotPI::Y
Definition: BeamSpotPayloadInspectorHelper.h:31
MuScleFitUtils::doScaleFit
static std::vector< int > doScaleFit
Definition: MuScleFitUtils.h:179
dqm-mbProfile.log
log
Definition: dqm-mbProfile.py:17
Pi
const double Pi
Definition: CosmicMuonParameters.h:18
MuScleFitUtils::loopCounter
static unsigned int loopCounter
Definition: MuScleFitUtils.h:145
JetChargeProducer_cfi.exp
exp
Definition: JetChargeProducer_cfi.py:6
TtFullHadEvtBuilder_cfi.prob
prob
Definition: TtFullHadEvtBuilder_cfi.py:33
weight
Definition: weight.py:1
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37
MuScleFitUtils::massProb
static double massProb(const double &mass, const double &rapidity, const int ires, const double &massResol)
Definition: MuScleFitUtils.cc:2208
MuScleFitUtils::ReducedSavedPair
static std::vector< std::pair< lorentzVector, lorentzVector > > ReducedSavedPair
Definition: MuScleFitUtils.h:232