#include <cmath>
Go to the source code of this file.
Classes | |
class | PtGreater |
Functions | |
double | dPhi (double phi1, double phi2) |
double | Phi_0_2pi (double x) |
double | Phi_mpi_pi (double x) |
double | radius (double eta1, double phi1, double eta2, double phi2) |
template<typename T1 , typename T2 > | |
double | radius (const T1 &t1, const T2 &t2) |
double dPhi | ( | double | phi1, |
double | phi2 | ||
) |
Definition at line 30 of file JetUtil.h.
References Phi_0_2pi(), and Phi_mpi_pi().
Referenced by PFMuonAlgo::addMissingMuons(), PhotonValidator::analyze(), TrackerTreeGenerator::analyze(), SimplePhotonAnalyzer::beginJob(), ConvertedPhotonProducer::buildCollections(), L1GtVhdlWriterBitManager::buildDeltaPhiCalo(), L1GtVhdlWriterBitManager::buildDeltaPhiMuon(), pat::CaloIsolationEnergy::calculate(), SuperClusterShapeAlgo::Calculate_Covariances(), ClusterShapeAlgo::Calculate_Covariances(), calDIPhi(), GsfElectronAlgo::ElectronData::checkCtfTrack(), ConversionProducer::checkPhi(), RPCSeedPattern::checkStraightwithThreerecHits(), EgammaSuperClusters::closestMCParticle(), PFClusterShapeAlgo::covariances(), EcalClusterToolsT< noZS >::covariances(), TtSemiLepSignalSelMVAComputer::DeltaPhi(), TtSemiLepSignalSel::DeltaPhi(), TtSemiLepSignalSelMVATrainer::DeltaPhi(), L1MuonPixelTrackFitter::deltaPhi(), TtSemiLepSignalSelMVAComputer::DeltaR(), TtSemiLepSignalSel::DeltaR(), TtSemiLepSignalSelMVATrainer::DeltaR(), FFTJetProducer::determinePileup(), muonisolation::PixelTrackExtractor::directionAtPresetRadius(), PFRecoTauDiscriminationByHPSSelection::discriminate(), AntiElectronIDCut2::Discriminator(), MuonGmtPair::dR(), reco::ellipse(), EtaPhiMeasurementEstimator::estimate(), EtaPhiEstimator::estimate(), DDHCalFibreBundle::execute(), EcalRegressionData::fill(), PFPhotonClusters::FillClusterWidth(), JetMETHLTOfflineSource::fillMEforEffAllTrigger(), TrackerOfflineValidationSummary::fillTree(), VBFGenJetFilter::filter(), filterCells3x3(), filterCells5x5(), ConversionTrackEcalImpactPoint::find(), TrackDetMatchInfo::findMaxDeposition(), l1t::MicroGMTCancelOutUnit::getCoordinateCancelBits(), GsfElectronCoreBaseProducer::getCtfTrackRef(), HiGammaJetSignalDef::getDeltaPhi(), Tau3MuReco::getDeltaR(), HiGammaJetSignalDef::getDeltaR(), EcalClusterToolsT< noZS >::getDPhiEndcap(), GsfElectronAlgo::ElectronData::getEleBasicCluster(), RPCSeedPattern::getSpecialAlgorithmErrorMatrix(), CosmicMuonGenerator::goodOrientation(), HLTMinDPhiMETFilter::hltFilter(), EcalClusterToolsT< noZS >::localCovariances(), l1t::MicroGMTMatchQualSimpleLUT::lookup(), l1t::MicroGMTMatchQualFineLUT::lookup(), BremRecoveryClusterAlgo::match(), HiBremRecoveryClusterAlgo::match(), ConversionTools::matchesConversion(), reco::RecoTauPiZero::maxDeltaPhi(), AntiElectronIDMVA5::MVAValue(), AntiElectronIDMVA6::MVAValue(), CosmicMuonGenerator::nextEvent(), CosmicMuonGenerator::nextMultiEvent(), TrackDetMatchInfo::nXnEnergy(), reco::isodeposit::Direction::operator-(), egHLT::EgJetTagProbeCut< T >::pass(), egHLT::EgJetB2BCut< T >::pass(), PFClusterWidthAlgo::PFClusterWidthAlgo(), SETSeedFinder::pre_prune(), edm::MultiParticleInConeGunProducer::produce(), MuonSeedPtExtractor::pT_extract(), pftools::CaloWindow::relativePosition(), EcalClusterToolsT< noZS >::scLocalCovariances(), l1t::Muon::setHwDPhiExtra(), TrackerOfflineValidation::setUpTreeMembers(), CSCSegAlgoShowering::showerSeg(), reco::isodeposit::NumCrystalEtaPhiVeto::veto(), and reco::isodeposit::RectangularEtaPhiVeto::veto().
double Phi_mpi_pi | ( | double | x | ) |
Definition at line 24 of file JetUtil.h.
Referenced by TTbarSpinCorrHepMCAnalyzer::analyze(), dPhi(), EcalClusterLocalContCorrection::getValue(), EcalBasicClusterLocalContCorrection::getValue(), EcalClusterCrackCorrection::getValue(), reco::MustacheKernel::inDynamicDPhiWindow(), reco::MustacheKernel::inMustache(), EcalClusterLocal::localCoordsEB(), EcalClusterLocal::localCoordsEE(), and PFPhotonClusters::PFCrystalCoor().
double radius | ( | double | eta1, |
double | phi1, | ||
double | eta2, | ||
double | phi2 | ||
) |
Definition at line 36 of file JetUtil.h.
References M_PI, Min(), Phi_0_2pi(), mathSSE::sqrt(), and TWOPI.
double radius | ( | const T1 & | t1, |
const T2 & | t2 | ||
) |