#include "extBasic3DVector.h"
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 307 of file Basic3DVectorLD.h.
typedef Geom::Cylindrical2Cartesian<T> Cylindrical |
Definition at line 50 of file Basic3DVectorLD.h.
typedef Basic3DVector<T> MathVector |
Definition at line 54 of file Basic3DVectorLD.h.
Definition at line 52 of file Basic3DVectorLD.h.
typedef T ScalarType |
Definition at line 49 of file Basic3DVectorLD.h.
typedef Geom::Spherical2Cartesian<T> Spherical |
Definition at line 51 of file Basic3DVectorLD.h.
typedef long double T |
Definition at line 48 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 142 of file Basic3DVectorLD.h.
Referenced by MuonAlignmentAnalyzer::analyze(), SeedForPhotonConversionFromQuadruplets::bubbleReverseSortVsPhi(), and SeedForPhotonConversionFromQuadruplets::bubbleSortVsPhi().
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 149 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 60 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 63 of file Basic3DVectorLD.h.
__attribute__::Basic3DVector | ( | const Basic3DVector< U > & | p | ) |
Copy constructor and implicit conversion from Basic3DVector of different precision.
Definition at line 67 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 70 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 81 of file Basic3DVectorLD.h.
__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 102 of file Basic3DVectorLD.h.
References Basic3DVector< T >::perp().
Basic3DVector __attribute__::cross | ( | const Basic3DVector & | v | ) | const |
Vector product, or "cross" product, with a vector of same type.
Definition at line 225 of file Basic3DVectorLD.h.
Referenced by TruncatedPyramid::createCorners(), RPCSeedPattern::createSeed(), Basic2DVector< float >::cross(), Basic3DVector< align::Scalar >::cross(), riemannFit::lineFit(), RKPropagatorInS::propagateParametersOnPlane(), riemannFit::scatter_cov_rad(), 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 235 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 212 of file Basic3DVectorLD.h.
Referenced by HGCDoublet::areAligned(), CaloCellCrossing::CaloCellCrossing(), TruncatedPyramid::createCorners(), Basic2DVector< float >::dot(), Basic3DVector< align::Scalar >::dot(), TwoBodyDecayEstimator::estimate(), AlCaHOCalibProducer::fillHOStore(), Trajectory::geometricalInnermostState(), CastorSD::getFromLibrary(), riemannFit::lineFit(), Basic2DVector< float >::mag2(), Basic3DVector< align::Scalar >::mag2(), ConversionHitChecker::nHitsBeforeVtx(), SoftPFElectronTagInfoProducer::produce(), SoftPFMuonTagInfoProducer::produce(), SoftLepton::relativeEta(), and riemannFit::scatter_cov_rad().
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 220 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 157 of file Basic3DVectorLD.h.
T __attribute__::mag | ( | ) | const |
The vector magnitude. Equivalent to sqrt(vec.mag2())
Definition at line 127 of file Basic3DVectorLD.h.
Referenced by Phase2TrackerDigitizerAlgorithm::accumulateSimHits(), SiPixelDigitizerAlgorithm::accumulateSimHits(), SiStripDigitizerAlgorithm::accumulateSimHits(), ReferenceTrajectory::addMaterialEffectsBrl(), MonopoleTransportation::AlongStepGetPhysicalInteractionLength(), DTChamberEfficiencyTask::analyze(), MuonTrackResidualAnalyzer::analyze(), TestHits::analyze(), TestSmoothHits::analyze(), MuonDTDigis::analyze(), SiStripElectronAnalyzer::analyze(), IPTagPlotter< Container, Base >::analyzeTag(), GlobalTrackerMuonAlignment::analyzeTrackTrack(), GlobalTrackerMuonAlignment::analyzeTrackTrajectory(), reco::GhostTrackState::axisDistance(), btagbtvdeep::TrackPairInfoBuilder::buildTrackPairInfo(), ThirdHitPrediction::calculateRangesBarrel(), CaloCellCrossing::CaloCellCrossing(), TkGluedMeasurementDet::checkHitProjection(), GlobalMuonRefitter::checkMuonHits(), MuonTrajectoryCleaner::clean(), TkAccumulatingSensitiveDetector::closeHit(), HGCalMulticlusteringImpl::clusterizeDR(), HGCalClusteringImpl::clusterizeDRNN(), Phase1PixelBlade::computeCrossings(), GlobalMuonTrackMatcher::convertToTSOSMuHit(), GlobalMuonTrackMatcher::convertToTSOSTkHit(), fastsim::TrackerSimHitProducer::createHitOnDetector(), fireworks::createSegment(), CaloDetIdAssociator::crossedElement(), TangentCircle::curvatureError(), OptOMirror::detailedDeviatesLightRay(), TangentCircle::direction(), RK4PreciseStep::distance(), l1t::HGCalClusterT< l1t::HGCalCluster >::distance(), L1EGCrystalClusterEmulatorProducer::SimpleCaloHit::distanceTo(), SignedImpactParameter3D::distanceWithJetAxis(), HGCalHistoClusteringImpl::dR(), DTDigitizer::dumpHit(), HLTDQMTagAndProbeEff< TagType, TagCollType, ProbeType, ProbeCollType >::fill(), CSCTimingExtractor::fillTiming(), DTTimingExtractor::fillTiming(), Phase1PixelBlade::findBin2(), HGCalMulticlusteringImpl::findNeighbor(), AdaptiveVertexFitter::fit(), Trajectory::geometricalInnermostState(), BTVHLTOfflineSource::getOfflineBTagTracks(), TrackAssociatorByPositionImpl::getState(), FlatHexagon::getTransform(), TruncatedPyramid::getTransform(), FlatTrd::getTransform(), CaloCellGeometry::getTransform(), MuonShowerInformationFiller::hitsFromSegments(), PixelBrickedDigitizerAlgorithm::induce_signal(), Pixel3DDigitizerAlgorithm::induce_signal(), Phase2TrackerDigitizerAlgorithm::induce_signal(), IdealObliquePrism::initCorners(), MaterialAccountingGroup::inside(), HGCalTriggerClusterInterpretationEM::interpret(), DD4hep_MaterialAccountingGroup::isInside(), CalibrationTrackSelector::isIsolated(), AlignmentTrackSelector::isIsolated(), MuonCosmicCompatibilityFiller::isOverlappingMuon(), HGCalMulticlusteringImpl::isPertinent(), IPTools::jetTrackDistance(), egHLT::ParticlePair< T >::mass(), GlobalCosmicMuonTrajectoryBuilder::match(), GlobalMuonTrackMatcher::match_D(), GlobalMuonTrackMatcher::match_d(), MatcherUsingTracksAlgorithm::matchByDirectComparison(), MatcherUsingTracksAlgorithm::matchWithPropagation(), NuclearTester::meanHitDistance(), TracksClusteringFromDisplacedSeed::nearTracks(), DTTTrigSyncTOFCorr::offset(), DTTTrigSyncFromDB::offset(), LinTrackCache::Vicinity::operator()(), RKCurvilinearDistance< T, N >::operator()(), RKCylindricalDistance< T, N >::operator()(), RKCartesianDistance::operator()(), RecHitLessByDet::operator()(), MuonTrackResidualAnalyzer::RadiusComparatorInOut::operator()(), MuonShowerInformationFiller::LessMag::operator()(), HGCalShowerShape::pass(), egHLT::EgTagProbeCut< T >::pass(), egHLT::EgTrigTagProbeCut::pass(), egHLT::EgTrigTagProbeCut_New::pass(), egHLT::EgTrigTagProbeCut_NewPho::pass(), EgammaIsoDetIdCollectionProducer< T1 >::produce(), SeedGeneratorFromL1TTracksEDProducer::produce(), SoftPFElectronTagInfoProducer::produce(), SoftPFMuonTagInfoProducer::produce(), reco::modules::CosmicTrackSplitter::produce(), SteppingHelixPropagator::propagate(), SteppingHelixPropagator::propagateWithPath(), TrackAssociatorByPositionImpl::quality(), GenericTripletGenerator::qualityFilter(), SteppingHelixPropagator::refToDest(), CosmicRegionalSeedGenerator::regions(), SoftLepton::relativeEta(), HGCalClusteringImpl::removeUnconnectedTCinCluster(), TrackInfoProducerAlgorithm::run(), DigiSimLinkAlgorithm::run(), magneticfield::BaseVolumeHandle::sameSurface(), btagbtvdeep::seedingTracksToFeatures(), SeedGeneratorForCosmics::seeds(), trackerDTC::SensorModule::SensorModule(), FWMagField::setFFFieldMag(), DDErrorDetection::so(), DynamicTruncation::sort(), SETSeedFinder::sortByLayer(), GlobalCosmicMuonTrajectoryBuilder::sortHits(), CosmicMuonSmoother::sortHitsAlongMom(), SeedFromNuclearInteraction::stateWithError(), TangentCircle::TangentCircle(), TangentHelix::TangentHelix(), DTSegtoRPC::thePoints(), SiLinearChargeDivider::TimeResponse(), ThirdHitPredictionFromCircle::transverseIP(), CheckSecondary::update(), and MultiVertexFitter::updateSeeds().
T __attribute__::mag2 | ( | ) | const |
The vector magnitude squared. Equivalent to vec.dot(vec)
Definition at line 124 of file Basic3DVectorLD.h.
Referenced by MTDDetSector::add(), ThirdHitPrediction::angleRatio(), fastmath::atan2r(), ThirdHitPrediction::calculateRangesForward(), CaloCellCrossing::CaloCellCrossing(), CaloSegment::CaloSegment(), Bcm1fSD::checkHit(), PltSD::checkHit(), TkAccumulatingSensitiveDetector::closeHit(), MTDDetSector::compatibleDets(), FastCircle::createCircleParameters(), SimpleNavigableLayer::crossingState(), EcalHitMaker::ecalCellLine(), RawParticle::et(), ThirdHitPrediction::findTouchingCircles(), V0Fitter::fitAll(), ClusterShapeTrackFilter::getGlobalDirs(), NuclearTrackCorrector::getInitialState(), egHLT::trigTools::getMinNrObjsRequiredByFilter(), ThirdHitPrediction::invertCircle(), ThirdHitPrediction::invertPoint(), ThirdHitPrediction::isCompatibleWithMultipleScattering(), SMS::location(), MTDThresholdClusterizer::make_cluster(), ConversionHitChecker::nHitsBeforeVtx(), fftjetcms::JetConvergenceDistance::operator()(), DistanceToCell::operator()(), CaloPoint::DistanceToVertex::operator()(), CaloPoint::operator<(), TwoTrackMinimumDistance::pointsHelixHelix(), TrackstersMergeProducer::produce(), GoodSeedProducer::produce(), and ThirdHitPredictionFromCircle::HelixRZ::rAtZ().
|
inline |
scalar product of vectors of same precision
Definition at line 257 of file Basic3DVectorLD.h.
References Basic3DVector< long double >::dot().
|
inline |
scalar product of vectors of different precision
Definition at line 263 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 269 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 278 of file Basic3DVectorLD.h.
References submitPVValidationJobs::t, Basic3DVector< long double >::x(), Basic3DVector< long double >::y(), and Basic3DVector< long double >::z().
|
inline |
Same as operator*( Vector, Scalar)
Definition at line 284 of file Basic3DVectorLD.h.
References submitPVValidationJobs::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 195 of file Basic3DVectorLD.h.
|
inline |
vector sum and subtraction of vectors of possibly different precision
Definition at line 218 of file Basic3DVectorLD.h.
|
inline |
Definition at line 228 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 235 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 174 of file Basic3DVectorLD.h.
Basic3DVector __attribute__::operator- | ( | ) | const |
Unary minus, returns a vector with components (-x(),-y(),-z())
Definition at line 192 of file Basic3DVectorLD.h.
|
inline |
Definition at line 222 of file Basic3DVectorLD.h.
References Basic3DVector< long double >::x(), Basic3DVector< long double >::y(), and Basic3DVector< long double >::z().
|
inline |
Definition at line 242 of file Basic3DVectorLD.h.
|
inline |
Definition at line 249 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 184 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 302 of file Basic3DVectorLD.h.
References alignCSCRings::s, and submitPVValidationJobs::t.
Basic3DVector& __attribute__::operator/= | ( | T | t | ) |
bool __attribute__::operator== | ( | const Basic3DVector & | rh | ) | const |
Definition at line 121 of file Basic3DVectorLD.h.
T __attribute__::perp | ( | ) | const |
Magnitude of transverse component.
Definition at line 133 of file Basic3DVectorLD.h.
Referenced by CMSTopTagger::_find_min_mass(), ElectronMcSignalValidator::analyze(), DrellYanValidation::analyze(), MBUEandQCDValidation::analyze(), MuonAlignmentAnalyzer::analyze(), TOBLayerBuilder::build(), Phase2OTBarrelRodBuilder::build(), TBLayer::computeCrossings(), PixelBlade::computeCrossings(), DD4hep_MaterialAccountingGroup::DD4hep_MaterialAccountingGroup(), ZeeCalibration::fillEleInfo(), HcalHardcodeGeometryLoader::fillHE(), HcalFlexiHardcodeGeometryLoader::fillHE(), HcalHardcodeGeometryLoader::fillHF(), HcalFlexiHardcodeGeometryLoader::fillHF(), GlobalHitsProdHist::fillMuon(), GlobalHitsAnalyzer::fillMuon(), GlobalHitsProducer::fillMuon(), GlobalHitsProdHist::fillTrk(), GlobalHitsAnalyzer::fillTrk(), GlobalHitsProducer::fillTrk(), TIDLayer::findClosest(), TIDLayer::findNextIndex(), MuonShowerInformationFiller::findPerpCluster(), Phase2EndcapLayer::findThreeClosest(), Trajectory::geometricalInnermostState(), CaloGeometryHelper::getClosestCell(), TrackFitter::getCotThetaAndUpdateZip(), TkLasBeamFitter::getLasBeams(), reco::GhostTrackPrediction::GhostTrackPrediction(), GlobalCoordsObtainer::GlobalCoordsObtainer(), TkLasBeamFitter::globalTrackPoint(), SimpleDiskBounds::inside(), DiskSectorBounds::inside(), TrackingRecHitLessFromGlobalPosition::insideOutLess(), MaterialAccountingGroup::MaterialAccountingGroup(), ThirdHitZPrediction::operator()(), CompareTwoTracksVectors::operator()(), TangentApproachInRPhi::perpdist(), EgammaIsoDetIdCollectionProducer< T1 >::produce(), RKPropagatorInS::propagateParametersOnCylinder(), AnalyticalPropagator::propagateParametersOnPlane(), SoftLepton::refineJetAxis(), CATopJetAlgorithm::run(), cms::CATopJetProducer::runAlgorithm(), and cms::HTTTopJetProducer::runAlgorithm().
T __attribute__::perp2 | ( | ) | const |
Squared magnitude of transverse component.
Definition at line 130 of file Basic3DVectorLD.h.
Referenced by PixelClusterShapeSeedComparitor::compatible(), TwoBodyDecayLinearizationPointFinder::getLinearizationPoint(), FastHelix::helixStateAtVertex(), reco::GhostTrackPrediction::init(), SimpleDiskBounds::inside(), DiskSectorBounds::inside(), GeomDetCompatibilityChecker::isCompatible(), AreaSeededTrackingRegionsBuilder::Builder::regionImpl(), CMSTopTagger::result(), and HGCalImagingAlgo::shareEnergy().
Definition at line 143 of file Basic3DVectorLD.h.
Geom::Theta<T> __attribute__::theta | ( | ) | const |
Definition at line 150 of file Basic3DVectorLD.h.
References Basic3DVector< T >::theX, Basic3DVector< T >::theY, Basic3DVector< T >::theZ, Basic3DVector< T >::x(), Basic3DVector< T >::y(), and Basic3DVector< T >::z().
Referenced by GflashTrajectory::_refreshCache(), Hector::addPartToHepMC(), fireworks::addStraightLineSegment(), algorithm(), ElectronTagProbeAnalyzer::analyze(), HCALRecHitAnalyzer::analyze(), EcalEBTrigPrimAnalyzer::analyze(), TrackerHitAnalyzer::analyze(), edm::FlatEGunASCIIWriter::analyze(), TrackBuildingAnalyzer::analyze(), StandaloneTrackMonitor::analyze(), EcalTrigPrimAnalyzer::analyze(), MuonDTDigis::analyze(), EcalTPGParamBuilder::analyze(), BaseProtonTransport::ApplyBeamCorrection(), BremsstrahlungSimulator::brem(), fastsim::Bremsstrahlung::brem(), MuonBremsstrahlungSimulator::brem(), fastsim::MuonBremsstrahlung::brem(), FWTracksterProxyBuilder::build(), FWConvTrackHitsDetailView::build(), FWMET3DProxyBuilder::build(), FWTauProxyBuilderBase::buildBaseTau(), FWECALCaloDataDetailViewBuilder::buildCaloData(), SeedingOTEDProducer::buildInitialTSOS(), FWPFClusterRPZUtils::buildRhoZClusterLineSet(), FWMETProxyBuilder::buildViewType(), FWJetProxyBuilder::buildViewType(), TFitParticleESpher::calc4Vec(), TFitParticleEtThetaPhi::calc4Vec(), TFitParticleSpher::calc4Vec(), TFitParticleMCSpher::calc4Vec(), TFitParticleMCPInvSpher::calc4Vec(), emtf::calc_theta_deg_from_int(), emtf::calc_theta_int(), emtf::calc_theta_int_rpc(), emtf::calc_theta_rad_from_eta(), PtAssignmentEngineAux2017::calcTrackTheta(), CSCHaloAlgo::Calculate(), PtAssignmentEngine2016::calculate_address(), PtAssignmentEngine2017::calculate_address(), AngleCalculation::calculate_angles(), PtAssignmentEngine2016::calculate_pt_xml(), PtAssignmentEngine2017::calculate_pt_xml(), CandidatePointSeededTrackingRegionsProducer::CandidatePointSeededTrackingRegionsProducer(), TwoBodyDecayModel::cartesianSecondaryMomenta(), SSDigitizerAlgorithm::cbc3PulsePolarExpansion(), MultipleScatteringSimulator::compute(), NuclearInteractionSimulator::compute(), AnalyticalCurvilinearJacobian::computeFullJacobian(), HDRShower::computeShower(), DTDigitizer::computeTime(), EcalHitMaker::configureGeometry(), DDHCalEndcapAlgo::constructInsideModule(), HCalEndcapAlgo::constructInsideModule(), DDHCalEndcapAlgo::constructInsideModule0(), HCalEndcapAlgo::constructInsideModule0(), ElectronEnergyCalibrator::correctLinearity(), TSCPBuilderNoMaterial::createFTSatTransverseImpactPointNeutral(), DDHGCalNoTaperEndcap::createQuarter(), fireworks::createSegment(), Decay3Body::doDecay(), CSCValidation::doSegments(), Pixel3DDigitizerAlgorithm::drift(), DTDigitizer::driftTimeFromParametrization(), DTBtiChip::DTBtiChip(), egammaTools::ecalEta(), tauImpactParameter::MultiProngTauSolver::estimateNu(), metsig::SignAlgoResolutions::eval(), DDAngular::execute(), DDTrackerAngular::execute(), DDTrackerPhiAlgo::execute(), DDTrackerPhiAltAlgo::execute(), DDTIDRingAlgo::execute(), DDHCalTestBeamAlgo::execute(), DDTECOptoHybAlgo::execute(), DDTECPhiAlgo::execute(), DDTECPhiAltAlgo::execute(), DDTIDAxialCableAlgo::execute(), DDHCalAngular::execute(), DDHCalXtalAlgo::execute(), DDHCalTBZposAlgo::execute(), DDTIBLayerAlgo::execute(), DDEcalBarrelAlgo::execute(), DDEcalBarrelNewAlgo::execute(), DDTrackerRingAlgo::execute(), KinematicPerigeeConversions::extendedPerigeeFromKinematicParameters(), CTPPSFastTrackingProducer::FastReco(), HcalTestAnalysis::fill(), SimG4HcalValidation::fill(), HcalTB04Analysis::fillBuffer(), GenSpecificAlgo::fillCommonMETData(), TrackerHitProducer::fillG4MC(), tadqm::TrackAnalyzer::fillHistosForState(), reco::Mustache::FillMustacheVar(), NtupleManager::FillOptObjects(), EopVariables::fillVariables(), SETFilter::find3MoreStartingPoints(), spr::findDetIdECAL(), spr::findDetIdHCAL(), SETFilter::findMinChi2(), MuonShowerInformationFiller::findThetaCluster(), tauImpactParameter::TauA1NuConstrainedFitter::fit(), LocalTrackFitter::fitAndRemoveOutliers(), OutInConversionSeedFinder::fixPointRadius(), PerigeeConversions::ftsToPerigeeParameters(), gen::Py8PtAndDxyGun::generatePartonsAndHadronize(), PPSTools::Get_t_and_xi(), calib::CalibElectron::getCalibModulesWeights(), EcalDeadCellTriggerPrimitiveFilter::getChannelStatusMaps(), EcalDeadCellDeltaRFilter::getChannelStatusMaps(), L1TMuon::TriggerPrimitive::getCMSGlobalPoint(), TFitParticleESpher::getDerivative(), TFitParticleEtThetaPhi::getDerivative(), TFitParticleSpher::getDerivative(), TFitParticleMCSpher::getDerivative(), TFitParticleMCPInvSpher::getDerivative(), HcalDDDSimConstants::getDetEta(), ZdcSD::getEnergyDeposit(), PtAssignmentEngineAux2016::getEtaFromThetaInt(), PythiaFilterIsolatedTrack::GetEtaPhiAtEcal(), IsolatedPixelTrackCandidateProducer::GetEtaPhiAtEcal(), IsolatedPixelTrackCandidateL1TProducer::GetEtaPhiAtEcal(), IsoTrig::GetEtaPhiAtEcal(), CastorSD::getFromLibrary(), PtAssignmentEngineAux::getGMTEta(), reco::TauMassTagInfo::getInvariantMass(), CastorShowerLibraryMaker::GetKinematics(), CastorShowerLibrary::getShowerHits(), DDHCalBarrelAlgo::getTheta(), CaloCellId::getThetaCell(), HcalDDDRecConstants::getThickActive(), HcalBarrelAlgo::HcalBarrelAlgo(), PPSTools::HectorParticle2LorentzVector(), DDHCalTestBeamAlgo::initialize(), DDHCalTBZposAlgo::initialize(), FastTimeDDDConstants::initialize(), fastsim::Bremsstrahlung::interact(), fastsim::MultipleScattering::interact(), fastsim::MuonBremsstrahlung::interact(), fastsim::NuclearInteraction::interact(), MuonMesh::isClusteredWith(), MuonMesh::isDuplicateOf(), riemannFit::lineFit(), edm::RandomtXiGunProducer::make_particle(), HcalDDDGeometryLoader::makeCell(), Multi5x5BremRecoveryClusterAlgo::makeIslandSuperClusters(), ticl::SeedingRegionByHF::makeRegions(), fireworks::makeRhoZSuperCluster(), FinalTreeBuilder::momentumPart(), CosmicGenFilterHelix::monitorStart(), heppy::Davismt2::mt2_massless(), muonisolation::CaloExtractor::MuonAtCaloPosition(), FWGUIManager::open3DRegion(), SimpleConeBounds::openingAngle(), SimG4HcalHitCluster::operator+=(), reco::PreshowerCluster::operator<(), DD4hep_ListGroups::overlayEtaReferences(), ListGroups::overlayEtaReferences(), DDLTrapezoid::processElement(), edm::GaussRandomPThetaGunProducer::produce(), edm::RandomMultiParticlePGunProducer::produce(), edm::FlatRandomEThetaGunProducer::produce(), edm::FileRandomMultiParticlePGunProducer::produce(), edm::FlatRandomMultiParticlePGunProducer::produce(), edm::FlatRandomPtThetaGunProducer::produce(), edm::FileRandomKEThetaGunProducer::produce(), ShallowTracksProducer::produce(), edm::FlatRandomOneOverPtGunProducer::produce(), edm::FlatRandomEGunProducer::produce(), edm::FlatRandomPtGunProducer::produce(), edm::MultiParticleInConeGunProducer::produce(), edm::ExpoRandomPtGunProducer::produce(), edm::BeamMomentumGunProducer::produce(), edm::ExpoRandomPGunProducer::produce(), ShallowSimTracksProducer::produce(), L1TTwinMuxProducer::produce(), pf2pat::PFMETAlgo::produce(), HLTL1TMuonSelector::produce(), HLTL1MuonSelector::produce(), L2MuonSeedGeneratorFromL1T::produce(), L2MuonSeedGenerator::produce(), L2MuonSeedGeneratorFromL1TkMu::produce(), TrackKinematicStatePropagator::propagateToTheTransversePCANeutral(), AsciiNeutronReader::readNextEvent(), heppy::Hemisphere::Reconstruct(), SteppingHelixPropagator::refToDest(), PointSeededTrackingRegionsProducer::regions(), CandidatePointSeededTrackingRegionsProducer::regions(), heppy::Hemisphere::RejectISR(), PFSpecificAlgo::run(), KFBasedPixelFitter::run(), EcalRecHitWorkerRecover::run(), RecoTracktoTP::s_eta(), TPtoRecoTrack::s_eta(), riemannFit::scatter_cov_rad(), CTPPSFastTrackingProducer::SearchTrack(), EcalDeadCellTriggerPrimitiveFilter::setEvtRecHitstatus(), TFitParticleEtThetaPhi::setIni4Vec(), TFitParticleESpher::setIni4Vec(), TFitParticleSpher::setIni4Vec(), TFitParticleMCSpher::setIni4Vec(), TFitParticleMCPInvSpher::setIni4Vec(), HcalForwardAnalysis::setPhotons(), tauImpactParameter::MultiProngTauSolver::setTauDirectionatThetaGJMax(), L1TMuon::TriggerPrimitive::setThetaBend(), EcalSelectiveReadoutValidation::setTtEtSums(), EcalSelectiveReadoutSuppressor::setTtFlags(), DTRecHitQuality::simHitImpactAngle(), smearFunctionBase::smearEta(), tauImpactParameter::TauA1NuConstrainedFitter::SolveAmbiguityAnalytically(), tauImpactParameter::TauA1NuConstrainedFitter::SolveAmbiguityAnalyticallywithRot(), tauImpactParameter::MultiProngTauSolver::solveByRotation(), reco::ForwardProton::t(), TangentCircle::TangentCircle(), tauImpactParameter::TauA1NuConstrainedFitter::TauRot(), kinem::theta(), HDRShower::thetaFunction(), HcalTestAnalysis::timeOfFlight(), HcalTB04Analysis::timeOfFlight(), spr::timeOfFlight(), SiStripFineDelayTOF::timeOfFlightBeamB(), SiStripFineDelayTOF::timeOfFlightCosmicB(), MuonNavigableLayer::trackingRange(), HectorTransport::transportProton(), InvariantMassFromVertex::uncertainty(), HcalTestAnalysis::update(), HcalTB02Analysis::update(), CastorTestAnalysis::update(), DoCastorAnalysis::update(), FW3DViewBase::updateClipPlanes(), MagGeoBuilderFromDDD::volumeHandle::volumeHandle(), magneticfield::volumeHandle::volumeHandle(), and ECALRecHitAnalyzer::WriteECALRecHits().
T __attribute__::transverse | ( | ) | const |
Another name for perp()
Definition at line 136 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 162 of file Basic3DVectorLD.h.
Referenced by AlignableDet::AlignableDet(), FWME0SegmentProxyBuilder::build(), FWCSCSegmentProxyBuilder::build(), DTCombinatorialExtendedPatternReco::buildSegments(), DTCombinatorialPatternReco::buildSegments(), btagbtvdeep::TrackPairInfoBuilder::buildTrackPairInfo(), FWGEMSegmentProxyBuilder::buildViewType(), FWDTSegmentProxyBuilder::buildViewType(), PhiMemoryImage::check_input(), PhiMemoryImage::clear_bit(), AnalyticalCurvilinearJacobian::computeInfinitesimalJacobian(), ForwardDiskSectorBuilderFromWedges::computeRotation(), ForwardDiskSectorBuilderFromDet::computeRotation(), converter::SuperClusterToCandidate::convert(), CaloDetIdAssociator::crossedElement(), CSCFileReader::CSCFileReader(), Line::distance(), SignedImpactParameter3D::distance(), SignedImpactParameter3D::distanceWithJetAxis(), TransverseImpactPointExtrapolator::doExtrapolation(), GlobalHitsProdHist::fillG4MC(), GlobalHitsAnalyzer::fillG4MC(), GlobalHitsProducer::fillG4MC(), PhiMemoryImage::get_word(), StubPtConsistency::getConsistency(), DDG4Builder::getDouble(), HcalDDDRecConstants::getEtaPhi(), HcalDDDRecConstants::getHCID(), FlatHexagon::getTransform(), TruncatedPyramid::getTransform(), FlatTrd::getTransform(), CaloCellGeometry::getTransform(), HcalObjRepresent::HcalDataContainer< Items, Item >::GetUnit(), HcalDDDSimConstants::HcalCellTypes(), HcalDDDRecConstants::HcalCellTypes(), HcalTopology::HcalTopology(), HcalDDDRecConstants::initialize(), DTChamberEfficiencyTask::interpolate(), IPTools::jetTrackDistance(), IPTools::linearImpactParameter(), TracksClusteringFromDisplacedSeed::nearTracks(), TransverseBoundPlaneFactory::operator()(), PerpendicularBoundPlaneBuilder::operator()(), operator<<(), HcalTopology::phiBin(), FullModelHadronicProcess::PostStepDoIt(), SiStripFedCabling::printSummary(), SimPFProducer::produce(), GoodSeedProducer::produce(), TemplatedInclusiveVertexFinder< InputContainer, VTX >::produce(), LowPtGsfElectronSeedProducer::propagateTrackToCalo(), regressionTest_first(), SeedFromNuclearInteraction::rotationMatrix(), SeedFromGenericPairOrTriplet::seedFromPair(), PhiMemoryImage::set_bit(), PhiMemoryImage::set_word(), l1tVertexFinder::Stub::setModuleInfo(), CSCSegFit::setOutFromIP(), MuonSegFit::setOutFromIP(), GEMCSCSegFit::setOutFromIP(), PhiMemoryImage::test_bit(), npstat::BoxND< Numeric >::unitBox(), and AlignableDet::update().
T __attribute__::x | ( | ) | const |
Basic2DVector<T> __attribute__::xy | ( | ) | const |
Definition at line 118 of file Basic3DVectorLD.h.
Referenced by Phase1PixelSummaryMap::addNamedBins(), MuonCSCChamberResidual::addResidual(), HGCGeometryValidation::analyze(), HGCalHitValidation::analyzeHGCalSimHit(), HGCalSimHitStudy::analyzeHits(), HGCalSimHitValidation::analyzeHits(), HGCalTBAnalyzer::analyzeSimHits(), TrackerSectorStruct::bookCorrHists(), CSCPairResidualsConstraint::calculatePhi(), HGCalDDDConstants::cellInLayer(), HFNoseNumberingScheme::checkPosition(), HGCalNumberingScheme::checkPosition(), MonitorTrackResidualsBase< pixel_or_strip >::createMEs(), CaloDetIdAssociator::crossedElement(), EcalTBMCInfoProducer::EcalTBMCInfoProducer(), HGCMouseBite::exclude(), MuonGeometryArrange::fillTree(), HGCalGeometry::get8Corners(), HGCalGeometry::getCorners(), NtupleManager::GetGlobalAngles(), MEEBGeom::getGraphBoundary(), HGCalGeometry::getNewCorners(), HGCalGeometry::getPosition(), HLTScalersClient::getSlope_(), HGCalWaferType::getType(), CachedTrajectory::getWideTrajectory(), fastTrackingUtilities::hitLocalError(), HGCalDDDConstants::isValidCell8(), HGCalGeomParameters::loadGeometryHexagon(), GEMStripTopology::localError(), CSCRadialStripTopology::localError(), TkRadialStripTopology::localError(), HGCalDDDConstants::localToGlobal8(), HGCalDDDConstants::locateCell(), FastTrackerRecHitMatcher::match(), SiStripRecHitMatcher::match(), GlobalErrorBase< double, ErrorMatrixTag >::phierr(), GlobalErrorBaseExtended< double, ErrorMatrixTag >::phierr(), CaloGeometryDBEP< T, U >::produceAligned(), gen::PtYDistributor::PtYDistributor(), CocoaAnalyzer::readXMLFile(), GlobalErrorBase< double, ErrorMatrixTag >::rerr(), GlobalErrorBaseExtended< double, ErrorMatrixTag >::rerr(), PixelFitterByConformalMappingAndLine::run(), ROOT::Math::Transform3DPJ::SetComponents(), LinkByRecHit::testECALAndPSByRecHit(), HGCalDDDConstants::waferFromPosition(), HGCalDDDConstants::waferLocal2Global(), HGCalDDDConstants::waferPosition(), HGCalDDDConstants::waferPositionNoRot(), HGCalWaferMask::waferXY(), and Basic3DVector< align::Scalar >::xy().
T __attribute__::y | ( | ) | const |
T __attribute__::z | ( | ) | const |
Cartesian z coordinate.
Definition at line 116 of file Basic3DVectorLD.h.
References Basic3DVector< T >::perp(), and Basic3DVector< T >::z().
T theW |
Definition at line 244 of file Basic3DVectorLD.h.
Referenced by align::diffAlignables().
T theX |
Definition at line 241 of file Basic3DVectorLD.h.
T theY |
Definition at line 242 of file Basic3DVectorLD.h.
T theZ |
Definition at line 243 of file Basic3DVectorLD.h.
Referenced by LaserAlignment::testRoutine().