CMS 3D CMS Logo

Functions | Variables
MathUtil.h File Reference
#include <iostream>
#include <cmath>
#include <Rtypes.h>

Go to the source code of this file.

Functions

template<class T >
T Abs (T a)
 
template<class T >
T Max (T a, T b)
 
template<class T >
T max (T a, T b)
 
template<class T >
T Min (T a, T b)
 
template<class T >
T min (T a, T b)
 
template<class T >
T Sign (T A, T B)
 
template<class T >
void Swap (T &a, T &b)
 
template<class T >
void SwapObj (T *a, T *b)
 

Variables

const double fermi = 1.
 
const double GeV = 1.
 
const double hbarc = 0.197 * GeV * fermi
 
const double N_INFINITY = 9.0E99
 
const double N_PI = 3.14159265359
 
const double N_SMALL = 1.E-10
 

Function Documentation

◆ Abs()

template<class T >
T Abs ( T  a)
inline

Definition at line 49 of file MathUtil.h.

49  {
50  return (a > 0) ? a : -a;
51 }

References a.

Referenced by FWCaloDataHistProxyBuilder::addEntryToTEveCaloData(), FWOverlapTableManager::addOverlapEntry(), BeamHaloAnalyzer::analyze(), BesselI0(), BesselI1(), FWConvTrackHitsDetailView::build(), FWMET3DProxyBuilder::build(), FWMETProxyBuilder::buildViewType(), MEzCalculator::Calculate(), EcalHaloAlgo::Calculate(), GlobalHaloAlgo::Calculate(), ApeEstimatorSummary::calculateApe(), SiStripBadAPVAlgorithmFromClusterOccupancy::CalculateMeanAndRMS(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::CalculateMeanAndRMS(), NAStrangePotential::CalculateStrangePotential(), MillePedeAlignmentAlgorithm::callMille2D(), reco::modules::TrackerTrackHitFilter::checkHitAngle(), EventShapeVariables::circularity(), TrackerGeometryCompare::compareSurfaceDeformations(), compareTracklets(), TEveEllipsoid::ComputeBBox(), TEveEllipsoidProjected::ComputeBBox(), PedeSteererWeakModeConstraints::constructConstraints(), TKinFitter::converged(), JetIDSelectionFunctor::craft08Cuts(), CosmicGenFilterHelix::createHistsEnd(), Decay(), PFRecoTauDiscriminationByIsolationMVA2::discriminate(), AntiElectronIDCut2::Discriminator(), IntegralOverPhiFunction::DoEval(), IntegrandThetaFunction::DoEval(), SiPixelGainCalibrationAnalysis::doFits(), TEveEllipsoidProjectedGL::DrawRhoPhi(), TEveEllipsoidProjectedGL::DrawRhoZ(), TEveEllipsoidProjectedGL::drawRhoZAxis(), HOCalibAnalyzer::endJob(), metsig::SignAlgoResolutions::evalPFJet(), GenSpecificAlgo::fillCommonMETData(), MillePedeMonitor::fillDerivatives(), QcdLowPtDQM::filldNdeta(), MillePedeMonitor::fillFrameToFrame(), MillePedeMonitor::fillRefTrajectory(), MillePedeMonitor::fillResiduals(), QcdLowPtDQM::fillTracklets(), PythiaDauVFilterMatchID::filter(), fnc_dscb(), fnc_gaussalpha(), fnc_gaussalpha1alpha2(), JetIDSelectionFunctor::fwd09Cuts(), gen::Hydjet2Hadronizer::generatePartonsAndHadronize(), PedeSteererWeakModeConstraints::getCoefficient(), HIPixelClusterVtxProducer::getContainedHits(), pat::PATMHTProducer::getElectrons(), PFEnergyResolution::getEnergyResolutionEm(), TKinFitter::getF(), FWMagField::GetField(), pat::PATMHTProducer::getJets(), FWMagField::GetMaxFieldMag(), pat::PATMHTProducer::getMuons(), PFResolutionMap::getRes(), getTheElectron(), getTheMuon(), reco::helper::JetIDHelper::HBHE_oddness(), FWEveViewManager::highlightAdded(), gen::Hydjet2Hadronizer::initializeForInternalPartons(), PFResolutionMap::IsInAPhiCrack(), EventShapeVariables::isotropy(), FWHistSliceSelector::matchCell(), PFIsolationEstimator::matchPFObject(), BPHMonitor::matchToTrigger(), PFResolutionMap::minimum(), GenSpecificAlgo::mkSpecificGenMETData(), LHCOpticsApproximator::ParameterOutOfRangePenalty(), passesElectronId(), passesElectronPreId(), TMultiDimFet::Print(), TMultiDimFet::PrintPolynomialsSpecial(), DTTrigPhase2Prod::processDigi(), Type0PFMETcorrInputProducer::produce(), CastorTowerProducer::produce(), HIPAlignmentAlgorithm::run(), TKinFitter::setMaxDeltaS(), TKinFitter::setMaxF(), TopologyWorker::setPartList(), TEcnaResultType::SetSizeHis(), TEcnaResultType::SetSizeMat(), Sign(), TopologyWorker::sign(), QcdLowPtDQM::trackletVertexUnbinned(), TopologyWorker::ulAngle(), QcdLowPtDQM::vertexZFromClusters(), and TMultiDimFet::ZeroDoubiousCoefficients().

◆ Max()

template<class T >
T Max ( T  a,
T  b 
)
inline

Definition at line 44 of file MathUtil.h.

44  {
45  return (a > b) ? a : b;
46 }

References a, and b.

Referenced by FWItemValueGetter::addEntry(), DQMSourceEleCalib::analyze(), TrackerHitAnalyzer::analyze(), EcalPerEvtLaserAnalyzer::analyze(), EcalABAnalyzer::analyze(), EcalTestPulseAnalyzer::analyze(), TriggerMatchMonitor::analyze(), EcalLaserAnalyzer2::analyze(), EcalLaserAnalyzer::analyze(), TAPDPulse::arePulseRatioOK(), L1THIonImp::bookHistograms(), FWECALCaloDataDetailViewBuilder::buildCaloData(), reco::helper::JetIDHelper::calculate(), FWInvMassDialog::Calculate(), TEveEllipsoid::ComputeBBox(), TEveEllipsoidProjected::ComputeBBox(), PFRecoTauDiscriminationByIsolationMVA2::discriminate(), IntegralOverPhiFunction::DoEval(), TEveEllipsoidProjectedGL::DrawRhoZ(), InvRingCalib::duringLoop(), EcalEleCalibLooper::duringLoop(), TauDQMHistPlotter::endRun(), FWTEventList::Enter(), TrackerHitProducer::fillG4MC(), MatrixFillMap::fillMap(), ClusterFillMap::fillMap(), FWHFTowerProxyBuilderBase::fillTowerForDetId(), FWHGTowerProxyBuilderBase::fillTowerForDetId(), PFJetDQMPostProcessor::fitResponse(), JetIDSelectionFunctor::fwd09Cuts(), CMSCGEN::generate(), FWCompactVerticalLayout::GetDefaultSize(), FWMagField::GetMaxFieldMag(), GetMPV(), FWGeometryTableViewBase::getTopNodeIdx(), GenXSecAnalyzer::globalEndRun(), CmsAnnotation::Handle(), EGammaMvaEleEstimator::IDIsoCombinedMvaValue(), EGammaMvaEleEstimator::isoMvaValue(), TAPDPulse::isPulseRatioMaxOK(), FWCompactVerticalLayout::Layout(), lorentzianPeak(), TMultiDimFet::MakeChi2(), TMultiDimFet::MakeCoefficientErrors(), TMultiDimFet::MakeParameterization(), TopologyWorker::planes_sphe(), TopologyWorker::planes_sphe_wei(), FWGeometryTableManager::recalculateVisibility(), TopologyWorker::sanda(), SiStripMonitorDigi::SiStripMonitorDigi(), FW3DViewBase::updateClipPlanes(), fireworks::Context::voteMaxEtAndEnergy(), FWGeoTopNode::wrapTransparency(), and L1TOccupancyClient::xySymmetry().

◆ max()

template<class T >
T max ( T  a,
T  b 
)
inline

Definition at line 63 of file MathUtil.h.

63  {
64  return (a > b) ? a : b;
65 }

References a, and b.

◆ Min()

template<class T >
T Min ( T  a,
T  b 
)
inline

◆ min()

template<class T >
T min ( T  a,
T  b 
)
inline

Definition at line 58 of file MathUtil.h.

58  {
59  return (a < b) ? a : b;
60 }

References a, and b.

Referenced by gpuPixelRecHits::__attribute__(), gpuVertexFinder::__attribute__(), InefficientDoubleROC.InefficientDeadROCs::__determineBarrelDColInefficiencyAndNoise(), InefficientDoubleROC.InefficientDeadROCs::__getPixelArrWithRemovedDrops(), dataset.Dataset::__lumiSelectionSnippet(), InefficientDoubleROC.InefficientDeadROCs::__normalizeArray(), plotting::_findBounds(), plotting::_findBoundsY(), plotting::_getXmin(), plotting::_getYmin(), TPTask::_process(), LaserTask::_process(), SiStripAPVRestorer::abnormalBaselineInspect(), MTDClusterizerBase::AccretionCluster::add(), SiPixelCluster::add(), TMom::addEntry(), GeometryInterface::addExtractor(), FWDialogBuilder::addNumberEntry(), fit::RootMinuit< Function >::addParameter(), SideBandSubtract::addSideBandRegion(), SideBandSubtract::addSignalRegion(), SiStripThreshold::addToStat(), algorithm(), L1GlobalTriggerObjectMaps::AlgorithmResult::AlgorithmResult(), almost_equal(), angle_units::operators::almostEqual(), FedTimingAlgorithm::analyse(), ApvTimingAlgorithm::analyse(), PedsFullNoiseAlgorithm::analyse(), OptoScanAlgorithm::analyse(), l1tVertexFinder::AnalysisSettings::AnalysisSettings(), L1TStage2EMTF::analyze(), GEMRecHitSource::analyze(), RECOVertex::analyze(), GEMEfficiencyAnalyzer::analyze(), GEMDigiSource::analyze(), L1TObjectsTiming::analyze(), BasicGenParticleValidation::analyze(), ValidationMisalignedTracker::analyze(), L1TStage2uGTTiming::analyze(), L1TRPCTF::analyze(), DTLocalTriggerLutTask::analyze(), PrimaryVertexValidation::analyze(), DTDigiTask::analyze(), SiStripTrackingRecHitsValid::analyze(), HcalTriggerPrimitiveAlgo::analyzeHF2016(), HcalTriggerPrimitiveAlgo::analyzeHFQIE10(), approx_erf(), approx_expf(), FWProxyBuilderConfiguration::assertParam(), cms::cudacompat::atomicMin(), objects.LeptonAnalyzer.LeptonAnalyzer::attachIsoAnnulus04(), objects.LeptonAnalyzer.LeptonAnalyzer::attachMiniIsolation(), badGlobalMuonTaggerFWLite.BadGlobalMuonTagger::badMuons(), CSCSegAlgoRU::baseline(), edm::RootOutputFile::beginInputFile(), PeriodicBinFinderInPhi< float >::binIndex(), PeriodicBinFinderInZ< float >::binIndex(), GeneralBinFinderInR< T >::binIndex(), RBorderFinder::binIndex(), GeneralBinFinderInZforGeometricSearchDet< float >::binIndex(), GenericBinFinderInZ< float, GeomDet >::binIndex(), MagBinFinders::GeneralBinFinderInR< double >::binIndex(), MagBinFinders::GeneralBinFinderInZ< double >::binIndex(), GctFormatTranslateV38::blockToGctEmCandsAndEnergySums(), GctFormatTranslateV38::blockToGctJetCandsAndCounts(), MaterialBudgetForward::book(), HistogramManager::book(), HcalDigisClient::book1D(), HcalDigisValidation::book1D(), DTTriggerEfficiencyTask::bookChamberHistos(), DTRunConditionVar::bookChamberHistos(), DTLocalTriggerEfficiencyTest::bookChambHistos(), DTLocalTriggerSynchTest::bookChambHistos(), dqmoffline::l1t::L1TDiffHarvesting::L1TDiffPlotHandler::bookDiff(), HLTExoticaPlotter::bookHist(), HLTHiggsPlotter::bookHist(), HLTHiggsSubAnalysis::bookHist(), HLTMuonPlotter::bookHist(), HLTExoticaSubAnalysis::bookHist(), PhotonOfflineClient::bookHisto(), PhotonAnalyzer::bookHisto(), RPCMonitorDigi::bookHistograms(), ECALpedestalPCLworker::bookHistograms(), PrimaryVertexAnalyzer4PUSlimmed::bookHistograms(), DTLocalTriggerSynchTask::bookHistos(), DTLocalTriggerTask::bookHistos(), tadqm::TrackAnalyzer::bookHistosForEfficiencyFromHitPatter(), TriggerDQMBase::bookME(), DTRunConditionVarClient::bookWheelHistos(), GEMBaseValidation::bookZROccupancy(), btagbtvdeep::bTagToFeatures(), RPCGeometryBuilderFromCondDB::build(), FWCaloClusterProxyBuilder::build(), FWDoubleParameterSetter::build(), FWLongParameterSetter::build(), RPCGeometryBuilder::buildGeometry(), magneticfield::eLayer::buildMagELayer(), PPSAlignmentHarvester::buildModeGraph(), L1GlobalCaloTrigger::bxSetup(), LocalCacheFile::cache(), L1METPFProducer::CalcMetHLS(), LRHelpFunctions::calcPtdrLRval(), SiPixelDigitizerAlgorithm::calcQ(), tmtt::Stub::calcQoverPtrange(), l1t::MicroGMTIsolationUnit::calculate5by5Sum(), PtAssignmentEngine2016::calculate_address(), Cluster3DPCACalculator::calculateAndSetPositionActual(), ticl::PatternRecognitionbyCLUE3D< TILES >::calculateDistanceToHigher(), PFEGammaAlgo::calculateEleMVA(), ticl::PatternRecognitionbyCLUE3D< TILES >::calculateLocalDensity(), HiPuRhoProducer::calculatePedestal(), barrelUtil::calculatePhiWindow(), tkDetUtil::calculatePhiWindow(), AlignmentPI::calculatePosition(), CSCXonStrip_MatchGatti::calculateXonStripError(), CSCXonStrip_MatchGatti::calculateXonStripPosition(), condbon::cdbon_write(), HGCalDDDConstants::cellHex(), BoostedJetONNXJetTagsProducer::center_norm_pad(), RectangularStripTopology::channel(), GEMStripTopology::channel(), TrapezoidalStripTopology::channel(), CSCRadialStripTopology::channel(), TkRadialStripTopology::channel(), SimpleCosmicBONSeeder::checkNoisyModules(), checkPhiInRange(), RectangularEtaPhiTrackingRegion::checkRZOld(), StraightLineCylinderCrossing::chooseSolution(), SpikeAndDoubleSpikeCleaner::clean(), TrajectoryCleanerBySharedHits::clean(), TrackCleaner::cleanTracks(), PixelTrackCleanerBySharedHits::cleanTracks(), clip(), Grid1D::closestNode(), PixelCPEGenericBase::collect_edge_charges(), CSCStripElectronicsSim::comparatorReading(), HltDiff::compare(), funct::Convolution< A, B, Integrator >::compose(), EgammaTowerIsolationNew< NC >::compute(), calo::multifit::compute_decomposition_forwardsubst_with_offsets(), svgfig.Ticks::compute_logticks(), svgfig.Ticks::compute_miniticks(), EcalDccWeightBuilder::computeAllWeights(), ForwardDiskSectorBuilderFromWedges::computeBounds(), ForwardDiskSectorBuilderFromDet::computeBounds(), ForwardRingDiskBuilderFromDet::computeBounds(), CMSmplIonisationWithDeltaModel::ComputeCrossSectionPerElectron(), CMSmplIonisationWithDeltaModel::ComputeDEDXPerVolume(), TIDLayer::computeDisk(), Phase2EndcapLayer::computeDisk(), PileupJetIdAlgo::computeIdVariables(), MVAJetPuId::computeIdVariables(), l1tpf_impl::PuppiAlgo::computePuppiAlphas(), l1tpf_impl::PuppiAlgo::computePuppiMedRMS(), Phase1PixelBlade::computeRadiusRanges(), BarrelDetLayer::computeSurface(), ForwardDetLayer::computeSurface(), MTDSectorForwardDoubleLayer::computeSurface(), MTDRingForwardDoubleLayer::computeSurface(), MuRingForwardDoubleLayer::computeSurface(), EcalTPGParamBuilder::computeWeights(), DDHGCalGeom::constructLayers(), DDHGCalHEAlgo::constructLayers(), DDHGCalHEFileAlgo::constructLayers(), DDHGCalMixLayer::constructLayers(), funct::conv(), GlobalVariablesTableProducer::Max< ColType, ValType >::convert(), tmtt::HTbase::convertCoordRangeToBinRange(), Phase2TrackerDigitizerAlgorithm::convertSignalToAdc(), funct::ConvolutionStruct< A, B, Integrator >::ConvolutionStruct(), HcalPulseShapes::convolve(), EGEnergyCorrector::CorrectedEnergyWithErrorV3(), GsfBetheHeitlerUpdator::correctedFirstMean(), l1tpf::corrector::correctedPt(), PFClusterEMEnergyCorrector::correctEnergies(), EnergyScaleCorrection::CorrectionCategory::CorrectionCategory(), SamplingAlgorithm::correctProfile(), PFAlgo::createCandidatesHCAL(), LaserSorter::createOutStream(), CTPPSPixelCluster::CTPPSPixelCluster(), CUDAService::CUDAService(), GaussianSumUtilities1D::d1LnPdf(), GaussianSumUtilities1D::d2LnPdf(), Qjets::d_ij(), DateHandler::dateToTm(), LaserSorter::dcc2Lme(), BTagLikeDeDxDiscriminator::dedx(), AlphaTVarProducer::deltaHt(), TauDiscriminationAgainstElectronMVA6< TauType, TauDiscriminator, ElectronType >::discriminate(), reco::tau::PFRecoTauDiscriminationByMVAIsolationRun2::discriminate(), PFRecoTauDiscriminationByIsolation::discriminate(), PFRecoTauDiscriminationByIsolationContainer::discriminate(), trklet::Tracklet::disk(), python.rootplot.core::display_bin_text(), HGCalDDDConstants::distFromEdgeTrap(), CSCSkim::doLongSATrack(), IsoValueMapProducer< T >::doMiniIso(), CSCStripElectronicsSim::doSaturation(), SideBandSubtract::doSubtraction(), l1tpf_impl::PUAlgoBase::doVertexing(), EmissionVetoHook1::doVetoFSREmission(), SiPixelCertification::dqmEndJob(), RPCRecHitValidClient::dqmEndJob(), DTCertificationSummary::dqmEndJob(), DTRunConditionVarClient::dqmEndJob(), SiPixelCertification::dqmEndLuminosityBlock(), OnlineBeamMonitor::dqmEndRun(), AlcaBeamMonitor::dqmEndRun(), Comparator::Draw(), DrawEB(), DrawEE(), Tutils::drawGFit(), PixelROCMapHelper::dress_plot(), ClusterizingHistogram::dump(), btagbtvdeep::dump_vector(), VVIObjFDetails::dzero(), VVIObjDetails::dzero(), sistripvvi::VVIObjDetails::dzero(), EcalMonitorPrescaler::EcalMonitorPrescaler(), AlcaBeamMonitorClient::endRun(), PFEnergyCalibration::energyEmHad(), pixelCPEforGPU::errorFromDB(), GSUtilities::errorMode(), RectangularEtaPhiTrackingRegion::estimator(), EtaMultiRangeCut::EtaMultiRangeCut(), SimHitsValidationHcal::etaRange::etaRange(), GflashShowino::evaluateLengths(), HcalTopology::exclude(), trklet::PurgeDuplicate::execute(), sistrip::SpyUtilities::extractFrameInfo(), external::HEPTopTaggerV2_fixed_R::f_rec(), FullModelReactionDynamics::Factorial(), DAClusterizerInZ_vect::fill(), DAClusterizerInZT_vect::fill(), cond::payloadInspector::TimeHistoryPlot< PayloadType, std::pair< double, double > >::fill(), HGVHistoProducerAlgo::fill_caloparticle_histos(), core.autovars.NTupleCollection::fillBranchesScalar(), core.autovars.NTupleCollection::fillBranchesVector(), HcalTB04Analysis::fillBuffer(), DMRChecker::fillByIndex(), HLTMuonMatchAndPlot::fillEdges(), TriggerSummaryProducerAOD::fillFilterObjectMembers(), MuonShowerInformationFiller::fillHitsByStation(), reco::tau::fillIsoMVARun2Inputs(), HcalTB04Histo::fillLongProf(), PixelCPEFast::fillParamsForGpu(), FastTimerServiceClient::fillPathSummaryPlots(), MuonTrackValidatorBase::fillPlotNoFlow(), SiStripQualityChecker::fillSubDetStatus(), ThroughputServiceClient::fillSummaryPlots(), ExtractAppInfoFromXML::fillTable(), LRHelpFunctions::fillToSignalCorrelation(), HcalTB04Histo::fillTrnsProf(), tmtt::TP::fillUse(), dqmoffline::l1t::fillWithinLimits(), BadGlobalMuonTagger::filter(), ProbeTreeProducer::filter(), L1TComparisonResultFilter< T >::filter(), JetVertexChecker::filter(), CSCDigiValidator::filter(), RPCNoise::filter(), L1TGlobalPrescaler::filter(), LA_Filler_Fitter::find_rebin(), ThirdHitPrediction::findArcIntersection(), PFBlockAlgo::findBlocks(), SiPixelPI::findMinMaxInMap(), GaussianSumUtilities1D::findMode(), ThirdHitPrediction::findRectangle(), SymmetryFit::findUsableMinMax(), tauImpactParameter::Chi2VertexFitter::fit(), reco::PositiveSideGhostTrackFitter::fit(), emtf::Huber::fit(), LA_Filler_Fitter::fit_width_profile(), SplitVertexResolution::fitResiduals(), CaloRecHit::flagField(), for(), gpuPixelDoublets::for(), EcalSelectiveReadoutValidation::frame2Energy(), FTLCluster::FTLCluster(), FWExpressionValidator::FWExpressionValidator(), FullModelReactionDynamics::GenerateNBodyEvent(), Pythia8Hadronizer::generatePartonsAndHadronize(), FullModelReactionDynamics::GenerateXandPt(), tkMSParameterization::FromToData::get(), PtAssignmentEngineAux2017::get8bMode15(), CustomParticleFactory::getAntiDecayTable(), l1t::BxBlockHeader::getBx(), l1t::getBXRange(), egamma::getClosestCtfToGsf(), RPCSimAverage::getClSize(), RPCSimAverageNoise::getClSize(), RPCSimModelTiming::getClSize(), RPCSimAverageNoiseEff::getClSize(), RPCSimAverageNoiseEffCls::getClSize(), RPCSimAsymmetricCls::getClSize(), sistrip::SpyEventMatcher::getCollections(), StubPtConsistency::getConsistency(), TrajSeedMatcher::MatchingCutsV2::getCutValue(), FSQHLTOfflineSource_cfi::getDoublePFJet(), ZdcSD::getEnergyDeposit(), CastorSD::getEnergyDeposit(), dqmoffline::l1t::getFillValueWithinLimits(), EcalSelectiveReadoutValidation::getFIRWeights(), EcalSelectiveReadoutSuppressor::getFIRWeigths(), CTPPSTimingTrackRecognition< CTPPSDiamondLocalTrack, CTPPSDiamondRecHit >::getHitSpatialRange(), pat::PATIsolatedTrackProducer::getIsolation(), CastorShowerLibraryMaker::GetKinematics(), reco::tau::RecoTauVertexAssociator::getLeadCand(), TMom::getMin(), heppy::BTagSF::getMistag(), popcon::EcalPedestalsHandler::getNewObjectsP5(), LMFLmrSubIOV::getParameters(), TMom::getPeak(), fireworks::getPhiRange(), DPFIsolation::getPredictions(), L1PrefiringWeightProducer::getPrefiringRateEcal(), L1PrefiringWeightProducer::getPrefiringRateMuon(), FSQHLTOfflineSource_cfi::getPTAveVPSet(), ThirdHitPrediction::getRanges(), PrimaryVertexAnalyzer4PUSlimmed::getRecoPVs(), heppy::BTagSF::getSFl(), PrimaryVertexAnalyzer4PUSlimmed::getSimPVs(), FSQHLTOfflineSource_cfi::getSinglePFJet(), PPSAlignmentHarvester::getTH1DFromTGraphErrors(), PtAssignmentEngineAux2017::getTheta(), HcalDDDRecConstants::getThickActive(), HcalTB02HcalNumberingScheme::getUnitID(), trklet::TrackletLUT::getVMRLookup(), HFGflash::gfParameterization(), GlobalDetRodRangeZPhi::GlobalDetRodRangeZPhi(), CachingSeedCleanerBySharedInput::good(), GsfEleSCEtaMultiRangeCut::GsfEleSCEtaMultiRangeCut(), Pythia8Hadronizer::hadronize(), dqmiodatasetharvest::harvestfile(), dqmiolumiharvest::harvestfile(), HGCalHEAlgo::HGCalHEAlgo(), HGCalHEFileAlgo::HGCalHEFileAlgo(), HGCalMixLayer::HGCalMixLayer(), HGCalSiliconModule::HGCalSiliconModule(), overlapValidationPlot::hist(), ApvTimingHistograms::histoAnalysis(), FedTimingHistograms::histoAnalysis(), npstat::HistoND< Numeric, Axis >::HistoND(), PixelTripletLargeTipGenerator::hitTriplets(), PixelTripletHLTGenerator::hitTriplets(), HLTDiMuonGlbTrkFilter::hltFilter(), EGammaMvaEleEstimator::IDIsoCombinedMvaValue(), SiPixelCPEGenericDBErrorParametrization::index(), Grid1D::index(), EcalPulseSymmCovariance::indexFor(), SiTrivialInduceChargeOnStrips::induceOriginal(), SiTrivialInduceChargeOnStrips::induceVector(), reco::MustacheKernel::inDynamicDPhiWindow(), TMom::init(), ThirdHitPredictionFromInvParabola::init(), SiPixelDigitizerAlgorithm::PixelEfficiencies::init_from_db(), EcalSelectiveReadoutSuppressor::initCellThresholds(), CMSmplIonisation::InitialiseEnergyLossProcess(), HBHERecalibration::initialize(), DDHGCalMixLayer::initialize(), ExpressionHisto< T >::initialize(), DDHGCalSiliconModule::initialize(), reco::MustacheKernel::inMustache(), BeautifulSoup.PageElement::insert(), tmtt::Sector::insidePhi(), funct::integral(), funct::integral_f(), EcalSelectiveReadoutSuppressor::internalThreshold(), DeepTauId::isAbove(), DTHitPairForFit::isCompatible(), PFMuonAlgo::isGlobalLooseMuon(), PFMuonAlgo::isGlobalTightMuon(), L1MuGMTMatrix< bool >::isMin(), TangentCircle::isTangent(), npstat::LinInterpolatedTableND< Numeric, Axis >::isWithinLimits(), reco::TrackProbabilityTagInfo::jetProbability(), TemplatedJetProbabilityComputer< Container, Base >::jetProbability(), TemplatedJetBProbabilityComputer< Container, Base >::jetProbability(), trklet::Tracklet::layer(), PFBlockAlgo::link(), l1tpf_impl::PFAlgo2HGC::linkedcalo_algo(), l1tpf_impl::PFAlgo3::linkedcalo_algo(), SimpleNavigationSchool::linkOuterGroup(), GaussianSumUtilities1D::lnPdf(), TkAlMap.TkAlMap::load_geometry(), HGCalGeomParameters::loadCellTrapezoid(), HcalGeomParameters::loadGeometry(), HGCalGeomParameters::loadGeometryHexagon8(), CaloTPGTranscoderULUT::loadHCALCompress(), GEMStripTopology::localPitch(), CSCRadialStripTopology::localPitch(), PixelCPEClusterRepair::localPosition(), PixelCPETemplateReco::localPosition(), HGCalDDDConstants::locateCellTrap(), GflashHadronShowerProfile::locateHitPosition(), npstat::ArrayRange::lowerLimits(), SimpleHBHEPhase1Algo::m0Time(), main(), heppy_loop::main(), RPixDetClusterizer::make_cluster(), MTDThresholdClusterizer::make_cluster(), PixelThresholdClusterizer::make_cluster(), SiPixelDigitizerAlgorithm::make_digis(), DeepFlavourONNXJetTagsProducer::make_inputs(), DeepCombinedONNXJetTagsProducer::make_inputs(), DeepVertexONNXJetTagsProducer::make_inputs(), DeepDoubleXONNXJetTagsProducer::make_inputs(), HGCGraphT< TILES >::makeAndConnectDoublets(), MultiClusterAssociatorByEnergyScoreImpl::makeConnections(), generateEDF::makeEDFplot(), PVValHelper::makeLogBins(), MuIsoValidation::MakeLogBinsForProfile(), EcalUncalibRecHitMaxSampleAlgo< EBDataFrame >::makeRecHit(), CSCHitFromStripOnly::makeStripData(), ticl::PatternRecognitionbyCA< TILES >::makeTracksters(), cmsTiming_parser::manipulate_log(), MergeOccDeadROC::maskBPixROC(), MergePCLDeadROC::maskBPixROC(), MergePCLFedErr::maskBPixROC(), PCLOthers::maskBPixROC(), MergePCLDeadROC::maskFPixROC(), PCLOthers::maskFPixROC(), MergeOccDeadROC::maskFPixROC(), MergePCLFedErr::maskFPixROC(), btag::Matching< Delta >::match(), TrackingNtuple::matchCluster(), objects.LeptonAnalyzer.LeptonAnalyzer::matchLeptons(), objects.LeptonAnalyzer.LeptonAnalyzer::matchToPhotons(), AlignmentGlobalTrackSelector::matchTracks(), maxDiff(), Chi2MeasurementEstimatorBase::maximalLocalDisplacement(), GflashHadronShowerProfile::medianLateralArm(), tmtt::HTrphi::mergedCell(), cms::cuda::allocator::minCachedBytes(), TrackerInteractionGeometry::minDim(), ntuplePrintersDiff._TrackAssociation::minEta(), pat::miniIsoDr(), FlatEvtVtxGenerator::minX(), FlatEvtVtxGenerator::minY(), FlatEvtVtxGenerator::minZ(), EGRegressionModifierV3::modifyObject(), FWEventItem::moveToFront(), FWEventItem::moveToLayer(), MTDRingForwardLayer::MTDRingForwardLayer(), MTDSectorForwardLayer::MTDSectorForwardLayer(), brokenline::multScatt(), MuRingForwardLayer::MuRingForwardLayer(), AntiElectronIDMVA6< TauType, ElectronType >::mvaValue(), AntiElectronIDMVA6< TauType, ElectronType >::mvaValuePhase2(), GEMStripTopology::nearestStrip(), CSCRadialStripTopology::nearestStrip(), TkRadialStripTopology::nearestStrip(), L1CaloHcalScaleConfigOnlineProd::newObject(), fastsim::HelixTrajectory::nextCrossingTimeC(), CosmicMuonGenerator::nextMultiEvent(), PulseChiSqSNNLS::NNLS(), MahiFit::nnls(), FullModelReactionDynamics::NuclearReaction(), edm::eventsetup::NumberOfConcurrentIOVs::numberOfConcurrentIOVs(), tauImpactParameter::MultiProngTauSolver::numericalESolver(), RK4PreciseStep::operator()(), funct::IntegralStruct< F, X >::operator()(), funct::IntegralStruct< F >::operator()(), CylinderBuilderFromDet::operator()(), funct::TrapezoidIntegrator::operator()(), funct::NumericalIntegral< Integrator, F, X >::operator()(), funct::GaussLegendreIntegrator::operator()(), funct::NumericalIntegral< Integrator, F, no_var >::operator()(), reco::parser::min_f::operator()(), reco::tau::PFRecoTauChargedHadronFromGenericTrackPlugin< TrackClass >::operator()(), npstat::LinInterpolatedTableND< Numeric, Axis >::operator()(), edm::operator<<(), HGCal3DClustering::organizeByLayer(), l1t::stage1::EtSumPacker::pack(), l1t::stage1::MissEtPacker::pack(), l1t::stage1::MissHtPacker::pack(), l1t::stage2::CaloTowerPacker::pack(), l1t::stage1::CaloSpareHFPacker::pack(), l1t::stage1::HFRingPacker::pack(), l1t::stage2::JetPacker::pack(), l1t::stage2::EtSumPacker::pack(), l1t::stage2::EGammaPacker::pack(), l1t::stage2::TauPacker::pack(), CastorCORData::pack(), pixelgpudetails::pack(), FTLCluster::packCol(), SiPixelCluster::packCol(), FTLCluster::packRow(), SiPixelCluster::packRow(), pat::PackedCandidate::packTimeError(), pat::PackedCandidate::packTimeNoError(), GflashEMShowerProfile::parameterization(), python.rootplot.core::parse_legend_root(), python.rootplot.core::parse_range(), l1t::PFTau::passLooseNN(), l1t::PFTau::passTightNN(), python.rootplot.rootmath::pathdiff3(), HelixForwardPlaneCrossing::pathLength(), CmsTrackerPhase1DiskBuilder< FilteredView >::PhiPosNegSplit_innerOuter(), CmsTrackerPhase2TPDiskBuilder< FilteredView >::PhiPosNegSplit_innerOuter(), DTTrigGeomUtils::phiRange(), InnerDeltaPhi::phiRange(), RectangularEtaPhiTrackingRegion::phiWindow(), PhoSCEtaMultiRangeCut::PhoSCEtaMultiRangeCut(), SiPixelCoordinates::pixel_(), PixelForwardLayerPhase1::PixelForwardLayerPhase1(), SiPixelTemplateSplit::PixelTempSplit(), PixelTrackErrorParam::PixelTrackErrorParam(), root::plot(), TkAlMap.TkAlMap::plot_variable_distribution(), Tutils::plotAndProfileX(), plotBaryCentre_VS_BeamSpot::plotbarycenter(), PlotOccupancyMap(), PlotOccupancyMapGeneric(), PlotOccupancyMapPhase1(), PlotOccupancyMapPhase2(), HGCalImagingAlgo::populate(), pixelCPEforGPU::position(), DDHGCalTBModuleX::positionSensitive(), ElectronLimiter::PostStepGetPhysicalInteractionLength(), PFTauRenderPlugin::preDraw(), CSCCrosstalkConditions::prefillCrosstalk(), CSCFakeDBCrosstalk::prefillDBCrosstalk(), CSCGainsConditions::prefillGains(), sipixelobjects::PixelFEDLink::printForMap(), printFrame(), MuonBadTrackFilter::printMuonProperties(), PFMuonAlgo::printMuonProperties(), SiStripNoises::printSummary(), HcalDDDSimConstants::printTileHB(), HcalDDDSimConstants::printTileHE(), printTrackerMap(), process(), HBHEPhase1Reconstructor::processData(), MultiTrackSelector::processMVA(), HIMultiTrackSelector::processMVA(), RPCTwinMuxRawToDigi::processTwinMux(), L1TStage2ObjectComparison< T >::produce(), CandOneToOneDeltaRMatcher::produce(), PixelVertexCollectionTrimmer::produce(), HiHFFilterProducer::produce(), pat::L1MuonMatcher::produce(), TrackListMerger::produce(), ConversionTrackMerger::produce(), SiPixelRecHitFromCUDA::produce(), L1TEGammaFilteredCollectionProducer::produce(), TrackDistanceValueMapProducer::produce(), HLTHGCalLayerClusterIsolationProducer< T1 >::produce(), TkMSParameterizationBuilder::produce(), L1TMuonProducer::produce(), GenTtbarCategorizer::produce(), BaseParticlePropagator::propagate(), Qjets::Prune(), SamplingAlgorithm::pruneProfile(), CSCTFPtMethods::Pt2StnChiSq(), CSCTFPtMethods::Pt3StnChiSq(), reco::tau::pt_weighted_dx_T(), EmissionVetoHook1::pTcalc(), edm::DataMixingEMDigiWorker::putEM(), TrackClassifier::qualityInformation(), HGCalGeomTools::radius(), JetUtil::radius(), rangeIntersection(), XrdFile::read(), lhef::StorageInputStream::readBytes(), RunInfoRead::readData(), FedRawDataInputSource::readSupervisor(), FedRawDataInputSource::readWorker(), HcalSimpleRecAlgoImpl::recoHFTime(), HFPreRecAlgo::reconstruct(), reco::tau::RecoTauPiZeroStripPlugin2::RecoTauPiZeroStripPlugin2(), reco::tau::RecoTauPiZeroStripPlugin3::RecoTauPiZeroStripPlugin3(), PFAlgo::recoTracksNotHCAL(), reco::GhostTrackVertexFinder::recursiveMerge(), SiStripQuality::ReduceGranularity(), MuonTrackingRegionBuilder::region(), AreaSeededTrackingRegionsBuilder::Builder::regionImpl(), CandidatePointSeededTrackingRegionsProducer::regions(), HcalSimpleRecAlgoImpl::removePileup(), edm::soa::Table< edm::soa::col::Pt, edm::soa::col::Eta, edm::soa::col::Phi, edm::soa::col::Vz >::resizeFromTo(), DynamicRfilt::result(), svgfig::rgb(), external::HEPTopTaggerV2_fixed_R::run(), SubjetFilterAlgorithm::run(), ecaldqm::LedTask::runOnDigis(), ecaldqm::LaserTask::runOnDigis(), HGCFEElectronics< DFr >::runShaperWithToT(), HGCFEElectronics< DFr >::runSimpleShaper(), BTLElectronicsSim::runTrivialShaper(), ETLElectronicsSim::runTrivialShaper(), HGCFEElectronics< DFr >::runTrivialShaper(), CMSmplIonisationWithDeltaModel::SampleSecondaries(), SiStripBaseCondObjDQM::saveTkMap(), PowhegResHook::scaleResonance(), riemannFit::scatter_cov_rad(), riemannFit::scatterCovLine(), FKDTree< TYPE, numberOfDimensions >::search(), KDTreeLinkerTrackEcal::searchLinks(), PixelForwardLayer::searchNeighbors(), PixelForwardLayerPhase1::searchNeighbors(), TIBRing::searchNeighbors(), MultiTrackSelector::select(), HIMultiTrackSelector::select(), set_mean(), set_sigma(), DAClusterizerInZ_vect::set_vtx_range(), DAClusterizerInZT_vect::set_vtx_range(), RPCRollMapHisto::setBarrelRollAxis(), GeometryComparisonPlotter::SetBranchMin(), GlobalHaloAlgo::SetEcalMatchingRadius(), CaloRecHit::setFlagField(), GlobalHaloAlgo::SetHcalMatchingRadius(), CondDBESSource::setIntervalFor(), AbsElectronicODERHS::setLeadingParameters(), PFBlockAlgo::setLinkers(), DatabasePDG::SetMassRange(), CompareToMedian::setMin(), CompareLastFilledBin::setMin(), HistoDef::setMinimum(), FlavourHistograms< T >::SetMinimum(), FlavourHistograms2D< T, G >::SetMinimum(), CSCHaloAlgo::SetMinMaxInnerRadius(), CSCHaloAlgo::SetMinMaxOuterMomentumTheta(), CSCHaloAlgo::SetMinMaxOuterRadius(), SetMinMaxRange(), reco::PhiWedge::SetMinMaxTime(), CompareToMedian::setMinMedian(), l1tVertexFinder::Stub::setModuleInfo(), ticl::TracksterP4FromEnergySum::setP4(), ticl::TracksterP4FromTrackAndPCA::setP4(), CMSmplIonisationWithDeltaModel::SetParticle(), reco::tau::RecoTauBuilderConePlugin::setTauQuantities(), ticl::TracksterRecoTrackPlugin::setTrack(), egHLT::BinData::Data1D::setup(), DatabasePDG::SetWidthRange(), HcalZSAlgoRealistic::shouldKeep(), TotemTimingRecHitProducerAlgorithm::simplifiedLinearRegression(), CSCStripHitSim::simulate(), SiPixelCluster::SiPixelCluster(), StripCPEgeometric::WrappedCluster::smallerEdgeStrip(), QGLikelihoodCalculator::smearingFunction(), IMACalibBlock::solve(), CSCMuonPortCard::sortLCTs(), GEMStripTopology::strip(), TkRadialStripTopology::strip(), CSCRadialStripTopology::strip(), edmIntegrityCheck.IntegrityCheck::stripDuplicates(), npstat::ArrayRange::stripOuterLayer(), trackerDTC::Stub::Stub(), PixelRecoRange< float >::sum(), svgfig.XErrorBars::SVG(), svgfig.YErrorBars::SVG(), ConeIsolationAlgorithm::tag(), TkAlMapDesign_phase0_cfg::test_draw(), TkAlMapDesign_phase1_cfg::test_draw(), TestPythiaDecays::TestPythiaDecays(), TkStripMeasurementDet::testStrips(), LinkByRecHit::testTrackAndClusterByRecHit(), root::tf1(), root::tf1_t(), DTTrigGeomUtils::thetaRange(), Traj2TrackHits::toChi2x5(), MultiTrackValidator::trackDR(), tmtt::TrackerModule::TrackerModule(), MuonNavigableLayer::trackingRange(), HGVHistoProducerAlgo::tracksters_to_CaloParticles(), TrajectoryAtInvalidHit::TrajectoryAtInvalidHit(), funct::trapezoid_integral(), FullModelReactionDynamics::TwoBody(), TwoBowedSurfacesDeformation::TwoBowedSurfacesDeformation(), FullModelReactionDynamics::TwoCluster(), GflashHadronShowerProfile::twoGammaProfile(), CmsMTDStringToEnum::type(), HcalNumberingFromDDD::unitID(), l1t::stage2::CaloTowerUnpacker::unpack(), DCCTowerBlock::unpackXtalData(), DCCSCBlock::unpackXtalData(), HcaluLUTTPGCoder::update(), HcalTB02Analysis::update(), CastorTestAnalysis::update(), sistrip::RawToDigiUnpacker::update(), GaussianSumUtilities1D::update(), calo::multifit::update_decomposition_forwardsubst_with_offsets(), FW3DViewBase::updateHGCalVisibility(), edm::service::CondorStatusService::updateImpl(), MeasurementTrackerEventProducer::updatePixels(), compareDQMOutput::upload_to_gui(), RPCFw::UTtoT(), validateGlobalMuonPair(), DAClusterizerInZ_vect::vertices(), DAClusterizerInZT_vect::vertices(), npstat::HistoND< Numeric, Axis >::volume(), edm::Lumi3DReWeighting::weight3D(), reweight::LumiReWeighting::weight3D(), edm::Lumi3DReWeighting::weight3D_init(), reweight::LumiReWeighting::weight3D_init(), gpuVertexFinder::while(), tmtt::DegradeBend::work(), npstat::BoxND< unsigned >::write(), trklet::TrackletConfigBuilder::writeASMemories(), edm::RootOutputFile::writeEventAuxiliary(), CSCXonStrip_MatchGatti::xfError_Noise(), CSCXonStrip_MatchGatti::xfError_XTasym(), and SiPixelTemplate2D::xytemp().

◆ Sign()

template<class T >
T Sign ( T  A,
T  B 
)
inline

◆ Swap()

template<class T >
void Swap ( T a,
T b 
)
inline

Definition at line 32 of file MathUtil.h.

32  {
33  T tmp = a;
34  a = b;
35  b = tmp;
36 }

References a, b, and createJobs::tmp.

◆ SwapObj()

template<class T >
void SwapObj ( T a,
T b 
)
inline

Definition at line 25 of file MathUtil.h.

25  {
26  T tmp = *a;
27  *a = *b;
28  *b = tmp;
29 }

References a, b, and createJobs::tmp.

Variable Documentation

◆ fermi

const double fermi = 1.

◆ GeV

const double GeV = 1.

Definition at line 16 of file MathUtil.h.

Referenced by FullModelReactionDynamics::AddBlackTrackParticles(), CustomParticleFactory::addCustomParticle(), CMSGDMLWriteStructure::AddExtension(), Rivet::CMS_2013_I1224539_DIJET::analyze(), Rivet::RivetAnalysis::analyze(), CMSAntiSIMP::AntiSIMP(), Bcm1fSD::Bcm1fSD(), FullModelHadronicProcess::CalculateMomenta(), CaloSD::CaloSD(), CastorSD::CastorSD(), CMSMonopolePhysics::CMSMonopolePhysics(), CMSmplIonisationWithDeltaModel::CMSmplIonisationWithDeltaModel(), NuclearInteractionFTFSimulator::compute(), CMSMonopolePhysics::ConstructParticle(), CustomPhysicsListSS::ConstructProcess(), CustomPhysicsList::ConstructProcess(), CMSEmStandardPhysicsEMZ::ConstructProcess(), CMSMonopolePhysics::ConstructProcess(), CMSEmStandardPhysicsXS::ConstructProcess(), TkAccumulatingSensitiveDetector::createHit(), MuonSensitiveDetector::createHit(), CaloSD::createNewHit(), Decay3Body::doDecay(), GflashHadronShowerModel::DoIt(), GFlashHadronShowerModel::DoIt(), GflashEMShowerModel::DoIt(), GFlashEMShowerModel::DoIt(), CMSHadronPhysicsFTFP_BERT106::DumpBanner(), GflashHadronShowerModel::excludeDetectorRegion(), GFlashHadronShowerModel::excludeDetectorRegion(), HFShowerLibrary::extrapolate(), HcalTestAnalysis::fill(), SimG4HcalValidation::fill(), HcalTB04Analysis::fillBuffer(), HcalTB02Analysis::fillEvent(), MaterialBudgetCastorHistos::fillStartTrack(), FTFPCMS_BERT::FTFPCMS_BERT(), FTFPCMS_BERT_EML::FTFPCMS_BERT_EML(), FTFPCMS_BERT_EMM::FTFPCMS_BERT_EMM(), FTFPCMS_BERT_EMM_TRK::FTFPCMS_BERT_EMM_TRK(), FTFPCMS_BERT_EMN::FTFPCMS_BERT_EMN(), FTFPCMS_BERT_EMY::FTFPCMS_BERT_EMY(), FTFPCMS_BERT_EMZ::FTFPCMS_BERT_EMZ(), G4ProcessHelper::G4ProcessHelper(), FullModelReactionDynamics::GenerateNBodyEvent(), FullModelReactionDynamics::GenerateXandPt(), ZdcSD::getEnergyDeposit(), ZdcShowerLibrary::getEnergyFromLibrary(), HCalSD::getFromHFLibrary(), ZdcSD::getFromLibrary(), CastorSD::getFromLibrary(), HCalSD::getFromParam(), HCalSD::getHitFibreBundle(), HCalSD::getHitPMT(), HFShowerPMT::getHits(), HFShowerParam::getHits(), HFShowerLibrary::getHits(), CastorShowerLibraryMaker::GetKinematics(), TotemSD::getStepInfo(), FP420SD::GetStepInfo(), CaloMeanResponse::getWeight(), HFGflash::gfParameterization(), GflashHadronShowerProfile::hadronicParameterization(), CalorimetryManager::HDShowerSimulation(), Generator::HepMC2G4(), HFShowerLibrary::HFShowerLibrary(), HCalSD::hitForFibre(), Rivet::RivetAnalysis::init(), CMSFieldManager::InitialiseForVolume(), TimingSD::Initialize(), RunManagerMTWorker::initializeG4(), TreatSecondary::initTrack(), fastsim::NuclearInteractionFTF::interact(), HFShowerLibrary::interpolate(), GflashHadronShowerModel::isFirstInelasticInteraction(), G4SimEvent::load(), CustomParticleFactory::loadCustomParticles(), CastorShowerLibrary::loadEventInfo(), HFShowerLibrary::loadEventInfo(), LowEnergyFastSimModel::LowEnergyFastSimModel(), HadronicProcessHelper::m_phaseSpace(), MaterialEffects::MaterialEffects(), GflashHadronShowerModel::ModelTrigger(), GFlashHadronShowerModel::ModelTrigger(), GflashEMShowerModel::ModelTrigger(), Monopole::Monopole(), MuonSensitiveDetector::MuonSensitiveDetector(), NAStrangeDensity::NAStrangeDensity(), CMSSteppingVerbose::NextStep(), Generator::nonCentralEvent2G4(), fastsim::NuclearInteractionFTF::NuclearInteractionFTF(), FullModelReactionDynamics::NuclearReaction(), GflashEMShowerProfile::parameterization(), ParametrisedEMPhysics::ParametrisedEMPhysics(), Generator::particleAssignDaughters(), Generator::particlePassesPrimaryCuts(), G4ProcessHelper::PhaseSpace(), PltSD::PltSD(), FullModelHadronicProcess::PostStepDoIt(), TrackingAction::PreUserTrackingAction(), sim::LocalFieldManager::print(), GflashHadronWrapperProcess::Print(), CaloSD::ProcessHits(), FullModelReactionDynamics::ProduceStrangeParticlePairs(), Geant4ePropagator::propagateGeneric(), Herwig7Interface::pthat(), QGSPCMS_FTFP_BERT::QGSPCMS_FTFP_BERT(), QGSPCMS_FTFP_BERT_EML::QGSPCMS_FTFP_BERT_EML(), QGSPCMS_FTFP_BERT_EMM::QGSPCMS_FTFP_BERT_EMM(), QGSPCMS_FTFP_BERT_EMN::QGSPCMS_FTFP_BERT_EMN(), QGSPCMS_FTFP_BERT_EMY::QGSPCMS_FTFP_BERT_EMY(), QGSPCMS_FTFP_BERT_EMZ::QGSPCMS_FTFP_BERT_EMZ(), CaloMeanResponse::readResponse(), CaloSD::resetForNewPrimary(), MonopoleTransportation::ResetKilledStatistics(), RHStopTracer::RHStopTracer(), FullModelReactionDynamics::Rotate(), RunManagerMT::RunManagerMT(), CaloSD::saveHit(), TrackInformation::setCrossedBoundary(), TimingSD::setCuts(), CMSSIMP::SIMP(), CMSSteppingVerbose::StackFilled(), TotemRPSD::stepInfo(), PPSDiamondSD::stepInfo(), PPSPixelSD::stepInfo(), FullModelReactionDynamics::SuppressChargedPions(), TkAccumulatingSensitiveDetector::TkAccumulatingSensitiveDetector(), TreatSecondary::tracks(), CMSSteppingVerbose::TrackStarted(), FullModelReactionDynamics::TwoBody(), FullModelReactionDynamics::TwoCluster(), MonopoleSteppingAction::update(), RHStopTracer::update(), HGCalTBMB::update(), GflashG4Watcher::update(), MaterialBudget::update(), MaterialBudgetForward::update(), TrackingVerboseAction::update(), HGCPassive::update(), MaterialBudgetVolume::update(), CaloTrkProcessing::update(), HcalTB02Analysis::update(), DoCastorAnalysis::update(), TkAccumulatingSensitiveDetector::updateHit(), MuonSensitiveDetector::updateHit(), and ZdcSD::ZdcSD().

◆ hbarc

const double hbarc = 0.197 * GeV * fermi

◆ N_INFINITY

const double N_INFINITY = 9.0E99

Definition at line 21 of file MathUtil.h.

◆ N_PI

const double N_PI = 3.14159265359

Definition at line 19 of file MathUtil.h.

Referenced by NAStrangeDensity::ParticleNumberDensity().

◆ N_SMALL

const double N_SMALL = 1.E-10

Definition at line 22 of file MathUtil.h.

createJobs.tmp
tmp
align.sh
Definition: createJobs.py:716
Abs
T Abs(T a)
Definition: MathUtil.h:49
b
double b
Definition: hdecay.h:118
a
double a
Definition: hdecay.h:119
A
TtFullHadDaughter::B
static const std::string B
Definition: TtFullHadronicEvent.h:9
T
long double T
Definition: Basic3DVectorLD.h:48