#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) |
template<typename T1 , typename T2 > | |
double | radius (const T1 &t1, const T2 &t2) |
double | radius (double eta1, double phi1, double eta2, double phi2) |
double dPhi | ( | double | phi1, |
double | phi2 | ||
) |
Definition at line 30 of file JetUtil.h.
References Phi_0_2pi(), and Phi_mpi_pi().
Referenced by PhotonValidator::analyze(), PFJetAnalyzer::analyze(), JetAnalyzer::analyze(), SimplePhotonAnalyzer::beginJob(), ConvertedPhotonProducer::buildCollections(), L1GtVhdlWriterBitManager::buildDeltaPhiCalo(), L1GtVhdlWriterBitManager::buildDeltaPhiMuon(), pat::CaloIsolationEnergy::calculate(), SuperClusterShapeAlgo::Calculate_Covariances(), ClusterShapeAlgo::Calculate_Covariances(), GsfElectronAlgo::ElectronData::checkCtfTrack(), ConversionProducer::checkPhi(), RPCSeedPattern::checkStraightwithThreerecHits(), EgammaSuperClusters::closestMCParticle(), PFClusterShapeAlgo::covariances(), EcalClusterTools::covariances(), L1MuonPixelTrackFitter::deltaPhi(), TtSemiLepSignalSelMVATrainer::DeltaPhi(), TtSemiLepSignalSel::DeltaPhi(), TtSemiLepSignalSelMVAComputer::DeltaPhi(), TtSemiLepSignalSel::DeltaR(), TtSemiLepSignalSelMVATrainer::DeltaR(), TtSemiLepSignalSelMVAComputer::DeltaR(), FFTJetProducer::determinePileup(), muonisolation::PixelTrackExtractor::directionAtPresetRadius(), reco::ellipse(), EtaPhiMeasurementEstimator::estimate(), EtaPhiEstimator::estimate(), DDHCalFibreBundle::execute(), PFPhotonClusters::FillClusterWidth(), TrackerOfflineValidation::fillTree(), TrackerOfflineValidationSummary::fillTree(), filterCells3x3(), filterCells5x5(), ConversionTrackEcalImpactPoint::find(), TrackDetMatchInfo::findMaxDeposition(), CxCalculator::getAvgBCEt(), CxCalculator::getCCx(), CxCalculator::getCCxRemoveSC(), CxCalculator::getCorrection(), RxCalculator::getCRx(), GsfElectronCoreBaseProducer::getCtfTrackRef(), HiGammaJetSignalDef::getDeltaPhi(), HiGammaJetSignalDef::getDeltaR(), Tau3MuReco::getDeltaR(), EcalClusterTools::getDPhiEndcap(), GsfElectronAlgo::ElectronData::getEleBasicCluster(), CxCalculator::getJc(), CxCalculator::getJcc(), TxCalculator::getJct(), TxCalculator::getJt(), CxCalculator::getNBC(), RxCalculator::getRFx(), RxCalculator::getROx(), RxCalculator::getRx(), RPCSeedPattern::getSpecialAlgorithmErrorMatrix(), CosmicMuonGenerator::goodOrientation(), EcalClusterTools::localCovariances(), JetMaker::makeSpecific(), BremRecoveryClusterAlgo::match(), Multi5x5BremRecoveryClusterAlgo::match(), HiBremRecoveryClusterAlgo::match(), ConversionTools::matchesConversion(), reco::RecoTauPiZero::maxDeltaPhi(), MuonCkfTrajectoryBuilder::MuonCkfTrajectoryBuilder(), AntiElectronIDMVA::MVAValue(), CosmicMuonGenerator::nextEvent(), CosmicMuonGenerator::nextMultiEvent(), TrackDetMatchInfo::nXnEnergy(), reco::isodeposit::Direction::operator-(), egHLT::EgJetTagProbeCut< T >::pass(), egHLT::EgJetB2BCut< T >::pass(), PFClusterWidthAlgo::PFClusterWidthAlgo(), PFAlgo::postMuonCleaning(), SETSeedFinder::pre_prune(), edm::MultiParticleInConeGunProducer::produce(), edm::MultiParticleInConeGunSource::produce(), MuonSeedPtExtractor::pT_extract(), pftools::CaloWindow::relativePosition(), ecaldqm::ClusterTask::runOnBasicClusters(), EcalClusterTools::scLocalCovariances(), CSCSegAlgoShowering::showerSeg(), reco::isodeposit::NumCrystalEtaPhiVeto::veto(), and reco::isodeposit::RectangularEtaPhiVeto::veto().
{ phi1=Phi_0_2pi(phi1); phi2=Phi_0_2pi(phi2); return Phi_mpi_pi(phi1-phi2); }
double Phi_0_2pi | ( | double | x | ) |
double Phi_mpi_pi | ( | double | x | ) |
Definition at line 24 of file JetUtil.h.
Referenced by Geom::deltaPhi(), PFJetAlgorithm::DeltaR(), dPhi(), EcalClusterCrackCorrection::getValue(), EcalClusterLocalContCorrection::getValue(), EcalBasicClusterLocalContCorrection::getValue(), EcalClusterLocal::localCoordsEB(), EcalClusterLocal::localCoordsEE(), and PFPhotonClusters::PFCrystalCoor().
double radius | ( | const T1 & | t1, |
const T2 & | t2 | ||
) |
Definition at line 50 of file JetUtil.h.
References CosmicsPD_Skims::radius.
{ return radius(t1->eta(),t1->phi(),t2->eta(),t2->phi()); }
double radius | ( | double | eta1, |
double | phi1, | ||
double | eta2, | ||
double | phi2 | ||
) |
Definition at line 36 of file JetUtil.h.
References M_PI, siStripFEDMonitor_P5_cff::Min, Phi_0_2pi(), mathSSE::sqrt(), and TWOPI.