Go to the source code of this file.
Classes | |
class | Basic3DVector< long double > |
Typedefs | |
typedef Basic3DVector< long double > | Basic3DVectorLD |
typedef Geom::Cylindrical2Cartesian< T > | Cylindrical |
typedef Basic3DVector< T > | MathVector |
typedef Spherical | Polar |
typedef T | ScalarType |
typedef Geom::Spherical2Cartesian< T > | Spherical |
typedef long double | T |
Functions | |
template<> | |
class Basic3DVector< long double > | __attribute__ ((aligned(16))) |
T | barePhi () const |
T | bareTheta () const |
Basic3DVector () | |
Basic3DVector (const Basic3DVector &p) | |
Copy constructor from same type. Should not be needed but for gcc bug 12685. More... | |
template<class U > | |
Basic3DVector (const Basic3DVector< U > &p) | |
Copy constructor and implicit conversion from Basic3DVector of different precision. More... | |
Basic3DVector (const Basic2DVector< T > &p) | |
constructor from 2D vector (X and Y from 2D vector, z set to zero) More... | |
template<class OtherPoint > | |
Basic3DVector (const OtherPoint &p) | |
Basic3DVector (const T &x, const T &y, const T &z) | |
construct from cartesian coordinates More... | |
template<typename U > | |
Basic3DVector (const Geom::Theta< U > &theta, const Geom::Phi< U > &phi, const T &r) | |
Basic3DVector | cross (const Basic3DVector &v) const |
Vector product, or "cross" product, with a vector of same type. More... | |
template<class U > | |
Basic3DVector< typename PreciseFloatType< T, U >::Type > | cross (const Basic3DVector< U > &v) const |
T | dot (const Basic3DVector &v) const |
Scalar product, or "dot" product, with a vector of same type. More... | |
template<class U > | |
PreciseFloatType< T, U >::Type | dot (const Basic3DVector< U > &v) const |
T | eta () const |
T | mag () const |
The vector magnitude. Equivalent to sqrt(vec.mag2()) More... | |
T | mag2 () const |
The vector magnitude squared. Equivalent to vec.dot(vec) More... | |
long double | operator* (const Basic3DVector< long double > &v1, const Basic3DVector< long double > &v2) |
scalar product of vectors of same precision More... | |
template<class U > | |
PreciseFloatType< long double, U >::Type | operator* (const Basic3DVector< long double > &v1, const Basic3DVector< U > &v2) |
scalar product of vectors of different precision More... | |
template<class U > | |
PreciseFloatType< long double, U >::Type | operator* (const Basic3DVector< U > &v1, const Basic3DVector< long double > &v2) |
Basic3DVector< long double > | operator* (const Basic3DVector< long double > &v, long double t) |
Basic3DVector< long double > | operator* (long double t, const Basic3DVector< long double > &v) |
Same as operator*( Vector, Scalar) More... | |
template<typename S > | |
Basic3DVector< long double > | operator* (S t, const Basic3DVector< long double > &v) |
template<typename S > | |
Basic3DVector< long double > | operator* (const Basic3DVector< long double > &v, S t) |
Basic3DVector & | operator*= (T t) |
Scaling by a scalar value (multiplication) More... | |
Basic3DVector< long double > | operator+ (const Basic3DVector< long double > &a, const Basic3DVector< long double > &b) |
vector sum and subtraction of vectors of possibly different precision More... | |
template<class U > | |
Basic3DVector< typename PreciseFloatType< long double, U >::Type > | operator+ (const Basic3DVector< long double > &a, const Basic3DVector< U > &b) |
template<class U > | |
Basic3DVector< typename PreciseFloatType< long double, U >::Type > | operator+ (const Basic3DVector< U > &a, const Basic3DVector< long double > &b) |
template<class U > | |
Basic3DVector & | operator+= (const Basic3DVector< U > &p) |
Basic3DVector | operator- () const |
Unary minus, returns a vector with components (-x(),-y(),-z()) More... | |
Basic3DVector< long double > | operator- (const Basic3DVector< long double > &a, const Basic3DVector< long double > &b) |
template<class U > | |
Basic3DVector< typename PreciseFloatType< long double, U >::Type > | operator- (const Basic3DVector< long double > &a, const Basic3DVector< U > &b) |
template<class U > | |
Basic3DVector< typename PreciseFloatType< long double, U >::Type > | operator- (const Basic3DVector< U > &a, const Basic3DVector< long double > &b) |
template<class U > | |
Basic3DVector & | operator-= (const Basic3DVector< U > &p) |
template<typename S > | |
Basic3DVector< long double > | operator/ (const Basic3DVector< long double > &v, S s) |
Basic3DVector & | operator/= (T t) |
Scaling by a scalar value (division) More... | |
bool | operator== (const Basic3DVector &rh) const |
T | perp () const |
Magnitude of transverse component. More... | |
T | perp2 () const |
Squared magnitude of transverse component. More... | |
Geom::Phi< T > | phi () const |
Geom::Theta< T > | theta () const |
T | transverse () const |
Another name for perp() More... | |
Basic3DVector | unit () const |
T | x () const |
Cartesian x coordinate. More... | |
Basic2DVector< T > | xy () const |
T | y () const |
Cartesian y coordinate. More... | |
T | z () const |
Cartesian z coordinate. More... | |
Variables | |
T | theW |
T | theX |
T | theY |
T | theZ |
typedef Basic3DVector<long double> Basic3DVectorLD |
Definition at line 335 of file Basic3DVectorLD.h.
typedef Geom::Cylindrical2Cartesian<T> Cylindrical |
Definition at line 59 of file Basic3DVectorLD.h.
typedef Basic3DVector<T> MathVector |
Definition at line 63 of file Basic3DVectorLD.h.
Definition at line 61 of file Basic3DVectorLD.h.
typedef T ScalarType |
Definition at line 58 of file Basic3DVectorLD.h.
typedef Geom::Spherical2Cartesian<T> Spherical |
Definition at line 60 of file Basic3DVectorLD.h.
typedef long double T |
Definition at line 57 of file Basic3DVectorLD.h.
class Basic3DVector< long double > __attribute__ | ( | (aligned(16)) | ) |
T __attribute__::barePhi | ( | ) | const |
Azimuthal angle. The value is returned in radians, in the range (-pi,pi]. Same precision as the system atan2(x,y) function. The return type is Geom::Phi<T>, see it's documentation.
Definition at line 162 of file Basic3DVectorLD.h.
Referenced by MuonAlignmentAnalyzer::analyze().
T __attribute__::bareTheta | ( | ) | const |
Polar angle. The value is returned in radians, in the range [0,pi] Same precision as the system atan2(x,y) function. The return type is Geom::Phi<T>, see it's documentation.
Definition at line 169 of file Basic3DVectorLD.h.
__attribute__::Basic3DVector | ( | ) |
default constructor uses default constructor of T to initialize the components. For built-in floating-point types this means initialization to zero??? (force init to 0)
Definition at line 69 of file Basic3DVectorLD.h.
Basic3DVector | ( | const Basic3DVector & | p | ) |
Copy constructor from same type. Should not be needed but for gcc bug 12685.
Definition at line 72 of file Basic3DVectorLD.h.
__attribute__::Basic3DVector | ( | const Basic3DVector< U > & | p | ) |
Copy constructor and implicit conversion from Basic3DVector of different precision.
Definition at line 77 of file Basic3DVectorLD.h.
__attribute__::Basic3DVector | ( | const Basic2DVector< T > & | p | ) |
constructor from 2D vector (X and Y from 2D vector, z set to zero)
Definition at line 81 of file Basic3DVectorLD.h.
|
explicit |
Explicit constructor from other (possibly unrelated) vector classes The only constraint on the argument type is that it has methods x(), y() and z(), and that these methods return a type convertible to T. Examples of use are
construction from a Basic3DVector with different precision
construction from a Hep3Vector
construction from a coordinate system converter
Definition at line 93 of file Basic3DVectorLD.h.
References Basic3DVector< T >::theX, and Basic3DVector< T >::theY.
__attribute__::Basic3DVector | ( | const Geom::Theta< U > & | theta, |
const Geom::Phi< U > & | phi, | ||
const T & | r | ||
) |
Deprecated construct from polar coordinates, use
Basic3DVector<T>( Basic3DVector<T>::Polar( theta, phi, r)) instead.
Definition at line 120 of file Basic3DVectorLD.h.
References Basic3DVector< T >::x(), and Basic3DVector< T >::y().
Basic3DVector __attribute__::cross | ( | const Basic3DVector & | v | ) | const |
Vector product, or "cross" product, with a vector of same type.
Definition at line 247 of file Basic3DVectorLD.h.
Referenced by TruncatedPyramid::createCorners(), RPCSeedPattern::createSeed(), Basic2DVector< float >::cross(), Basic3DVector< align::Scalar >::cross(), RKPropagatorInS::propagateParametersOnPlane(), and MSLayersAtAngle::sum2RmRn().
Basic3DVector<typename PreciseFloatType<T,U>::Type> __attribute__::cross | ( | const Basic3DVector< U > & | v | ) | const |
Vector (or cross) product with a vector of different precision. The product is computed without loss of precision. The type of the returned vector is the more precise of the types of the two vectors.
Definition at line 261 of file Basic3DVectorLD.h.
T __attribute__::dot | ( | const Basic3DVector & | v | ) | const |
Scalar product, or "dot" product, with a vector of same type.
Definition at line 232 of file Basic3DVectorLD.h.
Referenced by CaloCellCrossing::CaloCellCrossing(), TruncatedPyramid::createCorners(), Basic2DVector< float >::dot(), Basic3DVector< align::Scalar >::dot(), TwoBodyDecayEstimator::estimate(), DQMStore::extract(), Trajectory::geometricalInnermostState(), CastorSD::getEnergyDeposit(), Basic2DVector< float >::mag2(), Basic3DVector< align::Scalar >::mag2(), ConversionHitChecker::nHitsBeforeVtx(), PdfWeightProducer::PdfWeightProducer(), SoftPFMuonTagInfoProducer::produce(), SoftPFElectronTagInfoProducer::produce(), AlCaHOCalibProducer::produce(), SoftLepton::relativeEta(), and BtoCharmDecayVertexMerger::resolveBtoDchain().
PreciseFloatType<T,U>::Type __attribute__::dot | ( | const Basic3DVector< U > & | v | ) | const |
Scalar (or dot) product with a vector of different precision. The product is computed without loss of precision. The type of the returned scalar is the more precise of the scalar types of the two vectors.
Definition at line 242 of file Basic3DVectorLD.h.
T __attribute__::eta | ( | ) | const |
Pseudorapidity. Does not check for zero transverse component; in this case the behavior is as for divide-by zero, i.e. system-dependent.
Definition at line 177 of file Basic3DVectorLD.h.
Referenced by Electron.Electron::absEffAreaIso(), FastL1GlobalAlgo::addJet(), StKinFitter::addKinFitInfo(), DBlmapWriter::addLMapHBEFDataset(), LMapLoader::addLMapHBEFDataset(), XMLProcessor::addLMapHBEFDataset(), StripCPEgeometric::WrappedCluster::addSuppressedEdgeStrip(), FWElectronDetailView::addTrackPointsInCaloData(), XMLHTRZeroSuppressionLoader::addZS(), PFEnergyCalibration::Alpha(), HcalRecHitClient::analyze(), HcalSummaryClient::analyze(), myFastSimVal::analyze(), HLTTauDQML1Plotter::analyze(), CMSDAS11DijetAnalyzer::analyze(), JetValidation::analyze(), MultiTrackValidator::analyze(), HiBasicGenTest::analyze(), RPCRecHitProbability::analyze(), HCALRecHitAnalyzer::analyze(), DijetMass< Jet >::analyze(), EwkMuDQM::analyze(), StandaloneTrackMonitor::analyze(), HLTMCtruth::analyze(), JetCorrectorDemo::analyze(), EwkElecDQM::analyze(), FactorizedJetCorrectorDemo::analyze(), HcalRawDataMonitor::analyze(), TrackerHitAnalyzer::analyze(), TrackAnalyzer::analyze(), ElectronSeedAnalyzer::analyze(), ElectronStudy::analyze(), EwkMuLumiMonitorDQM::analyze(), TrackBuildingAnalyzer::analyze(), L1TdeGCT::analyze(), BasicGenParticleValidation::analyze(), MBUEandQCDValidation::analyze(), IsolatedParticlesGeneratedJets::analyze(), L1TDEMON::analyze(), L1TDTTF::analyze(), SimplePhotonAnalyzer::analyze(), HcalCorrPFCalculation::analyze(), edm::FlatEGunASCIIWriter::analyze(), MuonPFAnalyzer::analyze(), JetTester::analyze(), ZMuMu_efficiencyAnalyzer::analyze(), HLTExoticaPlotter::analyze(), DTTrigTest::analyze(), HLTInclusiveVBFSource::analyze(), MuTriggerAnalyzer::analyze(), PhiSymmetryCalibration::analyze(), FourVectorHLT::analyze(), ContainmentCorrectionAnalyzer::analyze(), HLTHiggsPlotter::analyze(), HcalRecHitsValidation::analyze(), HeavyFlavorValidation::analyze(), HcalRecHitsAnalyzer::analyze(), HLTAlCa::analyze(), HLTMuonPlotter::analyze(), HLTMuonMatchAndPlot::analyze(), JetTester_HeavyIons::analyze(), HLTHiggsSubAnalysis::analyze(), EcalCosmicsHists::analyze(), EmDQM::analyze(), IsoTrackCalib::analyze(), GlobalHitsHistogrammer::analyze(), HcalTimingMonitorModule::analyze(), JetAnalyzer_HeavyIons::analyze(), HLTExoticaSubAnalysis::analyze(), JetAnalyzer::analyze(), IsolatedGenParticles::analyze(), SeedMultiplicityAnalyzer::analyze(), ErsatzMEt::analyze(), HLTObjectMonitor::analyze(), HcalDetDiagTimingMonitor::analyze(), METAnalyzer::analyze(), HcalDetDiagLEDMonitor::analyze(), IsolatedTracksNxN::analyze(), L1TEfficiencyMuons_Offline::analyze(), HcalDetDiagPedestalMonitor::analyze(), HcalDetDiagLaserMonitor::analyze(), SimHitsValidationHcal::analyzeHits(), HcalSimHitStudy::analyzeHits(), MuScleFitMuonProducer::applyCorrection(), heppy::MuScleFitCorrector::applyPtCorrection(), heppy::MuScleFitCorrector::applyPtSmearing(), MuScleFitUtils::applySmearing(), CaloTowersCreationAlgo::assignHitEcal(), CalibrationTrackSelector::basicCuts(), AlignmentTrackSelector::basicCuts(), AlignmentMuonSelector::basicCuts(), cms::MinBias::beginJob(), ElectronCalibration::beginJob(), FourVectorHLT::beginJob(), L1TdeGCT::bookHistograms(), L1TDEMON::bookHistograms(), HcalDetDiagLaserMonitor::bookHistograms(), EcalBoundaryInfoCalculator< EcalDetId >::boundaryRecHits(), FWMuonDetailView::build(), FWElectronDetailView::build(), FWConvTrackHitsDetailView::build(), PFRecoTauTagInfoAlgorithm::buildPFTauTagInfo(), L1TDTTFClient::buildPhiEtaPlotO(), L1TDTTFClient::buildPhiEtaPlotOFC(), TFitParticleEtEtaPhi::calc4Vec(), TopologyWorker::CalcEta(), TopologyWorker::CalcEta2(), HcalObjRepresent::CalcIeta(), CalcIeta(), EnergyResolutionVsLumi::calcmuTot(), CSCTFPtLUT::calcPt(), JetPlusTrackCorrector::calculateCorr(), EnergyResolutionVsLumi::CalculateDegradation(), QuadrupletSeedMerger::calculatePhiEta(), HcalDetDiagLaserClient::calculateProblems(), HcalDetDiagNoiseMonitorClient::calculateProblems(), HcalDeadCellClient::calculateProblems(), HcalDetDiagPedestalClient::calculateProblems(), HcalHotCellClient::calculateProblems(), HcalCoarsePedestalClient::calculateProblems(), HcalDigiClient::calculateProblems(), HcalDetDiagTimingClient::calculateProblems(), HcalNZSClient::calculateProblems(), HcalTrigPrimClient::calculateProblems(), HcalBeamClient::calculateProblems(), HcalRecHitClient::calculateProblems(), HcalRawDataClient::calculateProblems(), PFMETBenchmark::calculateQuantities(), ElectronEnergyCalibrator::calibrate(), l1t::calibrateAndRankJets(), l1t::calibrateAndRankTaus(), HcalNumberingFromDDD::cell(), EcalTBDaqFormatter::cellIndex(), EcalTB07DaqFormatter::cellIndex(), resolutionFunction57< T >::centralParabola(), TB06Tree::check(), TB06TreeH2::check(), DirectTrackerNavigation::checkCompatible(), EmDQM::checkGeneratedParticlesRequirement(), FWElectronDetailView::checkRange(), HcalDetDiagLEDMonitor::CheckStatus(), HcalDetDiagPedestalMonitor::CheckStatus(), IsoTrig::chgIsolation(), CutBasedElectronID::cicSelection(), CutBasedElectronID::classify(), PhotonIsolationCalculator::classify(), HFClusterAlgo::clusterize(), egammaisolation::EgammaRecHitExtractor::collect(), SimG4HcalValidation::collectEnergyRdir(), PFMEtSignInterfaceBase::compResolution(), PFCandIsolatorFromDeposits::SingleDeposit::compute(), CandIsolatorFromDeposits::SingleDeposit::compute(), EgammaTowerIsolationNew< NC >::compute(), convertEtaFromHW(), JetPlusTrackCorrector::correctAA(), TauJetCorrector::correction(), JetPartonCorrector::correction(), SimpleZSPJPTJetCorrector::correctionEtEtaPhiP(), SimpleZSPJPTJetCorrector::correctionPUEtEtaPhiP(), ElectronEnergyCalibrator::correctLinearity(), DBlmapWriter::createLMap(), L1MuGMTMerger::createMergedCand(), MuonSeedCreator::createSeed(), pat::ElectronSelector::customSelection_(), muonisolation::IsolatorByNominalEfficiency::cuts(), BsJpsiPhiFilter::cuts(), BdecayFilter::cuts(), EnergyResolutionVsLumi::Decomposition(), PFCandWithSuperClusterExtractor::depositFromObject(), DetectorVector(), FFTJetProducer::determinePileup(), FFTJetProducer::determinePileupDensityFromConfig(), FFTJetProducer::determinePileupDensityFromDB(), PFRecoTauDiscriminationByIsolation::discriminate(), HLTTauRefProducer::doElectrons(), HLTTauRefProducer::doJets(), HLTTauRefProducer::doMuons(), HLTTauRefProducer::doPFTaus(), HLTTauRefProducer::doPhotons(), HLTTauRefProducer::doTowers(), MuonGmtPair::dR(), FWElectronDetailView::drawCrossHair(), ResidualRefitting::dumpTrackRef(), ZeeCalibration::duringLoop(), EcalEleCalibLooper::EBRegionDefinition(), EcalEleCalibLooper::EcalEleCalibLooper(), EcalTBMCInfoProducer::EcalTBMCInfoProducer(), PFEnergyCalibration::EcorrZoneBeforePS(), metsig::SignAlgoResolutions::ElectronPtResolution(), ResolutionCreator::endJob(), cms::MinBias::endJob(), ElectronCalibration::endJob(), HcalRawDataMonitor::endLuminosityBlock(), FSPFProducer::energy_threshold(), PFEnergyCalibration::energyEm(), EvolutionECAL::EquilibriumFractionColorCentersEM(), EcalRecHitWorkerRecover::estimateEnergy(), MuonSeedCreator::estimatePtCSC(), MuonSeedCreator::estimatePtDT(), MuonSeedCreator::estimatePtOverlap(), MuonSeedCreator::estimatePtSingle(), L1CaloEcalScale::et(), L1CaloHcalScale::et(), kinem::eta(), Basic3DVector< align::Scalar >::eta(), smearFunctionType6::etaByPoints(), resolutionFunctionType8< T >::etaByPoints(), resolutionFunctionType9< T >::etaByPoints(), resolutionFunctionType19< T >::etaByPoints(), etaCorrE1E25(), etaCorrE1E49(), etaCorrE1E9(), RPCConst::etaFromTowerNum(), IsoTrig::etaPhiTrigger(), BTagCalibrationReader::eval(), metsig::SignAlgoResolutions::eval(), metsig::SignAlgoResolutions::evalPF(), MuonCaloCompatibility::evaluate(), PFPhotonAlgo::EvaluateGCorrMVA(), GflashShowino::evaluateLengths(), PFPhotonAlgo::EvaluateResMVA(), AlignmentMonitorTracksFromTrajectories::event(), GflashHadronShowerModel::excludeDetectorRegion(), GFlashHadronShowerModel::excludeDetectorRegion(), GFlashEMShowerModel::excludeDetectorRegion(), GflashEMShowerModel::excludeDetectorRegion(), DDHCalTestBeamAlgo::execute(), spr::extraIds(), PropagateToMuon::extrapolate(), HiEgammaSCEnergyCorrectionAlgo::fEta(), SimG4HcalValidation::fetchHits(), HiEgammaSCEnergyCorrectionAlgo::fEtEta(), fEtEtaCorr(), FFTGenericScaleCalculator::FFTGenericScaleCalculator(), PFCandidateMonitor::fill(), HcalTestAnalysis::fill(), HLTOfflineDQMTopSingleLepton::MonitorSingleLepton::fill(), SimG4HcalValidation::fill(), HLTOfflineDQMTopDiLepton::MonitorDiLepton::fill(), TopDiLeptonOffline::MonitorEnsemble::fill(), AdHocNTupler::fill(), HResolutionVSPart::Fill(), HcalCoarsePedestalMonitor::fill_Nevents(), HcalRecHitMonitor::fill_Nevents(), HcalDigiMonitor::fill_Nevents(), AlCaElectronsTest::fillAroundBarrel(), DQMSourceEleCalib::fillAroundBarrel(), HcalTB06Analysis::fillBuffer(), HcalTB04Analysis::fillBuffer(), AnalysisRootpleProducer::fillCaloJet(), AnalysisRootpleProducerOnlyMC::fillChargedJet(), AnalysisRootpleProducer::fillChargedJet(), FWECALDetailViewBuilder::fillData(), fillDefaults(), MuonSimHitsValidAnalyzer::fillDT(), HCALRecHitAnalyzer::FillGeometry(), ECALRecHitAnalyzer::FillGeometry(), HistoFillerReco< T >::fillHistos(), HistoFiller< T >::fillHistos(), GenericBenchmark::fillHistos(), HcalDetDiagLEDMonitor::fillHistos(), HcalDetDiagPedestalMonitor::fillHistos(), HcalDetDiagLaserMonitor::fillHistos(), TrackAnalyzer::fillHistosForState(), TrackAnalyzer::fillHistosForTrackerSpecific(), HcalTestHistoClass::fillHits(), AnalysisRootpleProducerOnlyMC::fillInclusiveJet(), AnalysisRootpleProducer::fillInclusiveJet(), Py8toJetInput::fillJetAlgoInput(), FastL1GlobalAlgo::FillL1RegionsTP(), ZeeCalibration::fillMCmap(), AnalysisRootpleProducerOnlyMC::fillMCParticles(), AnalysisRootpleProducer::fillMCParticles(), JetMETHLTOfflineSource::fillMEforEffAllTrigger(), JetMETHLTOfflineSource::fillMEforMonAllTrigger(), FastL1GlobalAlgo::FillMET(), GlobalHitsProdHist::fillMuon(), GlobalHitsAnalyzer::fillMuon(), GlobalHitsProducer::fillMuon(), HcalHotCellMonitor::fillNevents_energy(), HcalHotCellMonitor::fillNevents_neighbor(), HcalHotCellMonitor::fillNevents_persistentenergy(), HcalDeadCellMonitor::fillNevents_problemCells(), HcalHotCellMonitor::fillNevents_problemCells(), HcalDeadCellMonitor::fillNevents_recentdigis(), HcalDeadCellMonitor::fillNevents_recentrechits(), PlotMakerL1::fillPlots(), PlotMakerReco::fillPlots(), HcalDetDiagLaserMonitor::fillProblems(), QcdUeDQM::fillpTMaxRelated(), HcalRecHitsAnalyzer::fillRecHitsTmp(), HcalRecHitsValidation::fillRecHitsTmp(), recoBSVTagInfoValidationAnalyzer::fillRecoToSim(), SVTagInfoValidationAnalyzer::fillRecoToSim(), recoBSVTagInfoValidationAnalyzer::fillSimToReco(), SVTagInfoValidationAnalyzer::fillSimToReco(), FWHFTowerProxyBuilderBase::fillTowerForDetId(), IsolatedGenParticles::fillTrack(), AnalysisRootpleProducer::fillTracks(), AnalysisRootpleProducer::fillTracksJet(), EnergyScaleAnalyzer::fillTree(), GlobalHitsAnalyzer::fillTrk(), GlobalHitsProdHist::fillTrk(), GlobalHitsProducer::fillTrk(), HcalObjRepresent::FillUnphysicalHEHFBins(), FillUnphysicalHEHFBins(), EopVariables::fillVariables(), ZToMuMuSelector::filter(), WMuNuValidator::filter(), PythiaFilterZJet::filter(), PythiaFilterZJetWithOutBg::filter(), cms::FastSimDataFilter::filter(), pat::CaloJetSelector::filter(), PythiaFilterEMJetHeep::filter(), WMuNuSelector::filter(), WZInterestingEventSelector::filter(), EcalDeadCellBoundaryEnergyFilter::filter(), FFTJetDijetFilter::filter(), ElectronSeedProducer::filterClusters(), FWHFTowerSliceSelector::findBinFromId(), PhotonMVAEstimatorRun2Spring15NonTrig::findCategory(), PhotonMVAEstimatorRun2Phys14NonTrig::findCategory(), ElectronMVAEstimatorRun2Phys14NonTrig::findCategory(), ElectronMVAEstimatorRun2Spring15NonTrig::findCategory(), VBF.VBF::findCentralJets(), L1GctHardwareJetFinder::findFinalClusters(), FastL1GlobalAlgo::findJets(), Gflash::findShowerType(), EcalBoundaryInfoCalculator< EcalDetId >::gapRecHits(), L1ExtraParticlesProd::gctLorentzVector(), gen::Pythia6JetGun::generateEvent(), gen::Pythia6EGun::generateEvent(), gen::Pythia6PartonEGun::generateEvent(), gen::Pythia6PartonPtGun::generateEvent(), gen::Pythia6PtGun::generateEvent(), gen::Py8PtGun::generatePartonsAndHadronize(), gen::Py8EGun::generatePartonsAndHadronize(), gen::Py8JetGun::generatePartonsAndHadronize(), HcalQIEManager::generateQieTable(), get3x3(), get5x5(), HcalDetDiagLaserMonitor::get_ave_subdet(), UEParameters::get_fourier(), calib::CalibElectron::getCalibModulesWeights(), Gflash::getCalorimeterNumber(), HcalGeometry::getCells(), EcalEndcapGeometry::getCells(), CaloSubdetectorGeometry::getCells(), EcalBarrelGeometry::getCells(), EcalDeadCellTriggerPrimitiveFilter::getChannelStatusMaps(), EcalDeadCellDeltaRFilter::getChannelStatusMaps(), CaloSubdetectorGeometry::getClosestCell(), EcalBarrelGeometry::getClosestCell(), PileUpSubtractor::getCone(), TFitParticleEtEtaPhi::getDerivative(), ZdcSD::getEnergyDeposit(), CastorSD::getEnergyDeposit(), HCalSD::getEnergyDeposit(), ReflectedIterator::getEta(), MultipleAlgoIterator::getEta(), ParametrizedSubtractor::getEta(), MTVHistoProducerAlgoForTracker::getEta(), TEcnaNumbering::GetEta(), MuonTrackValidatorBase::getEta(), CovarianceMatrix::getEtaDependentScaleFactor(), HcalNumberingFromDDD::getEtaHO(), MuonErrorMatrix::getFast(), EgammaHcalIsolation::getHcalSum(), EcalTrivialConditionRetriever::getIntercalibConstantsFromConfiguration(), CalibrationCluster::getMap(), ParticleTowerProducer::getNearestTower(), HcalDbOnline::getObject(), HcalQIEManager::getQIETableFromFile(), FastL1RegionMap::getRegionCenterEtaPhi(), FastL1Region::getRegionCenterEtaPhi(), PuppiContainer::getRMSAvg(), heppy::MuScleFitCorrector::getSmearedPt(), EgammaRecHitIsolation::getSum_(), EcalBarrelNumberingScheme::getUnitID(), HcalTB02HcalNumberingScheme::getUnitID(), EcalClusterEnergyCorrection::getValue(), EcalClusterEnergyUncertainty::getValue(), EcalClusterEnergyUncertaintyObjectSpecific::getValue(), pat::helper::IsoDepositIsolator::getValue(), L1MuGMTSortRankUnit::getVeryLowQualityLevel(), MEEBGeom::globalCoord(), ConvBremSeedProducer::GoodCluster(), EcalHitMaker::hcalCellLine(), HcalNumberingFromDDD::HcalCellTypes(), reco::hcalSubdetector(), L1RCTORCAMap::highEtaMap(), HLTMuonL1RegionalFilter::hltFilter(), HLTSingleVertexPixelTrackFilter::hltFilter(), HLTJetPairDzMatchFilter< T >::hltFilter(), HLTPFTauPairLeadTrackDzMatchFilter::hltFilter(), HLTHcalTowerFilter::hltFilter(), HLTDeDxFilter::hltFilter(), HLTDiJetAveEtaFilter< T >::hltFilter(), HLTDiJetEtaTopologyFilter< T >::hltFilter(), HLTJetEtaTopologyFilter< T >::hltFilter(), HLTMinDPhiMETFilter::hltFilter(), HLTRPCTrigNoSyncFilter::hltFilter(), reco::HLTTau::HLTTau(), HResolution::HResolution(), HcalDetDiagLEDClient::htmlOutput(), HcalDetDiagLaserClient::htmlOutput(), HcalDetDiagPedestalClient::htmlOutput(), EGammaMvaEleEstimator::IDIsoCombinedMvaValue(), HSCPHLTFilter::IncreasedTreshold(), HSCPValidator::IncreasedTreshold(), SiStripRegionCabling::increment(), MSLayersKeeperX0Averaged::init(), MSLayersKeeperX0AtEta::init(), pftools::CaloWindow::init(), RectangularEtaPhiTrackingRegion::initEtaRange(), PhotonFixCMS::initialise(), DDHCalTBZposAlgo::initialize(), DDHCalTestBeamAlgo::initialize(), CaloCellGeometry::initSpan(), EcalDeadCellDeltaRFilter::isCloseToBadEcalChannel(), L1MuGMTSortRankUnit::isDisabled(), H4Geom::isInFirstHalf(), EgammaHLTHcalIsolationDoubleCone::isolPtSum(), EcalListOfFEDSProducer::Jets(), ESListOfFEDSProducer::Jets(), L1CaloEcalScale::L1CaloEcalScale(), L1CaloHcalScale::L1CaloHcalScale(), L1GctEmCand::L1GctEmCand(), MSLayersKeeperX0AtEta::layers(), L1MuDTEtaPatternLut::load(), L1MuDTQualPatternLut::load(), FFTJetPileupProcessor::loadFlatteningFactors(), L1RCTORCAMap::lowEtaMap(), main(), L1RCTORCAMap::makeBarrelData(), CaloTowerHardcodeGeometryLoader::makeCell(), HcalHardcodeGeometryLoader::makeCell(), HcalDDDGeometryLoader::makeCell(), XMLDocument::makeChId(), HFClusterAlgo::makeCluster(), Multi5x5BremRecoveryClusterAlgo::makeIslandSuperClusters(), objects.IsoTrackAnalyzer.IsoTrackAnalyzer::makeIsoTrack(), L1GctHardwareJetFinder::makeProtoJet(), hcalCalib::makeTextFile(), lhef::JetMatchingMLM::match(), HeavyFlavorValidation::match(), FWHistSliceSelector::matchCell(), StripCPEgeometric::WrappedCluster::maxProjection(), DQMExample_Step1::MediumEle(), L1MuGMTMerger::merge_rank(), QuadrupletSeedMerger::mergeTriplets(), l1t::Stage2Layer2TauAlgorithmFirmwareImp1::merging(), resolutionFunction57< T >::middleParabola(), MLP_Stochastic(), MultiTrajectoryStateMode::momentumFromModePPhiEta(), mtrTransfer(), EcalListOfFEDSProducer::Muon(), ESListOfFEDSProducer::Muon(), reco::Mustache::MustacheClust(), Electron.Electron::mvaIDLoose(), Electron.Electron::mvaIDRun2(), Electron.Electron::mvaIDTight(), EGammaMvaEleEstimator::mvaValue(), HeavyFlavorValidation::myBook2D(), HeavyFlavorValidation::myBookProfile2D(), HcalConstantsXMLWriter::newCellLine(), muonisolation::CaloExtractor::noiseEcal(), muonisolation::CaloExtractorByAssociator::noiseEcal(), SiStripMonitorMuonHLT::Normalizer(), SimG4HcalValidation::nxNAnalysis(), pat::ObjectResolutionCalc::obsRes(), FWGUIManager::open3DRegion(), EtaRangeSelector::operator()(), TrackingParticleSelector::operator()(), TrackClassFilter::operator()(), backgroundFunctionType4::operator()(), backgroundFunctionType5::operator()(), HcalChannelId::operator<(), l1t::stage2::CaloTowerPacker::pack(), parse_peak_member_function(), parseEGs(), parseJets(), parseMuons(), parseTaus(), Generator::particlePassesPrimaryCuts(), EgammaCutBasedEleId::PassEoverPCuts(), HLTHiggsSubAnalysis::passJetCuts(), HWWFunctions::passMuonRingsMVA(), PhysicsVector(), PhysicsVectorRaw(), TopologyWorker::planes_sphe(), TopologyWorker::planes_sphe_wei(), PlotOccupancyMap(), PlotOccupancyMapPhase2(), PlotOnTrackOccupancyPhase2(), HcalMonitorClient::PlotPedestalValues(), PlotTrackerXsect(), SiStripRegionCabling::positionIndex(), CaloMiscalibMapHcal::prefillMap(), L1CaloHcalScale::print(), L1CaloEcalScale::print(), objects.IsoTrackAnalyzer::printInfo(), objects.PhotonAnalyzer.PhotonAnalyzer::printInfo(), FBaseSimEvent::printMCTruth(), HcalNumberingFromDDD::printTile(), PFAlgo::processBlock(), HcalCaloTowerMonitor::processEvent(), l1t::Stage2Layer2EGammaAlgorithmFirmwareImp1::processEvent(), HcalBeamMonitor::processEvent(), HcalDeadCellMonitor::processEvent(), JetTracksAssociationDRVertex::produce(), ShallowTracksProducer::produce(), JetTracksAssociationDRVertexAssigned::produce(), JetTracksAssociationDRCalo::produce(), reco::modules::CaloRecHitCandidateProducer< HitCollection >::produce(), ShallowSimTracksProducer::produce(), JetVetoedTracksAssociationDRVertex::produce(), edm::FlatRandomOneOverPtGunProducer::produce(), edm::FlatRandomPtGunProducer::produce(), edm::FlatRandomEGunProducer::produce(), edm::ExpoRandomPtGunProducer::produce(), edm::MultiParticleInConeGunProducer::produce(), ShallowClustersProducer::produce(), IsoTracks::produce(), TtSemiLepHitFitProducer< LeptonCollection >::produce(), IsolatedEcalPixelTrackCandidateProducer::produce(), HLTPFJetIDProducer::produce(), DeltaBetaWeights::produce(), L1GctInternJetProducer::produce(), HLTCaloTowerHtMhtProducer::produce(), ParticleTowerProducer::produce(), HLTMhtProducer::produce(), HLTMETCleanerUsingJetID::produce(), HLTHtMhtProducer::produce(), EleIsoDetIdCollectionProducer::produce(), PATHemisphereProducer::produce(), GamIsoDetIdCollectionProducer::produce(), HLTTrackMETProducer::produce(), L1ExtraParticlesProd::produce(), HLTL1MuonSelector::produce(), L1TPhysicalEtAdder::produce(), IsolatedPixelTrackCandidateProducer::produce(), FFTJetPFPileupCleaner::produce(), GenHIEventProducer::produce(), L2MuonSeedGenerator::produce(), reco::CentralityProducer::produce(), FastPrimaryVertexWithWeightsProducer::produce(), FlavorHistoryProducer::produce(), l1t::GenToInputProducer::produce(), JetCrystalsAssociator::produce(), SelectedElectronFEDListProducer< TEle, TCand >::produce(), EcalTrivialConditionRetriever::produceEcalLaserAPDPNRatios(), EcalTrivialConditionRetriever::produceEcalPedestals(), SiStripRegionConnectivity::produceRegionCabling(), CSCTFPtMethods::Pt2Stn(), CSCTFPtMethods::Pt3Stn(), MuonSeedPtExtractor::pT_extract(), CSCTFPtMethods::PtEff90(), HITSiStripRawToClustersRoI::ptracks(), PuppiContainer::puppiWeights(), PrimaryVertexMonitor::pvTracksPlots(), L1CaloEcalScale::rank(), L1CaloHcalScale::rank(), StoreEcalCondition::readEcalGainRatiosFromFile(), L1MuGMTHWFileReader::readNextEvent(), HemisphereAlgo::reconstruct(), MuonTrackingRegionBuilder::region(), L1GctInternEmCand::regionId(), L1GctJetCand::regionId(), L1GctEmCand::regionId(), HcalHitRelabeller::relabel(), TB06Tree::reset(), TB06TreeH2::reset(), HcalRawDataMonitor::reset(), TB06Reco::reset(), TB06RecoH2::reset(), muonisolation::IsolatorByDepositCount::result(), muonisolation::IsolatorByDeposit::result(), MuonErrorMatrix::Rms(), CutBasedElectronID::robustSelection(), hitfit::roteta(), EcalRecHitWorkerRecover::run(), MuonMillepedeAlgorithm::run(), HIPAlignmentAlgorithm::run(), L1MuonPixelTrackFitter::run(), L1MuGMTEtaProjectionUnit::run(), L1MuGMTPhiProjectionUnit::run(), ConvBremPFTrackFinder::runConvBremFinder(), HcalDetDiagLaserMonitor::SaveRaddamData(), HcalDetDiagLEDMonitor::SaveReference(), HcalDetDiagPedestalMonitor::SaveReference(), HcalDetDiagLaserMonitor::SaveReference(), scaleFunction50< T >::scale(), scaleFunctionType30< T >::scale(), scaleFunctionType31< T >::scale(), scaleFunctionType33< T >::scale(), scaleFunctionType35< T >::scale(), scaleFunctionType50< T >::scale(), scaleFunctionType51< T >::scale(), scaleFunctionType52< T >::scale(), PFSCEnergyCalibration::SCCorrEtEtaEndcap(), MuonSeedCleaner::seedCleaner(), ElectronSeedGenerator::seedsFromThisCluster(), CosmicTrackSelector::select(), MultiTrackSelector::select(), GsfElectronAlgo::setAmbiguityData(), pftools::PFClusterCalibration::setBarrelBoundary(), L1CaloEcalScale::setBin(), L1CaloHcalScale::setBin(), GsfElectronAlgo::setCutBasedPreselectionFlag(), L1MuGMTDebugBlock::SetEta(), pftools::ParticleDeposit::setEta(), L1GctJetEtCalibrationLut::setEtaBin(), FastL1Region::SetEtaPhiIndex(), l1t::CaloParams::setEtSumEtaMax(), l1t::CaloParams::setEtSumEtaMin(), egHLT::trigTools::setFiltersObjPasses(), CaloHitResponse::setHBHEScale(), HcalTBEventPosition::setHBHEtableCoords(), FourVectorHLT::PathInfo::setHistos(), l1t::L1Candidate::setHwEta(), TFitParticleEtEtaPhi::setIni4Vec(), CastorShowerEvent::setPrimEta(), EcalGeomPhiSymHelper::setup(), PFJetBenchmark::setup(), FWPFBlockProxyBuilder::setupClusterElement(), CovarianceMatrix::setupMatrix(), FWPFClusterLegoProxyBuilder::sharedBuild(), FWECALDetailViewBuilder::showSuperClusters(), L1DummyProducer::SimpleDigi(), reco::PFRecHit::size(), smearFunctionType6::smear(), L1MuGMTSortRankUnit::sort_rank(), L1MuGMTLFMergeRankEtaPhiLUT::SpecificLookup(), L1MuGMTLFSortRankEtaPhiLUT::SpecificLookup(), L1MuGMTMIAUEtaProLUT::SpecificLookup(), L1MuGMTLFPhiProLUT::SpecificLookup(), L1MuGMTLFDisableHotLUT::SpecificLookup(), L1MuGMTLFMergeRankEtaQLUT::SpecificLookup(), L1MuGMTLFSortRankEtaQLUT::SpecificLookup(), L1MuGMTMIAUPhiPro1LUT::SpecificLookup(), L1MuGMTMIAUPhiPro1LUT::SpecificLookup_cphi_fine(), L1MuGMTMIAUPhiPro1LUT::SpecificLookup_cphi_ofs(), L1MuGMTLFDisableHotLUT::SpecificLookup_disable_hot(), L1MuGMTLFPhiProLUT::SpecificLookup_dphi(), L1MuGMTMIAUEtaProLUT::SpecificLookup_eta_sel(), L1MuGMTLFMergeRankEtaQLUT::SpecificLookup_flag(), L1MuGMTLFSortRankEtaPhiLUT::SpecificLookup_rank_etaphi(), L1MuGMTLFMergeRankEtaPhiLUT::SpecificLookup_rank_etaphi(), L1MuGMTLFSortRankEtaQLUT::SpecificLookup_rank_etaq(), L1MuGMTLFMergeRankEtaQLUT::SpecificLookup_rank_etaq(), L1MuGMTLFSortRankEtaQLUT::SpecificLookup_vlq(), StochStep(), StochStepHyb(), TB06TreeH2::store(), TB06Tree::store(), IsoTrig::studyTiming(), reco::TemplatedSoftLeptonTagInfo< REF >::taggingVariables(), TBposition(), DiLeptonAnalyzer.DiLeptonAnalyzer::testDeltaR(), TrackEfficiencyMonitor::testSTATracks(), TrackEfficiencyMonitor::testTrackerTracks(), EgammaCutBasedEleId::TestWP(), HcalNumberingFromDDD::tileHB(), HcalNumberingFromDDD::tileHE(), spr::timeOfFlight(), l1t::CaloTools::towerEta(), RPCConst::towerNumFromEta(), HcalTestAnalysis::towersToAdd(), MuonNavigableLayer::trackingRange(), PF_PU_FirstVertexTracks::TrackMatch(), TrackPlots(), translateCoeff(), TtFullHadSignalSel::TtFullHadSignalSel(), undefinedCells(), HcalNumberingFromDDD::unitID(), PFEGammaAlgo::unlinkRefinableObjectKFandECALWithBadEoverP(), pat::PackedGenParticle::unpack(), unpackEGs(), unpackJets(), unpackMuons(), unpackTaus(), HcalTestAnalysis::update(), DoCastorAnalysis::update(), ZdcTestAnalysis::update(), CastorTestAnalysis::update(), CastorShowerLibraryMaker::update(), FP420Test::update(), BscTest::update(), FW3DViewBase::updateClipPlanes(), JetPartonNamespace::ParametrizationJetParton::value(), MuonErrorMatrix::Value(), reco::isodeposit::OtherCandidatesDeltaRVeto::veto(), reco::isodeposit::OtherJetConstituentsDeltaRVeto::veto(), writeCalibTxt(), writeCMSSWCoeff(), ECALRecHitAnalyzer::WriteECALRecHits(), VirtualJetProducer::writeJets(), Pi0CalibXMLwriter::writeLine(), calibXMLwriter::writeLine(), xy(), and HcalDigiMonitor::zeroCounters().
T __attribute__::mag | ( | ) | const |
The vector magnitude. Equivalent to sqrt(vec.mag2())
Definition at line 147 of file Basic3DVectorLD.h.
Referenced by SiPixelDigitizerAlgorithm::accumulateSimHits(), SiStripDigitizerAlgorithm::accumulateSimHits(), ReferenceTrajectory::addMaterialEffectsBrl(), SiStripElectronAnalyzer::analyze(), TestHits::analyze(), DTChamberEfficiencyTask::analyze(), TestSmoothHits::analyze(), MuonTrackResidualAnalyzer::analyze(), MuonDTDigis::analyze(), IPTagPlotter< Container, Base >::analyzeTag(), GlobalTrackerMuonAlignment::analyzeTrackTrack(), GlobalTrackerMuonAlignment::analyzeTrackTrajectory(), reco::GhostTrackState::axisDistance(), ThirdHitPrediction::calculateRangesBarrel(), CaloCellCrossing::CaloCellCrossing(), TkGluedMeasurementDet::checkHitProjection(), GlobalMuonRefitter::checkMuonHits(), VZeroFinder::checkTrackPair(), MuonTrajectoryCleaner::clean(), Bcm1fSD::closeHit(), PltSD::closeHit(), TkAccumulatingSensitiveDetector::closeHit(), Phase1PixelBlade::computeCrossings(), GlobalMuonTrackMatcher::convertToTSOSMuHit(), GlobalMuonTrackMatcher::convertToTSOSTkHit(), MuonSensitiveDetector::createHit(), fireworks::createSegment(), CaloDetIdAssociator::crossedElement(), TangentCircle::curvatureError(), SiLinearChargeDivider::DeconvolutionShape(), OptOMirror::detailedDeviatesLightRay(), TangentCircle::direction(), RK4PreciseStep::distance(), SignedImpactParameter3D::distanceWithJetAxis(), DTSegtoRPC::DTSegtoRPC(), DTDigitizer::dumpHit(), CSCTimingExtractor::fillTiming(), DTTimingExtractor::fillTiming(), Phase1PixelBlade::findBin2(), AdaptiveVertexFitter::fit(), Trajectory::geometricalInnermostState(), BetaCalculatorECAL::getDetailedTrackLengthInXtals(), TrackAssociatorByPositionImpl::getState(), TrackAssociatorByPosition::getState(), TruncatedPyramid::getTransform(), CaloCellGeometry::getTransform(), MuonShowerInformationFiller::hitsFromSegments(), IdealObliquePrism::initCorners(), CalibrationTrackSelector::isIsolated(), AlignmentTrackSelector::isIsolated(), MuonCosmicCompatibilityFiller::isOverlappingMuon(), IPTools::jetTrackDistance(), HSCPValidator::makeGenPlots(), egHLT::ParticlePair< T >::mass(), GlobalCosmicMuonTrajectoryBuilder::match(), GlobalMuonTrackMatcher::match_D(), GlobalMuonTrackMatcher::match_d(), MatcherUsingTracksAlgorithm::matchByDirectComparison(), MatcherUsingTracksAlgorithm::matchWithPropagation(), NuclearTester::meanHitDistance(), TracksClusteringFromDisplacedSeed::nearTracks(), ConversionHitChecker::nHitsBeforeVtx(), SVfit_namespace::normalize(), DTTTrigSyncFromDB::offset(), DTTTrigSyncTOFCorr::offset(), RKCylindricalDistance< T, N >::operator()(), RKCurvilinearDistance< T, N >::operator()(), LinTrackCache::Vicinity::operator()(), RKCartesianDistance::operator()(), RecHitLessByDet::operator()(), MuonShowerInformationFiller::LessMag::operator()(), MuonTrackResidualAnalyzer::RadiusComparatorInOut::operator()(), reco::TrackResiduals::pack_pull(), reco::TrackResiduals::pack_residual(), egHLT::EgTagProbeCut< T >::pass(), egHLT::EgTrigTagProbeCut::pass(), egHLT::EgTrigTagProbeCut_New::pass(), egHLT::EgTrigTagProbeCut_NewPho::pass(), SiLinearChargeDivider::PeakShape(), SoftPFMuonTagInfoProducer::produce(), SoftPFElectronTagInfoProducer::produce(), EleIsoDetIdCollectionProducer::produce(), DuplicateTrackMerger::produce(), GamIsoDetIdCollectionProducer::produce(), SiStripElectronAssociator::produce(), reco::modules::CosmicTrackSplitter::produce(), SteppingHelixPropagator::propagate(), SteppingHelixPropagator::propagateWithPath(), TrackAssociatorByPositionImpl::quality(), TrackAssociatorByPosition::quality(), GenericTripletGenerator::qualityFilter(), SteppingHelixPropagator::refToDest(), CosmicRegionalSeedGenerator::regions(), SoftLepton::relativeEta(), TrackInfoProducerAlgorithm::run(), DigiSimLinkAlgorithm::run(), MagGeoBuilderFromDDD::volumeHandle::sameSurface(), SeedGeneratorForCosmics::seeds(), FWMagField::setFFFieldMag(), DDErrorDetection::so(), DynamicTruncation::sort(), SETSeedFinder::sortByLayer(), GlobalCosmicMuonTrajectoryBuilder::sortHits(), CosmicMuonSmoother::sortHitsAlongMom(), KalmanAlignmentTrackRefitter::sortRecHits(), SeedFromNuclearInteraction::stateWithError(), TangentCircle::TangentCircle(), TangentHelix::TangentHelix(), ThirdHitPredictionFromCircle::transverseIP(), reco::TrackResiduals::unpack_pull(), reco::TrackResiduals::unpack_residual(), CheckSecondary::update(), MuonSensitiveDetector::updateHit(), and MultiVertexFitter::updateSeeds().
T __attribute__::mag2 | ( | ) | const |
The vector magnitude squared. Equivalent to vec.dot(vec)
Definition at line 144 of file Basic3DVectorLD.h.
Referenced by ThirdHitPrediction::angleRatio(), fastmath::atan2r(), ThirdHitPrediction::calculateRangesForward(), CaloCellCrossing::CaloCellCrossing(), CaloSegment::CaloSegment(), FastCircle::createCircleParameters(), SimpleNavigableLayer::crossingState(), EcalHitMaker::ecalCellLine(), RawParticle::et(), ThirdHitPrediction::findTouchingCircles(), V0Fitter::fitAll(), ClusterShapeTrackFilter::getGlobalDirs(), NuclearTrackCorrector::getInitialState(), ThirdHitPrediction::invertCircle(), ThirdHitPrediction::invertPoint(), ThirdHitPrediction::isCompatibleWithMultipleScattering(), SMS::location(), SVfit_namespace::normalize(), DistanceToCell::operator()(), fftjetcms::JetConvergenceDistance::operator()(), CaloPoint::DistanceToVertex::operator()(), CaloPoint::operator<(), TwoTrackMinimumDistance::pointsHelixHelix(), and ThirdHitPredictionFromCircle::HelixRZ::rAtZ().
|
inline |
scalar product of vectors of same precision
Definition at line 282 of file Basic3DVectorLD.h.
References Basic3DVector< long double >::dot().
|
inline |
scalar product of vectors of different precision
Definition at line 288 of file Basic3DVectorLD.h.
References Basic3DVector< long double >::x(), Basic3DVector< T >::x(), Basic3DVector< long double >::y(), Basic3DVector< T >::y(), Basic3DVector< long double >::z(), and Basic3DVector< T >::z().
|
inline |
Definition at line 294 of file Basic3DVectorLD.h.
References Basic3DVector< long double >::x(), Basic3DVector< T >::x(), Basic3DVector< long double >::y(), Basic3DVector< T >::y(), Basic3DVector< long double >::z(), and Basic3DVector< T >::z().
|
inline |
Multiplication by scalar, does not change the precision of the vector. The return type is the same as the type of the vector argument.
Definition at line 304 of file Basic3DVectorLD.h.
References edmStreamStallGrapher::t, Basic3DVector< long double >::x(), Basic3DVector< long double >::y(), and Basic3DVector< long double >::z().
|
inline |
Same as operator*( Vector, Scalar)
Definition at line 310 of file Basic3DVectorLD.h.
References edmStreamStallGrapher::t, Basic3DVector< long double >::x(), Basic3DVector< long double >::y(), and Basic3DVector< long double >::z().
|
inline |
|
inline |
Basic3DVector& __attribute__::operator*= | ( | T | t | ) |
Scaling by a scalar value (multiplication)
Definition at line 215 of file Basic3DVectorLD.h.
|
inline |
vector sum and subtraction of vectors of possibly different precision
Definition at line 239 of file Basic3DVectorLD.h.
References Basic3DVector< long double >::x(), Basic3DVector< long double >::y(), and Basic3DVector< long double >::z().
|
inline |
Definition at line 253 of file Basic3DVectorLD.h.
References Basic3DVector< long double >::x(), Basic3DVector< T >::x(), Basic3DVector< long double >::y(), Basic3DVector< T >::y(), Basic3DVector< long double >::z(), and Basic3DVector< T >::z().
|
inline |
Definition at line 260 of file Basic3DVectorLD.h.
Basic3DVector& __attribute__::operator+= | ( | const Basic3DVector< U > & | p | ) |
Operator += with a Basic3DVector of possibly different precision.
Definition at line 194 of file Basic3DVectorLD.h.
Basic3DVector __attribute__::operator- | ( | ) | const |
Unary minus, returns a vector with components (-x(),-y(),-z())
Definition at line 212 of file Basic3DVectorLD.h.
|
inline |
Definition at line 244 of file Basic3DVectorLD.h.
References Basic3DVector< long double >::x(), Basic3DVector< long double >::y(), and Basic3DVector< long double >::z().
|
inline |
Definition at line 268 of file Basic3DVectorLD.h.
|
inline |
Definition at line 275 of file Basic3DVectorLD.h.
References Basic3DVector< long double >::x(), Basic3DVector< T >::x(), Basic3DVector< long double >::y(), Basic3DVector< T >::y(), Basic3DVector< long double >::z(), and Basic3DVector< T >::z().
Basic3DVector& __attribute__::operator-= | ( | const Basic3DVector< U > & | p | ) |
Operator -= with a Basic3DVector of possibly different precision.
Definition at line 204 of file Basic3DVectorLD.h.
|
inline |
Division by scalar, does not change the precision of the vector. The return type is the same as the type of the vector argument.
Definition at line 329 of file Basic3DVectorLD.h.
References alignCSCRings::s, and edmStreamStallGrapher::t.
Basic3DVector& __attribute__::operator/= | ( | T | t | ) |
bool __attribute__::operator== | ( | const Basic3DVector & | rh | ) | const |
Definition at line 139 of file Basic3DVectorLD.h.
T __attribute__::perp | ( | ) | const |
Magnitude of transverse component.
Definition at line 153 of file Basic3DVectorLD.h.
Referenced by CMSTopTagger::_find_min_mass(), ElectronMcSignalValidator::analyze(), DrellYanValidation::analyze(), MBUEandQCDValidation::analyze(), MuonAlignmentAnalyzer::analyze(), TOBLayerBuilder::build(), PixelBlade::computeCrossings(), ZeeCalibration::fillEleInfo(), HcalFlexiHardcodeGeometryLoader::fillHE(), HcalFlexiHardcodeGeometryLoader::fillHF(), GlobalHitsAnalyzer::fillMuon(), GlobalHitsProdHist::fillMuon(), GlobalHitsProducer::fillMuon(), GlobalHitsAnalyzer::fillTrk(), GlobalHitsProdHist::fillTrk(), GlobalHitsProducer::fillTrk(), TIDLayer::findClosest(), SiStripElectronAlgo::findElectron(), TIDLayer::findNextIndex(), MuonShowerInformationFiller::findPerpCluster(), Phase2OTECRingedLayer::findThreeClosest(), Trajectory::geometricalInnermostState(), CaloGeometryHelper::getClosestCell(), TrackFitter::getCotThetaAndUpdateZip(), TkLasBeamFitter::getLasBeams(), reco::GhostTrackPrediction::GhostTrackPrediction(), TkLasBeamFitter::globalTrackPoint(), SimpleDiskBounds::inside(), DiskSectorBounds::inside(), TrackingRecHitLessFromGlobalPosition::insideOutLess(), MaterialAccountingGroup::MaterialAccountingGroup(), ThirdHitZPrediction::operator()(), CompareTwoTracksVectors::operator()(), TangentApproachInRPhi::perpdist(), EleIsoDetIdCollectionProducer::produce(), GamIsoDetIdCollectionProducer::produce(), RKPropagatorInS::propagateParametersOnCylinder(), AnalyticalPropagator::propagateParametersOnPlane(), SoftLepton::refineJetAxis(), CATopJetAlgorithm::run(), and cms::CATopJetProducer::runAlgorithm().
T __attribute__::perp2 | ( | ) | const |
Squared magnitude of transverse component.
Definition at line 150 of file Basic3DVectorLD.h.
Referenced by SimpleMetricsUpdator::additionalSelectionCriterion(), PixelClusterShapeSeedComparitor::compatible(), TwoBodyDecayLinearizationPointFinder::getLinearizationPoint(), FastHelix::helixStateAtVertex(), reco::GhostTrackPrediction::init(), SimpleDiskBounds::inside(), DiskSectorBounds::inside(), and CMSTopTagger::result().
Definition at line 163 of file Basic3DVectorLD.h.
Geom::Theta<T> __attribute__::theta | ( | ) | const |
Definition at line 170 of file Basic3DVectorLD.h.
References Basic3DVector< T >::Basic3DVector(), Basic3DVector< T >::x(), Basic3DVector< T >::y(), and Basic3DVector< T >::z().
Referenced by GflashTrajectory::_refreshCache(), FastL1GlobalAlgo::addJet(), Hector::addPartToHepMC(), fireworks::addStraightLineSegment(), HCALRecHitAnalyzer::analyze(), ElectronTagProbeAnalyzer::analyze(), StandaloneTrackMonitor::analyze(), TrackerHitAnalyzer::analyze(), TrackBuildingAnalyzer::analyze(), EcalTrigPrimAnalyzer::analyze(), edm::FlatEGunASCIIWriter::analyze(), EcalTPGParamBuilder::analyze(), MuonDTDigis::analyze(), BremsstrahlungSimulator::brem(), MuonBremsstrahlungSimulator::brem(), FWConvTrackHitsDetailView::build(), FWMET3DProxyBuilder::build(), FWTauProxyBuilderBase::buildBaseTau(), FWECALDetailViewBuilder::buildCaloData(), FWPFClusterRPZUtils::buildRhoZClusterLineSet(), FWMETProxyBuilder::buildViewType(), FWJetProxyBuilder::buildViewType(), TFitParticleMCPInvSpher::calc4Vec(), TFitParticleMCSpher::calc4Vec(), TFitParticleESpher::calc4Vec(), TFitParticleEtThetaPhi::calc4Vec(), TFitParticleSpher::calc4Vec(), CSCHaloAlgo::Calculate(), TwoBodyDecayModel::cartesianSecondaryMomenta(), MultipleScatteringSimulator::compute(), NuclearInteractionSimulator::compute(), AnalyticalCurvilinearJacobian::computeFullJacobian(), HDRShower::computeShower(), DTDigitizer::computeTime(), EcalHitMaker::configureGeometry(), DDHCalEndcapAlgo::constructInsideModule(), DDHCalEndcapAlgo::constructInsideModule0(), ElectronEnergyCalibrator::correctLinearity(), TSCPBuilderNoMaterial::createFTSatTransverseImpactPointNeutral(), fireworks::createSegment(), ZMuMuIsolationAnalyzer::Deposits(), Decay3Body::doDecay(), CSCValidation::doSegments(), DTDigitizer::driftTimeFromParametrization(), DTBtiChip::DTBtiChip(), ECALPositionCalculator::ecalEta(), tauImpactParameter::MultiProngTauSolver::estimateNu(), RawParticle::eta(), metsig::SignAlgoResolutions::eval(), DDAngular::execute(), DDHCalTestBeamAlgo::execute(), DDHCalXtalAlgo::execute(), DDTIBLayerAlgo_MTCC::execute(), DDTECOptoHybAlgo::execute(), DDTIBLayerAlgo::execute(), DDHCalTBZposAlgo::execute(), DDTECAxialCableAlgo::execute(), DDTECPhiAltAlgo::execute(), DDTECPhiAlgo::execute(), DDTIDAxialCableAlgo::execute(), DDTIDRingAlgo::execute(), DDTrackerAngular::execute(), DDTrackerAngularV1::execute(), DDTrackerPhiAlgo::execute(), DDTrackerPhiAltAlgo::execute(), DDEcalBarrelAlgo::execute(), DDEcalBarrelNewAlgo::execute(), KinematicPerigeeConversions::extendedPerigeeFromKinematicParameters(), HcalTestAnalysis::fill(), SimG4HcalValidation::fill(), HcalTB06Analysis::fillBuffer(), HcalTB04Analysis::fillBuffer(), GenSpecificAlgo::fillCommonMETData(), MuonCaloCleanerByDistance::fillEnergyDepositMap(), TrackerHitProducer::fillG4MC(), TrackAnalyzer::fillHistosForState(), FastL1GlobalAlgo::FillMET(), reco::Mustache::FillMustacheVar(), NtupleManager::FillOptObjects(), EopVariables::fillVariables(), SETFilter::find3MoreStartingPoints(), spr::findDetIdECAL(), spr::findDetIdHCAL(), SETFilter::findMinChi2(), MuonShowerInformationFiller::findThetaCluster(), tauImpactParameter::TauA1NuConstrainedFitter::fit(), OutInConversionSeedFinder::fixPointRadius(), PerigeeConversions::ftsToPerigeeParameters(), FTSFromVertexToPointFactory::get(), calib::CalibElectron::getCalibModulesWeights(), EcalDeadCellTriggerPrimitiveFilter::getChannelStatusMaps(), EcalDeadCellDeltaRFilter::getChannelStatusMaps(), TFitParticleMCPInvSpher::getDerivative(), TFitParticleMCSpher::getDerivative(), TFitParticleESpher::getDerivative(), TFitParticleEtThetaPhi::getDerivative(), TFitParticleSpher::getDerivative(), ZdcSD::getEnergyDeposit(), CastorSD::getEnergyDeposit(), PythiaFilterIsolatedTrack::GetEtaPhiAtEcal(), IsolatedPixelTrackCandidateProducer::GetEtaPhiAtEcal(), IsoTrig::GetEtaPhiAtEcal(), reco::TauMassTagInfo::getInvariantMass(), CastorShowerLibraryMaker::GetKinematics(), pftools::CaloEllipse::getMajorMinorAxes(), CastorShowerLibrary::getShowerHits(), pftools::CaloEllipse::getTheta(), CaloCellId::getThetaCell(), HWWFunctions::gsftrks_dz_pv(), DDHCalTBZposAlgo::initialize(), DDHCalTestBeamAlgo::initialize(), MuonMesh::isClusteredWith(), MuonMesh::isDuplicateOf(), HcalHardcodeGeometryLoader::makeCell(), HcalDDDGeometryLoader::makeCell(), Multi5x5BremRecoveryClusterAlgo::makeIslandSuperClusters(), fireworks::makeRhoZSuperCluster(), FinalTreeBuilder::momentumPart(), CosmicGenFilterHelix::monitorStart(), heppy::Davismt2::mt2_massless(), muonisolation::CaloExtractor::MuonAtCaloPosition(), SimpleConeBounds::openingAngle(), PixelTrackFilterByKinematics::operator()(), SimG4HcalHitCluster::operator+=(), reco::PreshowerCluster::operator<(), PrimaryVertexAnalyzer4PU::printPVTrks(), DDLTrapezoid::processElement(), ShallowTracksProducer::produce(), edm::FlatRandomPtThetaGunProducer::produce(), edm::FlatRandomEThetaGunProducer::produce(), edm::FileRandomKEThetaGunProducer::produce(), edm::FlatRandomOneOverPtGunProducer::produce(), ShallowSimTracksProducer::produce(), edm::FlatRandomEGunProducer::produce(), edm::FlatRandomPtGunProducer::produce(), edm::ExpoRandomPtGunProducer::produce(), edm::MultiParticleInConeGunProducer::produce(), pf2pat::PFMETAlgo::produce(), HLTL1MuonSelector::produce(), L2MuonSeedGenerator::produce(), JetCrystalsAssociator::produce(), TrackKinematicStatePropagator::propagateToTheTransversePCANeutral(), AsciiNeutronReader::readNextEvent(), heppy::Hemisphere::Reconstruct(), SteppingHelixPropagator::refToDest(), MuonTrackingRegionBuilder::region(), PointSeededTrackingRegionsProducer::regions(), heppy::Hemisphere::RejectISR(), KFBasedPixelFitter::run(), PFSpecificAlgo::run(), EcalRecHitWorkerRecover::run(), PFPhotonAlgo::RunPFPhoton(), RecoTracktoTP::s_eta(), TPtoRecoTrack::s_eta(), EcalDeadCellTriggerPrimitiveFilter::setEvtRecHitstatus(), TFitParticleMCPInvSpher::setIni4Vec(), TFitParticleMCSpher::setIni4Vec(), TFitParticleSpher::setIni4Vec(), TFitParticleEtThetaPhi::setIni4Vec(), TFitParticleESpher::setIni4Vec(), HcalForwardAnalysis::setPhotons(), tauImpactParameter::MultiProngTauSolver::setTauDirectionatThetaGJMax(), EcalSelectiveReadoutValidation::setTtEtSums(), EcalSelectiveReadoutSuppressor::setTtFlags(), DTRecHitQuality::simHitImpactAngle(), smearFunctionBase::smearEta(), tauImpactParameter::TauA1NuConstrainedFitter::SolveAmbiguityAnalytically(), tauImpactParameter::TauA1NuConstrainedFitter::SolveAmbiguityAnalyticallywithRot(), tauImpactParameter::MultiProngTauSolver::solveByRotation(), TangentCircle::TangentCircle(), tauImpactParameter::TauA1NuConstrainedFitter::TauRot(), kinem::theta(), HDRShower::thetaFunction(), HcalTestAnalysis::timeOfFlight(), HcalTB04Analysis::timeOfFlight(), spr::timeOfFlight(), SiStripFineDelayTOF::timeOfFlightBeamB(), SiStripFineDelayTOF::timeOfFlightCosmicB(), MuonNavigableLayer::trackingRange(), ParticleReplacerZtautau::transformMuMu2TauNu(), HWWFunctions::trks_dz_pv(), InvariantMassFromVertex::uncertainty(), HcalNumberingFromDDD::unitID(), HcalTestAnalysis::update(), HcalTB02Analysis::update(), DoCastorAnalysis::update(), CastorTestAnalysis::update(), pftools::Utils::VectorEPRtoXYZ(), and ECALRecHitAnalyzer::WriteECALRecHits().
T __attribute__::transverse | ( | ) | const |
Another name for perp()
Definition at line 156 of file Basic3DVectorLD.h.
Referenced by SequentialVertexFitter< N >::fit().
Basic3DVector __attribute__::unit | ( | ) | const |
Unit vector parallel to this. If mag() is zero, a zero vector is returned.
Definition at line 183 of file Basic3DVectorLD.h.
T __attribute__::x | ( | ) | const |
Cartesian x coordinate.
Definition at line 127 of file Basic3DVectorLD.h.
References Basic3DVector< T >::perp(), and Basic3DVector< T >::z().
Basic2DVector<T> __attribute__::xy | ( | ) | const |
Definition at line 135 of file Basic3DVectorLD.h.
References eta(), Basic3DVector< T >::x(), Basic3DVector< T >::y(), and Basic3DVector< T >::z().
T __attribute__::y | ( | ) | const |
T __attribute__::z | ( | ) | const |
T theW |
Definition at line 271 of file Basic3DVectorLD.h.
Referenced by align::diffAlignables().
T theX |
Definition at line 268 of file Basic3DVectorLD.h.
T theY |
Definition at line 269 of file Basic3DVectorLD.h.
T theZ |
Definition at line 270 of file Basic3DVectorLD.h.
Referenced by LaserAlignment::testRoutine().