Classes | |
class | Cartesian2Cartesian3D |
class | Cylindrical2Cartesian |
class | OnePiRange |
class | Phi |
class | Polar2Cartesian |
class | Spherical2Cartesian |
class | Theta |
Functions | |
double | deltaBarePhi (double phi1, double phi2) |
double | deltaPhi (float phi1, float phi2) |
double | deltaPhi (double phi1, double phi2) |
template<class Vector1 , class Vector2 > | |
double | deltaPhi (const Vector1 &v1, const Vector2 &v2) |
template<class Vector1 , class Vector2 > | |
double | deltaR (const Vector1 &v1, const Vector2 &v2) |
template<class Vector1 , class Vector2 > | |
double | deltaR2 (const Vector1 &v1, const Vector2 &v2) |
float | fhalfPi () |
float | fpi () |
float | ftwoPi () |
double | halfPi () |
template<class T , class Scalar > | |
Phi< T > | operator* (const Phi< T > &a, const Scalar &b) |
Multiplication with scalar, does not change the precision. More... | |
template<class T , class Scalar > | |
OnePiRange< T > | operator* (const OnePiRange< T > &a, const Scalar &b) |
Multiplication with scalar, does not change the precision. More... | |
template<class T > | |
Phi< T > | operator* (double a, const Phi< T > &b) |
Multiplication with scalar. More... | |
template<class T > | |
OnePiRange< T > | operator* (double a, const OnePiRange< T > &b) |
Multiplication with scalar. More... | |
template<class T > | |
Phi< T > | operator+ (const Phi< T > &a, const Phi< T > &b) |
Addition. More... | |
template<class T > | |
OnePiRange< T > | operator+ (const OnePiRange< T > &a, const OnePiRange< T > &b) |
Addition. More... | |
template<class T , class Scalar > | |
Phi< T > | operator+ (const Phi< T > &a, const Scalar &b) |
Addition with scalar, does not change the precision. More... | |
template<class T , class Scalar > | |
OnePiRange< T > | operator+ (const OnePiRange< T > &a, const Scalar &b) |
Addition with scalar, does not change the precision. More... | |
template<class T , class Scalar > | |
Phi< T > | operator+ (const Scalar &a, const Phi< T > &b) |
Addition with scalar, does not change the precision. More... | |
template<class T , class Scalar > | |
OnePiRange< T > | operator+ (const Scalar &a, const OnePiRange< T > &b) |
Addition with scalar, does not change the precision. More... | |
template<class T > | |
Phi< T > | operator- (const Phi< T > &a) |
template<class T > | |
OnePiRange< T > | operator- (const OnePiRange< T > &a) |
template<class T > | |
Phi< T > | operator- (const Phi< T > &a, const Phi< T > &b) |
Subtraction. More... | |
template<class T > | |
OnePiRange< T > | operator- (const OnePiRange< T > &a, const OnePiRange< T > &b) |
Subtraction. More... | |
template<class T , class Scalar > | |
Phi< T > | operator- (const Phi< T > &a, const Scalar &b) |
Subtraction with scalar, does not change the precision. More... | |
template<class T , class Scalar > | |
OnePiRange< T > | operator- (const OnePiRange< T > &a, const Scalar &b) |
Subtraction with scalar, does not change the precision. More... | |
template<class T , class Scalar > | |
Phi< T > | operator- (const Scalar &a, const Phi< T > &b) |
Subtraction with scalar, does not change the precision. More... | |
template<class T , class Scalar > | |
OnePiRange< T > | operator- (const Scalar &a, const OnePiRange< T > &b) |
Subtraction with scalar, does not change the precision. More... | |
template<class T > | |
T | operator/ (const Phi< T > &a, const Phi< T > &b) |
Division. More... | |
template<class T > | |
T | operator/ (const OnePiRange< T > &a, const OnePiRange< T > &b) |
Division. More... | |
template<class T > | |
Phi< T > | operator/ (const Phi< T > &a, double b) |
Division by scalar. More... | |
template<class T > | |
OnePiRange< T > | operator/ (const OnePiRange< T > &a, double b) |
Division by scalar. More... | |
bool | phiLess (float phi1, float phi2) |
bool | phiLess (double phi1, double phi2) |
template<class Vector1 , class Vector2 > | |
bool | phiLess (const Vector1 &v1, const Vector2 &v2) |
double | pi () |
double | twoPi () |
Variables | |
class Geom::OnePiRange | __attribute__ |
|
inline |
Find aximutal Angle difference between two generic vectors ( v2.Phi() - v1.Phi() ) The only requirements on the Vector classes is that they implement the Phi() method
v1 | Vector of any type implementing the Phi() operator |
v2 | Vector of any type implementing the Phi() operator |
Definition at line 21 of file VectorUtil.h.
References M_PI.
Referenced by deltaPhi().
|
inline |
Definition at line 30 of file VectorUtil.h.
References deltaBarePhi(), and Phi_mpi_pi().
Referenced by PatElectronAnalyzer::analyze(), myFastSimVal::analyze(), MuonCSCSeedFromRecHits::analyze(), SimpleConvertedPhotonAnalyzer::analyze(), SimplePhotonAnalyzer::analyze(), QcdPhotonsDQM::analyze(), L1GctValidation::analyze(), MBUEandQCDValidation::analyze(), myJetAna::analyze(), JPTJetAnalyzer::analyze(), PhotonValidator::analyze(), TTbarSpinCorrHepMCAnalyzer::analyze(), TopHLTDiMuonDQM::analyze(), Rivet::CMS_QCD_10_010::analyze(), SusyDQM< Mu, Ele, Jet, Met >::analyze(), Rivet::MC_LES_HOUCHES_SYSTEMATICS_CMS::analyze(), EgammaObjects::analyzeElectrons(), EgammaObjects::analyzePhotons(), MuonCSCSeedFromRecHits::bestEndcapHit(), PFRecoTauAlgorithm::buildPFTau(), EwkElecDQM::calcDeltaPhi(), EwkDQM::calcDeltaPhi(), HiggsDQM::calcDeltaPhi(), calcDeltaPhi(), L1TauAnalyzer::calcL1MCPFTauMatching(), L1TauAnalyzer::calcL1MCTauMatching(), AlignmentTwoBodyDecayTrackSelector::checkAcoplanarity(), AlignmentTwoBodyDecayTrackSelector::checkMETAcoplanarity(), RoadSearchCloudMakerAlgorithm::CheckZPhiIntersection(), EventShapeVariables::circularity(), FastTSGFromL2Muon::clean(), FastTSGFromIOHit::clean(), MuonTrajectoryCleaner::clean(), TrackerSeedCleaner::clean(), TCMETAlgo::closeToElectron(), MuonSeedOrcaPatternRecognition::complete(), RPCSeedrecHitFinder::complete(), CompositeTECWedge::computeCrossings(), TECLayer::computeCrossings(), TIDRing::computeCrossings(), DDPixFwdBlades::computeNippleParameters(), METManager::coutTailEvents(), RPCSeedPattern::createSeed(), CosmicMuonSeedGenerator::createSeed(), TGeoMgrFromDdd::createShape(), MuonShowerInformationFiller::cscPositionToDets(), CATopJetAlgorithm::decomposeJet(), TtDilepLRSignalSelObservables::delta(), pat::DiObjectProxy::deltaPhi(), CalibratableTest::deltaR(), deltaR2(), MuonSeedOrcaPatternRecognition::discriminator(), HiggsDQM::DistancePhi(), CSCValidation::doStandalone(), MuonShowerInformationFiller::dtPositionToDets(), EcalTBMCInfoProducer::EcalTBMCInfoProducer(), L1TauAnalyzer::evalL1extraDecisions(), DDPixFwdBlades::execute(), RPCSeedPattern::extropolateStep(), GenericBenchmark::fillHistos(), TrackerValidationVariables::fillHitQuantities(), MuonShowerInformationFiller::fillHitsByStation(), egHLT::OffHelper::fillHLTData(), JetMETHLTOfflineSource::fillMEforMonAllTrigger(), JetMETHLTOfflineSource::fillMEforMonAllTriggerwrtMuonTrigger(), JetMETHLTOfflineSource::fillMEforTriggerNTfired(), HLTMuonMatchAndPlot::fillPlots(), RoadSearchCloudMakerAlgorithm::FillRecHitsIntoCloudGeneral(), TrackerOfflineValidationSummary::fillTree(), TrackerOfflineValidation::fillTree(), QcdUeDQM::fillUE_with_CaloJets(), QcdUeDQM::fillUE_with_ChargedJets(), QcdUeDQM::fillUE_with_MaxpTtrack(), HLTMuonTrackMassFilter::filter(), HLTEgammaDoubleEtDeltaPhiFilter::filter(), HLTDiJetAveFilter::filter(), PythiaFilterEMJet::filter(), PythiaFilterGammaJetWithOutBg::filter(), PythiaFilterGammaJet::filter(), PythiaFilterGammaJetWithBg::filter(), PythiaFilterGammaJetIsoPi0::filter(), MuonSeedOrcaPatternRecognition::filterOverlappingChambers(), EMEnrichingFilterAlgo::filterPhotonElectronSeed(), doubleEMEnrichingFilterAlgo::filterPhotonElectronSeed(), MuonShowerInformationFiller::findPhiCluster(), RPCSeedrecHitFinder::getdeltaPhifromrecHits(), IsolatedPixelTrackCandidateProducer::GetEtaPhiAtEcal(), PythiaFilterIsolatedTrack::GetEtaPhiAtEcal(), RPCSeedPattern::getSpecialAlgorithmErrorMatrix(), EgammaTowerIsolation::getTowerESum(), EgammaTowerIsolation::getTowerEtSum(), HitPairGeneratorFromLayerPair::hitPairs(), DiskSectorBounds::inside(), cms::MuonTCMETValueMapProducer::isGoodCaloMuon(), CSCSegAlgoShowering::isHitNearSegment(), CSCSegAlgoDF::isHitNearSegment(), GoodSeedProducer::IsIsolated(), EventShapeVariables::isotropy(), main(), CosmicMuonSeedGenerator::makeSegPairs(), GlobalMuonTrackMatcher::match(), L1MuonMatcherAlgo::match(), MuonIdTruthInfo::matchChi2(), L1MuonMatcherAlgo::matchGeneric(), DetIdAssociator::nearElement(), DeltaPhiMinPairSelector::operator()(), TtDilepLRSignalSelObservables::operator()(), InnerDeltaPhi::operator()(), MuonShowerInformationFiller::LessDPhi::operator()(), MuonShowerInformationFiller::AbsLessDPhi::operator()(), operator<<(), HLTmmkFilter::overlap(), PFRootEventManager::pfCandCompare(), phiLess(), InnerDeltaPhi::phiRange(), PFAlgo::postCleaning(), PFTauElecRejectionBenchmark::process(), HLTJetL1MatchProducer::produce(), JetPlusTrackProducer::produce(), JetPlusTrackProducerAA::produce(), BaseParticlePropagator::propagate(), pftools::CaloWindow::relativePosition(), RPCSeedPattern::SegmentAlgorithmSpecial(), MuonCSCSeedFromRecHits::segmentQuality(), PFConversionAlgo::setCandidates(), QcdLowPtDQM::trackletVertexUnbinned(), DDG4SolidConverter::trunctubs(), DDI::Cons::volume(), and RoadSearchCloudMakerAlgorithm::ZPhiDeltaPhi().
|
inline |
double Geom::deltaPhi | ( | const Vector1 & | v1, |
const Vector2 & | v2 | ||
) |
double Geom::deltaR | ( | const Vector1 & | v1, |
const Vector2 & | v2 | ||
) |
Definition at line 84 of file VectorUtil.h.
References deltaR2(), and mathSSE::sqrt().
Referenced by reco::VertexFilter::operator()(), CombinedSVComputer::operator()(), GhostTrackComputer::operator()(), MuonWithPFIsoProducer::produce(), HiGenCleaner< T2 >::produce(), and reco::SecondaryVertexTagInfo::taggingVariables().
double Geom::deltaR2 | ( | const Vector1 & | v1, |
const Vector2 & | v2 | ||
) |
Find difference in pseudorapidity (Eta) and Phi betwen two generic vectors The only requirements on the Vector classes is that they implement the Phi() and Eta() method
v1 | Vector 1 |
v2 | Vector 2 |
Definition at line 78 of file VectorUtil.h.
References deltaPhi().
Referenced by helper::SimpleJetTrackAssociator::associate(), JetTracksAssociationDRVertex::associateTracksToJet(), JetTracksAssociationDRCalo::associateTracksToJet(), helper::SimpleJetTrackAssociator::associateTransient(), pat::LeptonJetIsolationAngle::calculate(), deltaR(), PythiaFilterGammaJet::filter(), PythiaFilterGammaJetWithBg::filter(), PythiaFilterGammaJetWithOutBg::filter(), PythiaFilterGammaJetIsoPi0::filter(), PhotonEnrichmentFilter::filter(), CMSMidpointAlgorithm::findStableConesFromMidPoints(), InvariantMassAlgorithm::getMinimumClusterDR(), L1MuonMatcherAlgo::match(), L1MuonMatcherAlgo::matchGeneric(), DeltaRMinPairSelector::operator()(), pat::OverlapByDeltaR::operator()(), JetVetoedTracksAssociationDRVertex::produce(), NearbyCandCountComputer::produce(), DeltaRNearestObjectComputer< T >::produce(), JetPlusTrackCorrector::rebuildJta(), CMSIterativeConeAlgorithm::run(), GenJetClosestMatchSelectorDefinition::select(), and CMSMidpointAlgorithm::splitAndMerge().
|
inline |
|
inline |
Definition at line 35 of file Pi.h.
Referenced by RecHitsSortedInPhi::hits(), and PixelTripletHLTGenerator::mergePhiRanges().
|
inline |
Definition at line 36 of file Pi.h.
Referenced by PixelTripletHLTGenerator::checkPhiInRange(), RecHitsSortedInPhi::hits(), and PixelTripletHLTGenerator::mergePhiRanges().
|
inline |
Definition at line 33 of file Pi.h.
Referenced by RoadSearchCloudMakerAlgorithm::makecircle(), and TrackAssociatorByChi2::parametersAtClosestApproach().
|
inline |
|
inline |
Multiplication with scalar, does not change the precision.
Definition at line 110 of file OnePiRange.h.
References a.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Addition with scalar, does not change the precision.
Definition at line 81 of file OnePiRange.h.
References a.
|
inline |
|
inline |
Addition with scalar, does not change the precision.
Definition at line 86 of file OnePiRange.h.
References b.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Subtraction with scalar, does not change the precision.
Definition at line 98 of file OnePiRange.h.
References a.
|
inline |
Subtraction with scalar, does not change the precision.
Definition at line 101 of file Phi.h.
References Geom::Phi< T >::value().
|
inline |
Subtraction with scalar, does not change the precision.
Definition at line 104 of file OnePiRange.h.
References Geom::OnePiRange< T >::value().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition of ordering of azimuthal angles. phi1 is less than phi2 if the angle covered by a point going from phi1 to phi2 in the counterclockwise direction is smaller than pi. It makes sense only if ALL phis are in a single hemisphere...
Definition at line 57 of file VectorUtil.h.
References deltaPhi().
Referenced by tkDetUtil::calculatePhiWindow(), boundSpan::computeSpan(), PhiLess::operator()(), DetPhiLess::operator()(), CompositeTECWedge::searchNeighbors(), and TIDRing::searchNeighbors().
|
inline |
bool Geom::phiLess | ( | const Vector1 & | v1, |
const Vector2 & | v2 | ||
) |
|
inline |
Definition at line 31 of file Pi.h.
Referenced by SimpleConvertedPhotonAnalyzer::analyze(), DTTTrigOffsetCalibration::analyze(), DTVDriftCalibration::analyze(), DTLocalTriggerSynchTask::analyze(), EgammaObjects::analyzeElectrons(), EgammaObjects::analyzePhotons(), MagGeoBuilderFromDDD::buildInterpolator(), SuperClusterShapeAlgo::Calculate_Covariances(), ClusterShapeAlgo::Calculate_Covariances(), RoadSearchSeedFinderAlgorithm::calculateCircleSeedsFromRingsOneInnerOneOuter(), RoadSearchSeedFinderAlgorithm::calculateCircleSeedsFromRingsOneInnerTwoOuter(), RoadSearchSeedFinderAlgorithm::calculateCircleSeedsFromRingsTwoInnerOneOuter(), tkDetUtil::calculatePhiWindow(), TIBRing::checkPeriodicity(), RoadSearchCloudMakerAlgorithm::CheckZPhiIntersection(), ForwardDiskSectorBuilderFromWedges::computeBounds(), BladeShapeBuilderFromDet::computeBounds(), ForwardDiskSectorBuilderFromDet::computeBounds(), TOBLayer::computeCrossings(), PixelBarrelLayer::computeCrossings(), DTTime2DriftParametrization::computeDriftDistance_mean(), DTTime2DriftParametrization::computeDriftDistance_mode(), Ring::containsDetId(), EcalClusterTools::covariances(), PFClusterShapeAlgo::covariances(), CylinderFromSectorMFGrid::CylinderFromSectorMFGrid(), Geom::OnePiRange< T >::degrees(), Geom::Phi< float >::degrees(), DTTrigGeomUtils::DTTrigGeomUtils(), ECALPositionCalculator::ecalEta(), ContainmentCorrectionAnalyzer::ecalEta(), EgammaSuperClusters::ecalEta(), EgammaObjects::ecalEta(), EcalEtaPhiRegion::EcalEtaPhiRegion(), ECALPositionCalculator::ecalPhi(), EcalElectronicsMapping::GetListofFEDs(), DDI::Ellipsoid::halfVol(), RecHitsSortedInPhi::hits(), HResolution::HResolution(), HResolution1DRecHit::HResolution1DRecHit(), HTrackVariables::HTrackVariables(), EcalEtaPhiRegion::inRegion(), EcalListOfFEDSProducer::ListOfFEDS(), ESListOfFEDSProducer::ListOfFEDS(), EcalRawToRecHitRoI::ListOfFEDS(), HLTAlCa::ListOfFEDS(), MagBLayer::MagBLayer(), MagGeometry::MagGeometry(), Ring::map_phi(), RoadSearchCloudMakerAlgorithm::map_phi2(), HLTDTActivityFilter::matchChamber(), Geom::Phi< float >::normalize(), Geom::OnePiRange< T >::normalize(), SimpleConeBounds::openingAngle(), ForwardDiskSectorBuilderFromWedges::operator()(), RoadSearchCircleSeed::Phi0(), PhiBorderFinder::PhiBorderFinder(), L2MuonSeedGenerator::produce(), SteppingHelixPropagator::refToDest(), SteppingHelixPropagator::refToMagVolume(), SteppingHelixPropagator::refToMatVolume(), RoadSearchCloudMakerAlgorithm::run(), Cone::side(), TrapezoidalCylindricalMFGrid::TrapezoidalCylindricalMFGrid(), DTTrigGeomUtils::trigPos(), DDI::Sphere::volume(), DDI::Orb::volume(), DDI::EllipticalTube::volume(), and DDI::Ellipsoid::volume().
|
inline |
Definition at line 32 of file Pi.h.
Referenced by SimpleConvertedPhotonAnalyzer::analyze(), SuperClusterShapeAlgo::Calculate_Covariances(), ClusterShapeAlgo::Calculate_Covariances(), RoadSearchSeedFinderAlgorithm::calculateCircleSeedsFromRingsOneInnerOneOuter(), RoadSearchSeedFinderAlgorithm::calculateCircleSeedsFromRingsOneInnerTwoOuter(), RoadSearchSeedFinderAlgorithm::calculateCircleSeedsFromRingsTwoInnerOneOuter(), Ring::containsDetId(), EcalClusterTools::covariances(), PFClusterShapeAlgo::covariances(), EcalEtaPhiRegion::EcalEtaPhiRegion(), ECALPositionCalculator::ecalPhi(), FWPFLegoCandidate::FWPFLegoCandidate(), EgammaTowerIsolation::getTowerESum(), EgammaTowerIsolation::getTowerEtSum(), EcalEtaPhiRegion::inRegion(), RoadSearchCloudMakerAlgorithm::map_phi(), Ring::map_phi(), RoadSearchCloudMakerAlgorithm::map_phi2(), Geom::Phi< float >::normalize(), GeneralBinFinderInPhi< T >::positiveRange(), and PhiBorderFinder::positiveRange().
class Geom::OnePiRange Geom::__attribute__ |