CMS 3D CMS Logo

Classes | Typedefs | Functions | Variables

/data/refman/pasoursint/CMSSW_6_1_1/src/DataFormats/GeometryVector/interface/Basic3DVectorLD.h File Reference

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< TMathVector
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
template<class U >
 Basic3DVector (const Basic3DVector< U > &p)
 Copy constructor and implicit conversion from Basic3DVector of different precision.
 Basic3DVector (const T &x, const T &y, const T &z)
 construct from cartesian coordinates
template<typename U >
 Basic3DVector (const Geom::Theta< U > &theta, const Geom::Phi< U > &phi, const T &r)
 Basic3DVector (const Basic2DVector< T > &p)
 constructor from 2D vector (X and Y from 2D vector, z set to zero)
 Basic3DVector ()
 Basic3DVector (const Basic3DVector &p)
 Copy constructor from same type. Should not be needed but for gcc bug 12685.
template<class OtherPoint >
 Basic3DVector (const OtherPoint &p)
template<typename U >
 Basic3DVector (mathSSE::Vec4< U > const &iv)
Basic3DVector cross (const Basic3DVector &v) const
 Vector product, or "cross" product, with a vector of same type.
template<class U >
Basic3DVector< typename
PreciseFloatType< T, U >::Type > 
cross (const Basic3DVector< U > &v) const
template<class U >
PreciseFloatType< T, U >::Type dot (const Basic3DVector< U > &v) const
T dot (const Basic3DVector &v) const
 Scalar product, or "dot" product, with a vector of same type.
T eta () const
T mag () const
 The vector magnitude. Equivalent to sqrt(vec.mag2())
T mag2 () const
 The vector magnitude squared. Equivalent to vec.dot(vec)
template<typename S >
Basic3DVector< long double > operator* (const Basic3DVector< long double > &v, S t)
Basic3DVector< long double > operator* (long double t, const Basic3DVector< long double > &v)
 Same as operator*( Vector, Scalar)
template<class U >
PreciseFloatType< long double,
U >::Type 
operator* (const Basic3DVector< U > &v1, const Basic3DVector< long double > &v2)
long double operator* (const Basic3DVector< long double > &v1, const Basic3DVector< long double > &v2)
 scalar product of vectors of same precision
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
Basic3DVector< long double > operator* (const Basic3DVector< long double > &v, long double t)
template<typename S >
Basic3DVector< long double > operator* (S t, const Basic3DVector< long double > &v)
Basic3DVectoroperator*= (T t)
 Scaling by a scalar value (multiplication)
Basic3DVector< long double > operator+ (const Basic3DVector< long double > &a, const Basic3DVector< long double > &b)
 vector sum and subtraction of vectors of possibly different precision
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 >
Basic3DVectoroperator+= (const Basic3DVector< U > &p)
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< U > &a, const Basic3DVector< long double > &b)
Basic3DVector operator- () const
 Unary minus, returns a vector with components (-x(),-y(),-z())
template<class U >
Basic3DVector< typename
PreciseFloatType< long double,
U >::Type > 
operator- (const Basic3DVector< long double > &a, const Basic3DVector< U > &b)
template<class U >
Basic3DVectoroperator-= (const Basic3DVector< U > &p)
template<typename S >
Basic3DVector< long double > operator/ (const Basic3DVector< long double > &v, S s)
Basic3DVectoroperator/= (T t)
 Scaling by a scalar value (division)
bool operator== (const Basic3DVector &rh) const
T perp () const
 Magnitude of transverse component.
T perp2 () const
 Squared magnitude of transverse component.
Geom::Phi< Tphi () const
Geom::Theta< Ttheta () const
T transverse () const
 Another name for perp()
Basic3DVector unit () const
T x () const
 Cartesian x coordinate.
Basic2DVector< Txy () const
T y () const
 Cartesian y coordinate.
T z () const
 Cartesian z coordinate.

Variables

T theW
T theX
T theY
T theZ

Typedef Documentation

typedef Basic3DVector<long double> Basic3DVectorLD

Definition at line 328 of file Basic3DVectorLD.h.

Definition at line 233 of file Basic3DVectorLD.h.

Definition at line 237 of file Basic3DVectorLD.h.

typedef Spherical Polar

Definition at line 235 of file Basic3DVectorLD.h.

typedef T ScalarType

Definition at line 232 of file Basic3DVectorLD.h.

Definition at line 234 of file Basic3DVectorLD.h.

typedef long double T

Definition at line 231 of file Basic3DVectorLD.h.


Function Documentation

template<>
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 329 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 336 of file Basic3DVectorLD.h.

template<class U >
__attribute__::Basic3DVector ( const Basic3DVector< U > &  p)

Copy constructor and implicit conversion from Basic3DVector of different precision.

Definition at line 251 of file Basic3DVectorLD.h.

                                                                          {
__attribute__::Basic3DVector ( const T x,
const T y,
const T z 
)

construct from cartesian coordinates

Definition at line 279 of file Basic3DVectorLD.h.

template<typename U >
__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 287 of file Basic3DVectorLD.h.

                                                                                                       {
  return v1.x()*v2.x() + v1.y()*v2.y() + v1.z()*v2.z();
}

__attribute__::Basic3DVector ( const Basic2DVector< T > &  p)

constructor from 2D vector (X and Y from 2D vector, z set to zero)

Definition at line 255 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 243 of file Basic3DVectorLD.h.

__attribute__::Basic3DVector ( const Basic3DVector p)

Copy constructor from same type. Should not be needed but for gcc bug 12685.

Definition at line 246 of file Basic3DVectorLD.h.

template<class OtherPoint >
__attribute__::Basic3DVector ( const OtherPoint &  p) [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 267 of file Basic3DVectorLD.h.

                                                                           {
template<typename U >
__attribute__::Basic3DVector ( mathSSE::Vec4< U > const &  iv)

Definition at line 274 of file Basic3DVectorLD.h.

                                                                                                          {
Basic3DVector __attribute__::cross ( const Basic3DVector v) const

Vector product, or "cross" product, with a vector of same type.

Definition at line 414 of file Basic3DVectorLD.h.

Referenced by RPCSeedPattern::createSeed(), and MSLayersAtAngle::sum2RmRn().

template<class U >
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 428 of file Basic3DVectorLD.h.

template<class U >
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 409 of file Basic3DVectorLD.h.

T __attribute__::dot ( const Basic3DVector v) const
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 344 of file Basic3DVectorLD.h.

Referenced by FastL1GlobalAlgo::addJet(), StKinFitter::addKinFitInfo(), DBlmapWriter::addLMapHBEFDataset(), XMLProcessor::addLMapHBEFDataset(), LMapLoader::addLMapHBEFDataset(), StripCPEgeometric::WrappedCluster::addSuppressedEdgeStrip(), FWElectronDetailView::addTrackPointsInCaloData(), XMLHTRZeroSuppressionLoader::addZS(), PFEnergyCalibration::Alpha(), TrackerHitAnalyzer::analyze(), HiBasicGenTest::analyze(), HcalRecHitsValidation::analyze(), GlobalHitsHistogrammer::analyze(), MBUEandQCDValidation::analyze(), BasicGenParticleValidation::analyze(), ContainmentCorrectionAnalyzer::analyze(), PhiSymmetryCalibration::analyze(), HCALRecHitAnalyzer::analyze(), DTTrigTest::analyze(), IsolatedGenParticles::analyze(), HcalDetDiagLaserMonitor::analyze(), HLTMuonMatchAndPlot::analyze(), ZMuMu_efficiencyAnalyzer::analyze(), JetValidation::analyze(), EERecoSummary::analyze(), EmDQM::analyze(), JetCorrectorDemo::analyze(), HLTInclusiveVBFSource::analyze(), edm::FlatEGunASCIIWriter::analyze(), HLTHiggsSubAnalysis::analyze(), HLTJetMETDQMSource::analyze(), EwkMuLumiMonitorDQM::analyze(), ErsatzMEt::analyze(), HcalCorrPFCalculation::analyze(), HcalRecHitClient::analyze(), RPCRecHitProbability::analyze(), FactorizedJetCorrectorDemo::analyze(), EBTimingClient::analyze(), HcalDetDiagTimingMonitor::analyze(), HLTMonPhotonSource::analyze(), HLTMonSimpleBTag::analyze(), Rivet::MC_LES_HOUCHES_SYSTEMATICS_CMS::analyze(), EcalCosmicsHists::analyze(), EEOccupancyTask::analyze(), HcalDetDiagPedestalMonitor::analyze(), EBRecoSummary::analyze(), Rivet::CMS_2012_PAS_QCD_11_010::analyze(), HLTMCtruth::analyze(), HLTAlCa::analyze(), L1TdeGCT::analyze(), TrackBuildingAnalyzer::analyze(), ElectronSeedAnalyzer::analyze(), cms::GammaJetAnalysis::analyze(), IsolatedParticlesGeneratedJets::analyze(), HcalSummaryClient::analyze(), FourVectorHLT::analyze(), HLTMonHcalIsoTrack::analyze(), L1TDEMON::analyze(), EwkMuDQM::analyze(), Rivet::CMS_2012_I1184941::analyze(), DijetMass< Jet >::analyze(), myFastSimVal::analyze(), HcalTimingMonitorModule::analyze(), HcalDetDiagLEDMonitor::analyze(), HcalRawDataMonitor::analyze(), HLTMonBTagIPSource::analyze(), HcalRecHitsAnalyzer::analyze(), PFJetAnalyzer::analyze(), SimplePhotonAnalyzer::analyze(), CMSDAS11DijetAnalyzer::analyze(), HLTMuonPlotter::analyze(), HeavyFlavorValidation::analyze(), IsolatedTracksNxN::analyze(), EwkElecDQM::analyze(), ImpactParameterCalibration::analyze(), HLTHiggsPlotter::analyze(), L1TDTTF::analyze(), MuTriggerAnalyzer::analyze(), TopValidation::analyze(), ElectronStudy::analyze(), JetAnalyzer::analyze(), SimHitsValidationHcal::analyzeHits(), HcalSimHitStudy::analyzeHits(), MuScleFitUtils::applySmearing(), CaloTowersCreationAlgo::assignHit(), AlignmentMuonSelector::basicCuts(), CalibrationTrackSelector::basicCuts(), AlignmentTrackSelector::basicCuts(), SiPixelTrackingRecHitsValid::beginJob(), HLTMonSimpleBTag::beginJob(), L1TdeGCT::beginJob(), L1TDEMON::beginJob(), cms::MinBias::beginJob(), ElectronCalibration::beginJob(), FourVectorHLT::beginJob(), cms::Analyzer_minbias::beginJob(), HcalDetDiagLaserMonitor::beginRun(), EcalBoundaryInfoCalculator< EcalDetId >::boundaryRecHits(), FWMuonDetailView::build(), FWElectronDetailView::build(), PFRecoTauTagInfoAlgorithm::buildPFTauTagInfo(), L1TDTTFClient::buildPhiEtaPlotO(), L1TDTTFClient::buildPhiEtaPlotOFC(), TFitParticleEtEtaPhi::calc4Vec(), TopologyWorker::CalcEta(), TopologyWorker::CalcEta2(), HcalObjRepresent::CalcIeta(), CalcIeta(), CSCTFPtLUT::calcPt(), JetPlusTrackCorrector::calculateCorr(), QuadrupletSeedMerger::calculatePhiEta(), HcalDeadCellClient::calculateProblems(), HcalCoarsePedestalClient::calculateProblems(), HcalDetDiagPedestalClient::calculateProblems(), HcalDigiClient::calculateProblems(), HcalRecHitClient::calculateProblems(), HcalDetDiagNoiseMonitorClient::calculateProblems(), HcalTrigPrimClient::calculateProblems(), HcalDetDiagTimingClient::calculateProblems(), HcalNZSClient::calculateProblems(), HcalBeamClient::calculateProblems(), HcalDetDiagLaserClient::calculateProblems(), HcalHotCellClient::calculateProblems(), HcalRawDataClient::calculateProblems(), PFMETBenchmark::calculateQuantities(), HcalNumberingFromDDD::cell(), EcalTBDaqFormatter::cellIndex(), EcalTB07DaqFormatter::cellIndex(), TB06TreeH2::check(), TB06Tree::check(), DirectTrackerNavigation::checkCompatible(), EmDQM::checkGeneratedParticlesRequirement(), checkHLTMatch(), FWElectronDetailView::checkRange(), HcalDetDiagLEDMonitor::CheckStatus(), HcalDetDiagPedestalMonitor::CheckStatus(), CutBasedElectronID::cicSelection(), PhotonIsolationCalculator::classify(), CutBasedElectronID::classify(), PFRootEventManager::closestParticle(), HFClusterAlgo::clusterize(), egammaisolation::EgammaRecHitExtractor::collect(), SimG4HcalValidation::collectEnergyRdir(), EgammaTowerIsolationNew< NC >::compute(), CandIsolatorFromDeposits::SingleDeposit::compute(), PFCandIsolatorFromDeposits::SingleDeposit::compute(), METManager::computeGenMET(), JetPlusTrackCorrector::correctAA(), JetPartonCorrector::correction(), TauJetCorrector::correction(), SimpleZSPJPTJetCorrector::correctionEtEtaPhiP(), SimpleZSPJPTJetCorrector::correctionPUEtEtaPhiP(), DisplayManager::createGCluster(), DisplayManager::createGGenParticle(), DisplayManager::createGPart(), DisplayManager::createGRecHit(), DisplayManager::createGTrack(), DBlmapWriter::createLMap(), L1MuGMTMerger::createMergedCand(), MuonSeedCreator::createSeed(), pat::ElectronSelector::customSelection_(), muonisolation::IsolatorByNominalEfficiency::cuts(), Histograms::declareHistograms(), PFCandWithSuperClusterExtractor::depositFromObject(), DetectorVector(), FFTJetProducer::determinePileup(), FFTJetProducer::determinePileupDensityFromConfig(), FFTJetProducer::determinePileupDensityFromDB(), DisplayManager::displayCanvas(), HLTTauRefProducer::doElectrons(), HLTTauRefProducer::doJets(), HLTTauRefProducer::doMuons(), HLTTauRefProducer::doPFTaus(), HLTTauRefProducer::doPhotons(), HLTTauRefProducer::doTowers(), TrackAnalyzer::doTrackerSpecificFillHists(), FWElectronDetailView::drawCrossHair(), ResidualRefitting::dumpTrackRef(), ZeeCalibration::duringLoop(), EcalEleCalibLooper::EBRegionDefinition(), EcalEleCalibLooper::EcalEleCalibLooper(), EcalTBMCInfoProducer::EcalTBMCInfoProducer(), PFEnergyCalibration::EcorrZoneBeforePS(), metsig::SignAlgoResolutions::ElectronPtResolution(), ElectronCalibration::endJob(), ResolutionCreator::endJob(), cms::MinBias::endJob(), HcalRawDataMonitor::endLuminosityBlock(), FSPFProducer::energy_threshold(), PFEnergyCalibration::energyEm(), EcalRecHitWorkerRecover::estimateEnergy(), MuonSeedCreator::estimatePtCSC(), MuonSeedCreator::estimatePtDT(), MuonSeedCreator::estimatePtOverlap(), MuonSeedCreator::estimatePtSingle(), L1CaloHcalScale::et(), L1CaloEcalScale::et(), kinem::eta(), resolutionFunctionType8< T >::etaByPoints(), smearFunctionType6::etaByPoints(), resolutionFunctionType19< T >::etaByPoints(), resolutionFunctionType9< T >::etaByPoints(), etaCorrE1E25(), etaCorrE1E49(), etaCorrE1E9(), RPCConst::etaFromTowerNum(), metsig::SignAlgoResolutions::eval(), metsig::SignAlgoResolutions::evalPF(), MuonCaloCompatibility::evaluate(), PFPhotonAlgo::EvaluateGCorrMVA(), GflashShowino::evaluateLengths(), PFPhotonAlgo::EvaluateResMVA(), AlignmentMonitorTracksFromTrajectories::event(), GFlashEMShowerModel::excludeDetectorRegion(), GflashEMShowerModel::excludeDetectorRegion(), GflashHadronShowerModel::excludeDetectorRegion(), DDHCalTestBeamAlgo::execute(), spr::extraIds(), PropagateToMuon::extrapolate(), HiEgammaSCEnergyCorrectionAlgo::fEta(), SimG4HcalValidation::fetchHits(), HiEgammaSCEnergyCorrectionAlgo::fEtEta(), fEtEtaCorr(), FFTGenericScaleCalculator::FFTGenericScaleCalculator(), SimG4HcalValidation::fill(), TopDiLeptonOffline::MonitorEnsemble::fill(), HResolutionVSPart::Fill(), HcalTestAnalysis::fill(), HcalRecHitMonitor::fill_Nevents(), HcalCoarsePedestalMonitor::fill_Nevents(), HcalDigiMonitor::fill_Nevents(), AlCaElectronsTest::fillAroundBarrel(), DQMSourceEleCalib::fillAroundBarrel(), HcalTB06Analysis::fillBuffer(), HcalTB04Analysis::fillBuffer(), AnalysisRootpleProducer::fillCaloJet(), AnalysisRootpleProducer::fillChargedJet(), AnalysisRootpleProducerOnlyMC::fillChargedJet(), PFRootEventManager::fillClusterMask(), FWECALDetailViewBuilder::fillData(), fillDefaults(), MuonSimHitsValidAnalyzer::fillDT(), ECALRecHitAnalyzer::FillGeometry(), HCALRecHitAnalyzer::FillGeometry(), HLTMon::fillHistos(), EmDQMReco::fillHistos(), EmDQM::fillHistos(), HcalDetDiagLEDMonitor::fillHistos(), HcalDetDiagPedestalMonitor::fillHistos(), HcalDetDiagLaserMonitor::fillHistos(), GenericBenchmark::fillHistos(), HLTMonPhotonSource::fillHistos(), HLTMonElectron::fillHistos(), TrackAnalyzer::fillHistosForState(), HcalTestHistoClass::fillHits(), AnalysisRootpleProducer::fillInclusiveJet(), AnalysisRootpleProducerOnlyMC::fillInclusiveJet(), FastL1GlobalAlgo::FillL1RegionsTP(), ZeeCalibration::fillMCmap(), AnalysisRootpleProducer::fillMCParticles(), AnalysisRootpleProducerOnlyMC::fillMCParticles(), JetMETHLTOfflineSource::fillMEforEffAllTrigger(), JetMETHLTOfflineSource::fillMEforEffWrtMBTrigger(), JetMETHLTOfflineSource::fillMEforEffWrtMuTrigger(), JetMETHLTOfflineSource::fillMEforMonAllTrigger(), JetMETHLTOfflineSource::fillMEforMonAllTriggerwrtMuonTrigger(), FastL1GlobalAlgo::FillMET(), GlobalHitsProducer::fillMuon(), GlobalHitsProdHist::fillMuon(), GlobalHitsAnalyzer::fillMuon(), HcalHotCellMonitor::fillNevents_energy(), HcalHotCellMonitor::fillNevents_neighbor(), HcalHotCellMonitor::fillNevents_persistentenergy(), HcalHotCellMonitor::fillNevents_problemCells(), HcalDeadCellMonitor::fillNevents_problemCells(), HcalDeadCellMonitor::fillNevents_recentdigis(), HcalDeadCellMonitor::fillNevents_recentrechits(), objMon< T >::fillOnL1Match(), objMonData< T >::fillOnL1Match(), PFRootEventManager::fillPhotonMask(), PlotMakerL1::fillPlots(), PlotMakerReco::fillPlots(), HcalDetDiagLaserMonitor::fillProblems(), QcdUeDQM::fillpTMaxRelated(), PFRootEventManager::fillRecHitMask(), HcalRecHitsValidation::fillRecHitsTmp(), HcalRecHitsAnalyzer::fillRecHitsTmp(), recoBSVTagInfoValidationAnalyzer::fillRecoToSim(), SVTagInfoValidationAnalyzer::fillRecoToSim(), MuonSimHitsValidAnalyzer::fillRPC(), recoBSVTagInfoValidationAnalyzer::fillSimToReco(), SVTagInfoValidationAnalyzer::fillSimToReco(), FWHFTowerProxyBuilderBase::fillTowerForDetId(), IsolatedGenParticles::fillTrack(), JPTJetAnalyzer::fillTrackHistograms(), AnalysisRootpleProducer::fillTracks(), AnalysisRootpleProducer::fillTracksJet(), EnergyScaleAnalyzer::fillTree(), GlobalHitsProducer::fillTrk(), GlobalHitsProdHist::fillTrk(), GlobalHitsAnalyzer::fillTrk(), FillUnphysicalHEHFBins(), HcalObjRepresent::FillUnphysicalHEHFBins(), EopVariables::fillVariables(), EcalDeadCellBoundaryEnergyFilter::filter(), pat::CaloJetSelector::filter(), PythiaFilterZJetWithOutBg::filter(), WZInterestingEventSelector::filter(), WMuNuSelector::filter(), PythiaFilterEMJetHeep::filter(), FFTJetDijetFilter::filter(), ZToMuMuSelector::filter(), WMuNuValidator::filter(), PythiaFilterZJet::filter(), reco::CentralityProducer::filter(), cms::FastSimDataFilter::filter(), ElectronSeedProducer::filterClusters(), FWHFTowerSliceSelector::findBinFromId(), L1GctHardwareJetFinder::findFinalClusters(), FastL1GlobalAlgo::findJets(), Rivet::CMS_EWK_11_021::FindPhoParParbar(), PFClusterAlgo::findSeeds(), Gflash::findShowerType(), EcalBoundaryInfoCalculator< EcalDetId >::gapRecHits(), L1ExtraParticlesProd::gctLorentzVector(), gen::Pythia6PartonEGun::generateEvent(), gen::Pythia6EGun::generateEvent(), gen::Pythia6PtGun::generateEvent(), gen::Pythia6JetGun::generateEvent(), gen::Pythia6PartonPtGun::generateEvent(), HcalQIEManager::generateQieTable(), get3x3(), get5x5(), HcalDetDiagLaserMonitor::get_ave_subdet(), CxCalculator::getAvgBCEt(), EcalDQMBinningService::getBinMapEB_(), EcalDQMBinningService::getBinMapEcal_(), EcalDQMBinningService::getBinMapEE_(), calib::CalibElectron::getCalibModulesWeights(), Gflash::getCalorimeterNumber(), CxCalculator::getCCx(), CxCalculator::getCCxRemoveSC(), CaloSubdetectorGeometry::getCells(), HcalGeometry::getCells(), EcalDeadCellTriggerPrimitiveFilter::getChannelStatusMaps(), EcalDeadCellDeltaRFilter::getChannelStatusMaps(), CaloSubdetectorGeometry::getClosestCell(), PileUpSubtractor::getCone(), CxCalculator::getCorrection(), RxCalculator::getCRx(), CxCalculator::getCx(), CxCalculator::getCxRemoveSC(), TFitParticleEtEtaPhi::getDerivative(), L2TauModularIsolationProducer::getECALHits(), L2TauNarrowConeIsolationProducer::getECALHits(), L2TauIsolationProducer::getECALHits(), CastorSD::getEnergyDeposit(), ZdcSD::getEnergyDeposit(), MTVHistoProducerAlgoForTracker::getEta(), MuonTrackValidatorBase::getEta(), ReflectedIterator::getEta(), ParametrizedSubtractor::getEta(), MultipleAlgoIterator::getEta(), TEcnaNumbering::GetEta(), CovarianceMatrix::getEtaDependentScaleFactor(), HcalNumberingFromDDD::getEtaHO(), MuonErrorMatrix::getFast(), L2TauModularIsolationProducer::getHCALHits(), L2TauNarrowConeIsolationProducer::getHCALHits(), EgammaHcalIsolation::getHcalSum(), CxCalculator::getJc(), CxCalculator::getJcc(), TxCalculator::getJct(), TxCalculator::getJt(), EcalTrivialConditionRetriever::getLinearCorrectionsFromConfiguration(), CalibrationCluster::getMap(), TxCalculator::getMPT(), CxCalculator::getNBC(), ParticleTowerProducer::getNearestTower(), HcalDbOnline::getObject(), L2TauModularIsolationProducer::getPFClusters(), HcalQIEManager::getQIETableFromFile(), FastL1Region::getRegionCenterEtaPhi(), FastL1RegionMap::getRegionCenterEtaPhi(), RxCalculator::getRFx(), RxCalculator::getROx(), RxCalculator::getRx(), EgammaRecHitIsolation::getSum_(), EcalBarrelNumberingScheme::getUnitID(), HcalTB02HcalNumberingScheme::getUnitID(), EcalClusterEnergyUncertainty::getValue(), EcalClusterEnergyCorrection::getValue(), pat::helper::IsoDepositIsolator::getValue(), EcalClusterEnergyUncertaintyObjectSpecific::getValue(), L1MuGMTSortRankUnit::getVeryLowQualityLevel(), MEEBGeom::globalCoord(), ConvBremSeedProducer::GoodCluster(), EcalHitMaker::hcalCellLine(), HcalNumberingFromDDD::HcalCellTypes(), reco::hcalSubdetector(), JetMaker::hcalSubdetector(), L1RCTORCAMap::highEtaMap(), HLTRPCTrigNoSyncFilter::hltFilter(), HLTMuonL1RegionalFilter::hltFilter(), HLTHcalTowerFilter::hltFilter(), HLTJetPairDzMatchFilter< T >::hltFilter(), HLTSingleVertexPixelTrackFilter::hltFilter(), HLTPFTauPairLeadTrackDzMatchFilter::hltFilter(), reco::HLTTau::HLTTau(), HResolution::HResolution(), HcalDetDiagLEDClient::htmlOutput(), ZDCMonitorClient::htmlOutput(), HcalDetDiagPedestalClient::htmlOutput(), HSCPValidator::IncreasedTreshold(), HSCPHLTFilter::IncreasedTreshold(), SiStripRegionCabling::increment(), pftools::CaloWindow::init(), RectangularEtaPhiTrackingRegion::initEtaRange(), PhotonFixCMS::initialise(), DDHCalTestBeamAlgo::initialize(), DDHCalTBZposAlgo::initialize(), EcalDeadCellDeltaRFilter::isCloseToBadEcalChannel(), L1MuGMTSortRankUnit::isDisabled(), H4Geom::isInFirstHalf(), EgammaHLTHcalIsolationDoubleCone::isolPtSum(), EcalRawToRecHitRoI::Jet_OneL1JetCollection(), EcalListOfFEDSProducer::Jets(), ESListOfFEDSProducer::Jets(), L1CaloEcalScale::L1CaloEcalScale(), L1CaloHcalScale::L1CaloHcalScale(), L1GctEmCand::L1GctEmCand(), L1MuDTEtaPatternLut::load(), L1MuDTQualPatternLut::load(), FFTJetPileupProcessor::loadFlatteningFactors(), DisplayManager::lookForGenParticle(), DisplayManager::lookForMaxRecHit(), L1RCTORCAMap::lowEtaMap(), main(), L1RCTORCAMap::makeBarrelData(), CaloTowerHardcodeGeometryLoader::makeCell(), HcalDDDGeometryLoader::makeCell(), XMLDocument::makeChId(), HFClusterAlgo::makeCluster(), L1GctHardwareJetFinder::makeProtoJet(), hcalCalib::makeTextFile(), lhef::JetMatchingMLM::match(), HeavyFlavorValidation::match(), StripCPEgeometric::WrappedCluster::maxProjection(), L1MuGMTMerger::merge_rank(), MLP_Stochastic(), MultiTrajectoryStateMode::momentumFromModePPhiEta(), mtrTransfer(), EcalRawToRecHitRoI::Muon(), EcalListOfFEDSProducer::Muon(), ESListOfFEDSProducer::Muon(), reco::Mustache::MustacheClust(), reco::Mustache::MustacheID(), HeavyFlavorValidation::myBook2D(), HeavyFlavorValidation::myBookProfile2D(), HcalConstantsXMLWriter::newCellLine(), muonisolation::CaloExtractor::noiseEcal(), muonisolation::CaloExtractorByAssociator::noiseEcal(), SiStripMonitorMuonHLT::Normalizer(), SimG4HcalValidation::nxNAnalysis(), pat::ObjectResolutionCalc::obsRes(), OnDemandMeasurementTracker::OnDemandMeasurementTracker(), EcalRawToRecHitRoI::OneCandCollection(), TrackClassFilter::operator()(), Comparison< Ref, RefQualifier, Rec, RecQualifier, Alg >::operator()(), EtaRangeSelector::operator()(), backgroundFunctionType4::operator()(), backgroundFunctionType5::operator()(), TrackClassMatch::operator()(), HcalChannelId::operator<(), parse_peak_member_function(), Generator::particlePassesPrimaryCuts(), PhysicsVector(), PhysicsVectorRaw(), TopologyWorker::planes_sphe(), TopologyWorker::planes_sphe_wei(), PlotOccupancyMap(), HcalMonitorClient::PlotPedestalValues(), SiStripRegionCabling::positionIndex(), CaloMiscalibMapHcal::prefillMap(), PFRootEventManager::printCluster(), PFRootEventManager::printGenParticles(), FBaseSimEvent::printMCTruth(), PFRootEventManager::printRecHit(), HcalNumberingFromDDD::printTile(), PFAlgoTestBenchElectrons::processBlock(), HcalCaloTowerMonitor::processEvent(), HcalDeadCellMonitor::processEvent(), HcalBeamMonitor::processEvent(), PFRootEventManagerColin::processNeutral(), IsoTracks::produce(), edm::ExpoRandomPtGunProducer::produce(), JetCrystalsAssociator::produce(), L2MuonSeedGenerator::produce(), FlavorHistoryProducer::produce(), JetTracksAssociationDRVertexAssigned::produce(), L1ExtraParticlesProd::produce(), GamIsoDetIdCollectionProducer::produce(), edm::FlatRandomOneOverPtGunProducer::produce(), edm::FlatRandomPtGunProducer::produce(), TtSemiLepHitFitProducer< LeptonCollection >::produce(), EleIsoDetIdCollectionProducer::produce(), FFTJetPFPileupCleaner::produce(), JetTracksAssociationDRCalo::produce(), JetTracksAssociationDRVertex::produce(), JetVetoedTracksAssociationDRVertex::produce(), edm::FlatRandomEGunProducer::produce(), ShallowTracksProducer::produce(), GenHIEventProducer::produce(), cms::AlCaDiJetsProducer::produce(), edm::MultiParticleInConeGunProducer::produce(), ShallowSimTracksProducer::produce(), L1GctInternJetProducer::produce(), ParticleTowerProducer::produce(), IsolatedPixelTrackCandidateProducer::produce(), reco::modules::CaloRecHitCandidateProducer< HitCollection >::produce(), MuScleFitMuonProducer::produce(), PATHemisphereProducer::produce(), ShallowClustersProducer::produce(), SiStripRegionConnectivity::produceRegionCabling(), CSCTFPtMethods::Pt2Stn(), CSCTFPtMethods::Pt3Stn(), MuonSeedPtExtractor::pT_extract(), CSCTFPtMethods::PtEff90(), HITSiStripRawToClustersRoI::ptracks(), L1CaloEcalScale::rank(), L1CaloHcalScale::rank(), StoreEcalCondition::readEcalGainRatiosFromFile(), L1MuGMTHWFileReader::readNextEvent(), HemisphereAlgo::reconstruct(), MuonTrackingRegionBuilder::region(), L1GctInternEmCand::regionId(), L1GctEmCand::regionId(), L1GctJetCand::regionId(), TB06RecoH2::reset(), HcalRawDataMonitor::reset(), TB06TreeH2::reset(), TB06Reco::reset(), TB06Tree::reset(), muonisolation::IsolatorByDepositCount::result(), muonisolation::IsolatorByDeposit::result(), MuonErrorMatrix::Rms(), CutBasedElectronID::robustSelection(), hitfit::roteta(), RoadSearchSeedFinderAlgorithm::run(), L1MuonPixelTrackFitter::run(), EcalRecHitWorkerRecover::run(), CMSIterativeConeAlgorithm::run(), HIPAlignmentAlgorithm::run(), L1MuGMTEtaProjectionUnit::run(), L1MuGMTPhiProjectionUnit::run(), MuonMillepedeAlgorithm::run(), ConvBremPFTrackFinder::runConvBremFinder(), ecaldqm::ClusterTask::runOnBasicClusters(), HcalDetDiagLaserMonitor::SaveRaddamData(), HcalDetDiagPedestalMonitor::SaveReference(), HcalDetDiagLEDMonitor::SaveReference(), HcalDetDiagLaserMonitor::SaveReference(), PFSCEnergyCalibration::SCCorrEtEtaEndcap(), MuonSeedCleaner::seedCleaner(), ElectronSeedGenerator::seedsFromThisCluster(), reco::modules::CosmicTrackSelector::select(), ora::QueryableVector< Item >::select(), GsfElectronAlgo::setAmbiguityData(), pftools::PFClusterCalibration::setBarrelBoundary(), L1CaloHcalScale::setBin(), L1CaloEcalScale::setBin(), GsfElectronAlgo::setCutBasedPreselectionFlag(), L1MuGMTDebugBlock::SetEta(), pftools::ParticleDeposit::setEta(), L1GctJetEtCalibrationLut::setEtaBin(), FastL1Region::SetEtaPhiIndex(), egHLT::trigTools::setFiltersObjPasses(), CaloHitResponse::setHBHEScale(), HcalTBEventPosition::setHBHEtableCoords(), FourVectorHLT::PathInfo::setHistos(), HLTMonSimpleBTag::PathInfo::setHistos(), TFitParticleEtEtaPhi::setIni4Vec(), CastorShowerEvent::setPrimEta(), CandCombinerBase< OutputCollection, Cloner::CandPtr >::setup(), EcalGeomPhiSymHelper::setup(), FWPFBlockProxyBuilder::setupClusterElement(), CovarianceMatrix::setupMatrix(), FWPFClusterLegoProxyBuilder::sharedBuild(), FWECALDetailViewBuilder::showSuperClusters(), L1DummyProducer::SimpleDigi(), reco::PFRecHit::size(), smearFunctionType6::smear(), pat::ObjectSpatialResolution< T >::smearAngles(), L1MuGMTSortRankUnit::sort_rank(), L1MuGMTLFMergeRankEtaQLUT::SpecificLookup(), L1MuGMTMIAUPhiPro1LUT::SpecificLookup(), L1MuGMTLFDisableHotLUT::SpecificLookup(), L1MuGMTLFMergeRankEtaPhiLUT::SpecificLookup(), L1MuGMTMIAUEtaProLUT::SpecificLookup(), L1MuGMTLFPhiProLUT::SpecificLookup(), L1MuGMTLFSortRankEtaPhiLUT::SpecificLookup(), L1MuGMTLFSortRankEtaQLUT::SpecificLookup(), L1MuGMTMIAUPhiPro1LUT::SpecificLookup_cphi_fine(), L1MuGMTMIAUPhiPro1LUT::SpecificLookup_cphi_ofs(), L1MuGMTLFDisableHotLUT::SpecificLookup_disable_hot(), L1MuGMTLFPhiProLUT::SpecificLookup_dphi(), L1MuGMTMIAUEtaProLUT::SpecificLookup_eta_sel(), L1MuGMTLFMergeRankEtaQLUT::SpecificLookup_flag(), L1MuGMTLFMergeRankEtaPhiLUT::SpecificLookup_rank_etaphi(), L1MuGMTLFSortRankEtaPhiLUT::SpecificLookup_rank_etaphi(), L1MuGMTLFMergeRankEtaQLUT::SpecificLookup_rank_etaq(), L1MuGMTLFSortRankEtaQLUT::SpecificLookup_rank_etaq(), L1MuGMTLFSortRankEtaQLUT::SpecificLookup_vlq(), StochStep(), StochStepHyb(), TB06TreeH2::store(), TB06Tree::store(), PFRootEventManager::tauBenchmark(), TBposition(), TrackEfficiencyMonitor::testSTATracks(), TrackEfficiencyMonitor::testTrackerTracks(), L1MuGMTMIAUEtaProLUT::TheLookupFunction(), HcalNumberingFromDDD::tileHB(), HcalNumberingFromDDD::tileHE(), spr::timeOfFlight(), RPCConst::towerNumFromEta(), HcalTestAnalysis::towersToAdd(), MuonNavigableLayer::trackingRange(), PF_PU_FirstVertexTracks::TrackMatch(), translateCoeff(), TtFullHadSignalSel::TtFullHadSignalSel(), undefinedCells(), HcalNumberingFromDDD::unitID(), ZdcTestAnalysis::update(), CastorTestAnalysis::update(), CastorShowerLibraryMaker::update(), DoCastorAnalysis::update(), FP420Test::update(), HcalTestAnalysis::update(), BscTest::update(), EventProgress::update(), JetPartonNamespace::ParametrizationJetParton::value(), MuonErrorMatrix::Value(), reco::isodeposit::OtherCandidatesDeltaRVeto::veto(), writeCalibTxt(), writeCMSSWCoeff(), ECALRecHitAnalyzer::WriteECALRecHits(), VirtualJetProducer::writeJets(), Pi0CalibXMLwriter::writeLine(), calibXMLwriter::writeLine(), and HcalDigiMonitor::zeroCounters().

T __attribute__::mag ( ) const

The vector magnitude. Equivalent to sqrt(vec.mag2())

Definition at line 314 of file Basic3DVectorLD.h.

Referenced by SiStripDigitizerAlgorithm::accumulateSimHits(), ReferenceTrajectory::addMaterialEffectsBrl(), SiStripElectronAnalyzer::analyze(), DTChamberEfficiencyTask::analyze(), TestHits::analyze(), MuonTrackResidualAnalyzer::analyze(), TestSmoothHits::analyze(), MuonDTDigis::analyze(), TrackIPTagPlotter::analyzeTag(), GlobalTrackerMuonAlignment::analyzeTrackTrack(), GlobalTrackerMuonAlignment::analyzeTrackTrajectory(), reco::GhostTrackState::axisDistance(), ThirdHitPrediction::calculateRangesBarrel(), CaloCellCrossing::CaloCellCrossing(), GlobalTrajectoryBuilderBase::checkMuonHits(), VZeroFinder::checkTrackPair(), MuonTrajectoryCleaner::clean(), TkAccumulatingSensitiveDetector::closeHit(), PLTSensitiveDetector::closeHit(), GlobalMuonTrackMatcher::convertToTSOSMuHit(), GlobalMuonTrackMatcher::convertToTSOSTkHit(), MuonSensitiveDetector::createHit(), fireworks::createSegment(), CaloDetIdAssociator::crossedElement(), SimpleNavigableLayer::crossingState(), TangentCircle::curvatureError(), SiLinearChargeDivider::DeconvolutionShape(), OptOMirror::detailedDeviatesLightRay(), TangentCircle::direction(), RK4PreciseStep::distance(), SignedImpactParameter3D::distanceWithJetAxis(), DTSegtoRPC::DTSegtoRPC(), DTDigitizer::dumpHit(), DTTimingExtractor::fillTiming(), CSCTimingExtractor::fillTiming(), Trajectory::geometricalInnermostState(), IdealObliquePrism::getCorners(), BetaCalculatorECAL::getDetailedTrackLengthInXtals(), TrackAssociatorByPosition::getState(), CaloCellGeometry::getTransform(), MuonShowerInformationFiller::hitsFromSegments(), 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(), DTTTrigSyncTOFCorr::offset(), DTTTrigSyncFromDB::offset(), MuonShowerInformationFiller::LessMag::operator()(), LinTrackCache::Vicinity::operator()(), RKCurvilinearDistance< T, N >::operator()(), MuonTrackResidualAnalyzer::RadiusComparatorInOut::operator()(), GCC11_FINAL< T >::operator()(), RecHitLessByDet::operator()(), reco::TrackResiduals::pack_pull(), reco::TrackResiduals::pack_residual(), egHLT::EgTrigTagProbeCut_NewPho::pass(), egHLT::EgTrigTagProbeCut::pass(), egHLT::EgTagProbeCut< T >::pass(), egHLT::EgTrigTagProbeCut_New::pass(), SiLinearChargeDivider::PeakShape(), PixelCPEBase::PixelCPEBase(), GamIsoDetIdCollectionProducer::produce(), SiStripElectronAssociator::produce(), EleIsoDetIdCollectionProducer::produce(), reco::modules::DuplicateTrackMerger::produce(), reco::modules::CosmicTrackSplitter::produce(), TrackAssociatorByPosition::quality(), GenericTripletGenerator::qualityFilter(), ThirdHitPredictionFromCircle::HelixRZ::rAtZ(), CosmicRegionalSeedGenerator::regions(), SoftLepton::relativeEta(), TrackInfoProducerAlgorithm::run(), DigiSimLinkAlgorithm::run(), MagGeoBuilderFromDDD::volumeHandle::sameSurface(), SeedGeneratorForCosmics::seeds(), PixelCPEBase::setMagField(), 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
template<typename S >
Basic3DVector<long double> operator* ( const Basic3DVector< long double > &  v,
t 
) [inline]

Definition at line 313 of file Basic3DVectorLD.h.

                                                                                      {
  return static_cast<long double>(t)*v;
}
Basic3DVector<long double> operator* ( long double  t,
const Basic3DVector< long double > &  v 
) [inline]

Same as operator*( Vector, Scalar)

Definition at line 303 of file Basic3DVectorLD.h.

References lumiQTWidget::t, Basic3DVector< long double >::x(), Basic3DVector< long double >::y(), and Basic3DVector< long double >::z().

                                                                                                {
  return Basic3DVector<long double>(v.x()*t, v.y()*t, v.z()*t);
}
template<class U >
PreciseFloatType<long double,U>::Type operator* ( const Basic3DVector< U > &  v1,
const Basic3DVector< long double > &  v2 
) [inline]
long double operator* ( const Basic3DVector< long double > &  v1,
const Basic3DVector< long double > &  v2 
) [inline]

scalar product of vectors of same precision

Definition at line 275 of file Basic3DVectorLD.h.

References Basic3DVector< long double >::dot().

                                                                                                          {
  return v1.dot(v2);
}
template<class U >
PreciseFloatType<long double,U>::Type operator* ( const Basic3DVector< long double > &  v1,
const Basic3DVector< U > &  v2 
) [inline]

scalar product of vectors of different precision

Definition at line 281 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().

                                                                                   {
  return v1.x()*v2.x() + v1.y()*v2.y() + v1.z()*v2.z();
}
Basic3DVector<long double> operator* ( const Basic3DVector< long double > &  v,
long double  t 
) [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 297 of file Basic3DVectorLD.h.

                                                                                                 {
  return Basic3DVector<long double>(v.x()*t, v.y()*t, v.z()*t);
}
template<typename S >
Basic3DVector<long double> operator* ( t,
const Basic3DVector< long double > &  v 
) [inline]

Definition at line 308 of file Basic3DVectorLD.h.

References lumiQTWidget::t.

                                                                                       {
  return static_cast<long double>(t)*v;
}
Basic3DVector& __attribute__::operator*= ( T  t)

Scaling by a scalar value (multiplication)

Definition at line 382 of file Basic3DVectorLD.h.

Basic3DVector<long double> operator+ ( const Basic3DVector< long double > &  a,
const Basic3DVector< long double > &  b 
) [inline]

vector sum and subtraction of vectors of possibly different precision

Definition at line 232 of file Basic3DVectorLD.h.

                                                                                     {
  typedef Basic3DVector<long double> RT;
  return RT(a.x()+b.x(), a.y()+b.y(), a.z()+b.z());
}
template<class U >
Basic3DVector<typename PreciseFloatType<long double,U>::Type> operator+ ( const Basic3DVector< long double > &  a,
const Basic3DVector< U > &  b 
) [inline]
template<class U >
Basic3DVector<typename PreciseFloatType<long double,U>::Type> operator+ ( const Basic3DVector< U > &  a,
const Basic3DVector< long double > &  b 
) [inline]

Definition at line 253 of file Basic3DVectorLD.h.

                                                                          {
  typedef Basic3DVector<typename PreciseFloatType<long double,U>::Type> RT;
  return RT(a.x()+b.x(), a.y()+b.y(), a.z()+b.z());
}
template<class U >
Basic3DVector& __attribute__::operator+= ( const Basic3DVector< U > &  p)

Operator += with a Basic3DVector of possibly different precision.

Definition at line 361 of file Basic3DVectorLD.h.

Basic3DVector<long double> operator- ( const Basic3DVector< long double > &  a,
const Basic3DVector< long double > &  b 
) [inline]

Definition at line 237 of file Basic3DVectorLD.h.

References Basic3DVector< long double >::x(), Basic3DVector< long double >::y(), and Basic3DVector< long double >::z().

                                                                                     {
  typedef Basic3DVector<long double> RT;
  return RT(a.x()-b.x(), a.y()-b.y(), a.z()-b.z());
}
template<class U >
Basic3DVector<typename PreciseFloatType<long double,U>::Type> operator- ( const Basic3DVector< U > &  a,
const Basic3DVector< long double > &  b 
) [inline]
Basic3DVector __attribute__::operator- ( ) const

Unary minus, returns a vector with components (-x(),-y(),-z())

Definition at line 379 of file Basic3DVectorLD.h.

template<class U >
Basic3DVector<typename PreciseFloatType<long double,U>::Type> operator- ( const Basic3DVector< long double > &  a,
const Basic3DVector< U > &  b 
) [inline]
template<class U >
Basic3DVector& __attribute__::operator-= ( const Basic3DVector< U > &  p)

Operator -= with a Basic3DVector of possibly different precision.

Definition at line 371 of file Basic3DVectorLD.h.

template<typename S >
Basic3DVector<long double> operator/ ( const Basic3DVector< long double > &  v,
s 
) [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 322 of file Basic3DVectorLD.h.

                                                                                       {
  long double t = 1/s;
  return v*t;
}
Basic3DVector& __attribute__::operator/= ( T  t)

Scaling by a scalar value (division)

Definition at line 390 of file Basic3DVectorLD.h.

bool __attribute__::operator== ( const Basic3DVector rh) const

Definition at line 306 of file Basic3DVectorLD.h.

                                                                                       {
T __attribute__::perp ( ) const
T __attribute__::perp2 ( ) const
Geom::Phi<T> __attribute__::phi ( ) const

Definition at line 330 of file Basic3DVectorLD.h.

Geom::Theta<T> __attribute__::theta ( ) const

Definition at line 337 of file Basic3DVectorLD.h.

Referenced by GflashTrajectory::_refreshCache(), FastL1GlobalAlgo::addJet(), Hector::addPartToHepMC(), fireworks::addStraightLineSegment(), HCALRecHitAnalyzer::analyze(), EcalTPGParamBuilder::analyze(), edm::FlatEGunASCIIWriter::analyze(), TrackBuildingAnalyzer::analyze(), ElectronTagProbeAnalyzer::analyze(), TrackerHitAnalyzer::analyze(), EcalTrigPrimAnalyzer::analyze(), MuonDTDigis::analyze(), MuonBremsstrahlungSimulator::brem(), BremsstrahlungSimulator::brem(), FWECALDetailViewBuilder::build(), FWMET3DProxyBuilder::build(), FWTauProxyBuilderBase::buildBaseTau(), FWPFClusterRPZUtils::buildRhoZClusterLineSet(), FWJetProxyBuilder::buildViewType(), FWMETProxyBuilder::buildViewType(), TFitParticleEtThetaPhi::calc4Vec(), TFitParticleMCPInvSpher::calc4Vec(), TFitParticleSpher::calc4Vec(), TFitParticleMCSpher::calc4Vec(), TFitParticleESpher::calc4Vec(), CSCHaloAlgo::Calculate(), TwoBodyDecayModel::cartesianSecondaryMomenta(), NuclearInteractionSimulator::compute(), MultipleScatteringSimulator::compute(), CaloMETAnalyzer::computeEmHaMET(), AnalyticalCurvilinearJacobian::computeFullJacobian(), HDRShower::computeShower(), DTDigitizer::computeTime(), EcalHitMaker::configureGeometry(), DDHCalEndcapAlgo::constructInsideModule(), DDHCalEndcapAlgo::constructInsideModule0(), fireworks::createSegment(), ZMuMuIsolationAnalyzer::Deposits(), Decay3Body::doDecay(), CSCValidation::doSegments(), DTDigitizer::driftTimeFromParametrization(), DTBtiChip::DTBtiChip(), ECALPositionCalculator::ecalEta(), RawParticle::eta(), metsig::SignAlgoResolutions::eval(), DDTECAxialCableAlgo::execute(), DDHCalXtalAlgo::execute(), DDHCalTBZposAlgo::execute(), DDTIBLayerAlgo_MTCC::execute(), DDTECOptoHybAlgo::execute(), DDTECPhiAltAlgo::execute(), DDEcalBarrelNewAlgo::execute(), DDEcalBarrelAlgo::execute(), DDHCalTestBeamAlgo::execute(), DDTIDAxialCableAlgo::execute(), DDTrackerPhiAltAlgo::execute(), DDTIBLayerAlgo::execute(), DDTIDRingAlgo::execute(), DDTrackerAngular::execute(), DDTrackerPhiAlgo::execute(), DDAngular::execute(), DDTECPhiAlgo::execute(), KinematicPerigeeConversions::extendedPerigeeFromKinematicParameters(), SimG4HcalValidation::fill(), HcalTestAnalysis::fill(), HcalTB06Analysis::fillBuffer(), HcalTB04Analysis::fillBuffer(), GenSpecificAlgo::fillCommonMETData(), TrackerHitProducer::fillG4MC(), TrackAnalyzer::fillHistosForState(), FastL1GlobalAlgo::FillMET(), reco::Mustache::FillMustacheVar(), NtupleManager::FillOptObjects(), EopVariables::fillVariables(), SETFilter::find3MoreStartingPoints(), spr::findDetIdECAL(), spr::findDetIdHCAL(), SETFilter::findMinChi2(), MuonShowerInformationFiller::findThetaCluster(), OutInConversionSeedFinder::fixPointRadius(), PerigeeConversions::ftsToPerigeeParameters(), calib::CalibElectron::getCalibModulesWeights(), TCTauAlgorithm::getCellMomentum(), EcalDeadCellTriggerPrimitiveFilter::getChannelStatusMaps(), EcalDeadCellDeltaRFilter::getChannelStatusMaps(), TFitParticleMCPInvSpher::getDerivative(), TFitParticleSpher::getDerivative(), TFitParticleEtThetaPhi::getDerivative(), TFitParticleMCSpher::getDerivative(), TFitParticleESpher::getDerivative(), L2TauModularIsolationProducer::getECALHits(), L2TauNarrowConeIsolationProducer::getECALHits(), L2TauIsolationProducer::getECALHits(), CastorSD::getEnergyDeposit(), ZdcSD::getEnergyDeposit(), IsolatedPixelTrackCandidateProducer::GetEtaPhiAtEcal(), PythiaFilterIsolatedTrack::GetEtaPhiAtEcal(), reco::TauMassTagInfo::getInvariantMass(), CastorShowerLibraryMaker::GetKinematics(), TwoBodyDecayLinearizationPointFinder::getLinearizationPoint(), pftools::CaloEllipse::getMajorMinorAxes(), L2TauModularIsolationProducer::getPFClusters(), CastorShowerLibrary::getShowerHits(), pat::ObjectEnergyScale< T >::getSmearing(), pftools::CaloEllipse::getTheta(), CaloCellId::getThetaCell(), DDHCalTestBeamAlgo::initialize(), DDHCalTBZposAlgo::initialize(), MuonMesh::isClusteredWith(), MuonMesh::isDuplicateOf(), HcalDDDGeometryLoader::makeCell(), fireworks::makeRhoZSuperCluster(), PFSpecificAlgo::mkSpecificPFMETData(), FinalTreeBuilder::momentumPart(), CosmicGenFilterHelix::monitorStart(), muonisolation::CaloExtractor::MuonAtCaloPosition(), GCC11_FINAL< T >::openingAngle(), PixelTrackFilterByKinematics::operator()(), FTSFromVertexToPointFactory::operator()(), SimG4HcalHitCluster::operator+=(), reco::PreshowerCluster::operator<(), PrimaryVertexAnalyzer4PU::printPVTrks(), DDLTrapezoid::processElement(), edm::ExpoRandomPtGunProducer::produce(), JetCrystalsAssociator::produce(), pf2pat::PFMETAlgo::produce(), L2MuonSeedGenerator::produce(), edm::FileRandomKEThetaGunProducer::produce(), edm::FlatRandomOneOverPtGunProducer::produce(), edm::FlatRandomPtGunProducer::produce(), edm::FlatRandomEThetaGunProducer::produce(), edm::FlatRandomEGunProducer::produce(), ShallowTracksProducer::produce(), edm::FlatRandomPtThetaGunProducer::produce(), edm::MultiParticleInConeGunProducer::produce(), ShallowSimTracksProducer::produce(), TrackKinematicStatePropagator::propagateToTheTransversePCANeutral(), AsciiNeutronReader::readNextEvent(), METManager::recomputePFMET(), MuonTrackingRegionBuilder::region(), EcalRecHitWorkerRecover::run(), KFBasedPixelFitter::run(), PFPhotonAlgo::RunPFPhoton(), TPtoRecoTrack::s_eta(), RecoTracktoTP::s_eta(), EcalDeadCellTriggerPrimitiveFilter::setEvtRecHitstatus(), TFitParticleSpher::setIni4Vec(), TFitParticleESpher::setIni4Vec(), TFitParticleMCSpher::setIni4Vec(), TFitParticleEtThetaPhi::setIni4Vec(), TFitParticleMCPInvSpher::setIni4Vec(), HcalForwardAnalysis::setPhotons(), EcalSelectiveReadoutValidation::setTtEtSums(), EcalSelectiveReadoutSuppressor::setTtFlags(), DTRecHitQuality::simHitImpactAngle(), pat::ObjectSpatialResolution< T >::smearAngles(), smearFunctionBase::smearEta(), TangentCircle::TangentCircle(), kinem::theta(), HDRShower::thetaFunction(), HcalTB04Analysis::timeOfFlight(), HcalTestAnalysis::timeOfFlight(), spr::timeOfFlight(), SiStripFineDelayTOF::timeOfFlightBeamB(), SiStripFineDelayTOF::timeOfFlightCosmicB(), MuonNavigableLayer::trackingRange(), global_linear_1::translation(), global_linear_0::translation(), InvariantMassFromVertex::uncertainty(), HcalNumberingFromDDD::unitID(), CastorTestAnalysis::update(), HcalTB02Analysis::update(), DoCastorAnalysis::update(), HcalTestAnalysis::update(), CaloMETAnalyzer::validateMET(), PFMETAnalyzer::validateMET(), Utils::VectorEPRtoXYZ(), pftools::Utils::VectorEPRtoXYZ(), and ECALRecHitAnalyzer::WriteECALRecHits().

T __attribute__::transverse ( ) const

Another name for perp()

Definition at line 323 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 350 of file Basic3DVectorLD.h.

T __attribute__::x ( ) const

Cartesian x coordinate.

Definition at line 294 of file Basic3DVectorLD.h.

{
Basic2DVector<T> __attribute__::xy ( ) const
T __attribute__::y ( ) const
T __attribute__::z ( ) const

Cartesian z coordinate.

Definition at line 300 of file Basic3DVectorLD.h.

{

Variable Documentation

Definition at line 438 of file Basic3DVectorLD.h.

Referenced by align::diffAlignables().

Definition at line 435 of file Basic3DVectorLD.h.

Definition at line 436 of file Basic3DVectorLD.h.

Definition at line 437 of file Basic3DVectorLD.h.

Referenced by LaserAlignment::testRoutine().