CMS 3D CMS Logo

Classes | Namespaces | Typedefs | Functions | Variables
extBasic3DVector.h File Reference
#include "DataFormats/GeometryVector/interface/Basic2DVector.h"
#include "DataFormats/GeometryVector/interface/Theta.h"
#include "DataFormats/GeometryVector/interface/Phi.h"
#include "DataFormats/GeometryVector/interface/PreciseFloatType.h"
#include "DataFormats/GeometryVector/interface/CoordinateSets.h"
#include "DataFormats/Math/interface/ExtVec.h"
#include "FWCore/Utilities/interface/Likely.h"
#include <iosfwd>
#include <cmath>
#include "Basic3DVectorLD.h"

Go to the source code of this file.

Classes

class  Basic3DVector< T >
 

Namespaces

 detailsBasic3DVector
 
 geometryDetails
 

Typedefs

typedef Basic3DVector< double > Basic3DVectorD
 
typedef Basic3DVector< float > Basic3DVectorF
 
typedef Geom::Cylindrical2Cartesian< TCylindrical
 
typedef Vec4< TMathVector
 
typedef Spherical Polar
 
typedef T ScalarType
 
typedef Geom::Spherical2Cartesian< TSpherical
 
typedef Vec4< TVectorType
 

Functions

float detailsBasic3DVector::__attribute__ ((always_inline)) __attribute__((pure)) eta(float x
 
template<typename T >
class Basic3DVector __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)
 
template<class U >
 Basic3DVector (Vec4< U > const &iv)
 
 Basic3DVector (const T &x, const T &y, const T &z, const T &w=0)
 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 &lh) 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 > &lh) const
 
T dot (const Basic3DVector &rh) const
 Scalar product, or "dot" product, with a vector of same type. More...
 
template<class U >
PreciseFloatType< T, U >::Type dot (const Basic3DVector< U > &lh) 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...
 
MathVector const & mathVector () const
 
template<class T >
T operator* (const Basic3DVector< T > &v1, const Basic3DVector< T > &v2)
 scalar product of vectors of same precision More...
 
template<class T , class U >
PreciseFloatType< T, U >::Type operator* (const Basic3DVector< T > &v1, const Basic3DVector< U > &v2)
 scalar product of vectors of different precision More...
 
template<class T >
Basic3DVector< Toperator* (const Basic3DVector< T > &v, T t)
 
template<class T >
Basic3DVector< Toperator* (T t, const Basic3DVector< T > &v)
 Same as operator*( Vector, Scalar) More...
 
template<class T , typename S >
Basic3DVector< Toperator* (S t, const Basic3DVector< T > &v)
 
template<class T , typename S >
Basic3DVector< Toperator* (const Basic3DVector< T > &v, S t)
 
Basic3DVectoroperator*= (T t)
 Scaling by a scalar value (multiplication) More...
 
template<class T >
Basic3DVector< Toperator+ (const Basic3DVector< T > &a, const Basic3DVector< T > &b)
 vector sum and subtraction of vectors of possibly different precision More...
 
template<class T , class U >
Basic3DVector< typename PreciseFloatType< T, U >::Type > operator+ (const Basic3DVector< T > &a, const Basic3DVector< U > &b)
 
template<class U >
Basic3DVectoroperator+= (const Basic3DVector< U > &p)
 
template<class T >
Basic3DVector< Toperator- (const Basic3DVector< T > &a, const Basic3DVector< T > &b)
 
template<class T , class U >
Basic3DVector< typename PreciseFloatType< T, U >::Type > operator- (const Basic3DVector< T > &a, const Basic3DVector< U > &b)
 
Basic3DVector operator- () const
 Unary minus, returns a vector with components (-x(),-y(),-z()) More...
 
template<class U >
Basic3DVectoroperator-= (const Basic3DVector< U > &p)
 
template<class T >
Basic3DVector< Toperator/ (const Basic3DVector< T > &v, T t)
 
template<class T , typename S >
Basic3DVector< Toperator/ (const Basic3DVector< T > &v, S s)
 
Basic3DVectoroperator/= (T t)
 Scaling by a scalar value (division) More...
 
template<class T >
std::ostream & operator<< (std::ostream &s, const Basic3DVector< T > &v)
 simple text output to standard streams More...
 
Basic3DVectoroperator= (const Basic3DVector &)=default
 Assignment operator. More...
 
bool operator== (const Basic3DVector &rh) const
 
T operator[] (int i) const
 
T perp () const
 Magnitude of transverse component. More...
 
T perp2 () const
 Squared magnitude of transverse component. More...
 
Geom::Phi< Tphi () const
 
std::ostream & geometryDetails::print3D (std::ostream &s, double x, double y, double z)
 
Geom::Theta< Ttheta () const
 
T transverse () const
 Another name for perp() More...
 
Basic3DVector unit () const
 
T w () const
 
T x () const
 Cartesian x coordinate. More...
 
Basic2DVector< Txy () const
 
T y () const
 Cartesian y coordinate. More...
 
T z () const
 Cartesian z coordinate. More...
 

Variables

Vec4< Tv
 
float float detailsBasic3DVector::y
 
float float float detailsBasic3DVector::z
 

Typedef Documentation

◆ Basic3DVectorD

typedef Basic3DVector<double> Basic3DVectorD

Definition at line 309 of file extBasic3DVector.h.

◆ Basic3DVectorF

typedef Basic3DVector<float> Basic3DVectorF

Definition at line 308 of file extBasic3DVector.h.

◆ Cylindrical

Definition at line 160 of file extBasic3DVector.h.

◆ MathVector

typedef Vec4<T> MathVector

Definition at line 159 of file extBasic3DVector.h.

◆ Polar

typedef Spherical Polar

Definition at line 162 of file extBasic3DVector.h.

◆ ScalarType

typedef T ScalarType

Definition at line 157 of file extBasic3DVector.h.

◆ Spherical

Definition at line 161 of file extBasic3DVector.h.

◆ VectorType

typedef Vec4<T> VectorType

Definition at line 158 of file extBasic3DVector.h.

Function Documentation

◆ __attribute__()

template<typename T >
class Basic3DVector __attribute__ ( (aligned(16))  )

◆ barePhi()

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 258 of file extBasic3DVector.h.

259 {

◆ bareTheta()

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 265 of file extBasic3DVector.h.

265 {

◆ Basic3DVector() [1/8]

__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 168 of file extBasic3DVector.h.

170 {

◆ Basic3DVector() [2/8]

__attribute__::Basic3DVector ( const Basic3DVector p)

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

Definition at line 171 of file extBasic3DVector.h.

176 { return Basic3DVector(-v); }
Basic3DVector()
Vec4< T > v

◆ Basic3DVector() [3/8]

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

Copy constructor and implicit conversion from Basic3DVector of different precision.

Definition at line 178 of file extBasic3DVector.h.

179 {

◆ Basic3DVector() [4/8]

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

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

Definition at line 181 of file extBasic3DVector.h.

185 {

◆ Basic3DVector() [5/8]

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 192 of file extBasic3DVector.h.

References dot(), and Basic3DVector< T >::v.

192 { return ::dot(v, rh.v); }
T dot(const Basic3DVector &rh) const
Scalar product, or "dot" product, with a vector of same type.
Vec4< T > v

◆ Basic3DVector() [6/8]

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

Definition at line 198 of file extBasic3DVector.h.

◆ Basic3DVector() [7/8]

__attribute__::Basic3DVector ( const T x,
const T y,
const T z,
const T w = 0 
)

construct from cartesian coordinates

Definition at line 201 of file extBasic3DVector.h.

◆ Basic3DVector() [8/8]

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 208 of file extBasic3DVector.h.

◆ cross() [1/2]

Basic3DVector __attribute__::cross ( const Basic3DVector lh) const

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

Definition at line 330 of file extBasic3DVector.h.

◆ cross() [2/2]

template<class U >
Basic3DVector<typename PreciseFloatType<T, U>::Type> __attribute__::cross ( const Basic3DVector< U > &  lh) 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 338 of file extBasic3DVector.h.

◆ dot() [1/2]

T __attribute__::dot ( const Basic3DVector rh) const

Scalar product, or "dot" product, with a vector of same type.

Definition at line 316 of file extBasic3DVector.h.

Referenced by Basic3DVector(), and Basic3DVector< align::Scalar >::mag2().

◆ dot() [2/2]

template<class U >
PreciseFloatType<T, U>::Type __attribute__::dot ( const Basic3DVector< U > &  lh) 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 324 of file extBasic3DVector.h.

◆ eta()

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 273 of file extBasic3DVector.h.

Referenced by Basic3DVector< align::Scalar >::eta().

273 {

◆ mag()

T __attribute__::mag ( ) const

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

Definition at line 243 of file extBasic3DVector.h.

◆ mag2()

T __attribute__::mag2 ( ) const

The vector magnitude squared. Equivalent to vec.dot(vec)

Definition at line 240 of file extBasic3DVector.h.

◆ mathVector()

MathVector & mathVector ( ) const

Definition at line 215 of file extBasic3DVector.h.

◆ operator*() [1/6]

template<class T >
T operator* ( const Basic3DVector< T > &  v1,
const Basic3DVector< T > &  v2 
)
inline

scalar product of vectors of same precision

Definition at line 259 of file extBasic3DVector.h.

259  {
260  return v1.dot(v2);
261 }

◆ operator*() [2/6]

template<class T , class U >
PreciseFloatType<T, U>::Type operator* ( const Basic3DVector< T > &  v1,
const Basic3DVector< U > &  v2 
)
inline

scalar product of vectors of different precision

Definition at line 265 of file extBasic3DVector.h.

265  {
266  return v1.dot(v2);
267 }

◆ operator*() [3/6]

template<class T >
Basic3DVector<T> operator* ( const Basic3DVector< T > &  v,
T  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 273 of file extBasic3DVector.h.

References submitPVValidationJobs::t, and v.

273  {
274  return v.v * t;
275 }
Vec4< T > v

◆ operator*() [4/6]

template<class T >
Basic3DVector<T> operator* ( T  t,
const Basic3DVector< T > &  v 
)
inline

Same as operator*( Vector, Scalar)

Definition at line 279 of file extBasic3DVector.h.

References submitPVValidationJobs::t, and v.

279  {
280  return v.v * t;
281 }
Vec4< T > v

◆ operator*() [5/6]

template<class T , typename S >
Basic3DVector<T> operator* ( S  t,
const Basic3DVector< T > &  v 
)
inline

Definition at line 284 of file extBasic3DVector.h.

References submitPVValidationJobs::t, and v.

284  {
285  return static_cast<T>(t) * v;
286 }
long double T
Vec4< T > v

◆ operator*() [6/6]

template<class T , typename S >
Basic3DVector<T> operator* ( const Basic3DVector< T > &  v,
S  t 
)
inline

Definition at line 289 of file extBasic3DVector.h.

References submitPVValidationJobs::t, and v.

289  {
290  return static_cast<T>(t) * v;
291 }
long double T
Vec4< T > v

◆ operator*=()

Basic3DVector& __attribute__::operator*= ( T  t)

Scaling by a scalar value (multiplication)

Definition at line 303 of file extBasic3DVector.h.

◆ operator+() [1/2]

template<class T >
Basic3DVector<T> operator+ ( const Basic3DVector< T > &  a,
const Basic3DVector< T > &  b 
)
inline

vector sum and subtraction of vectors of possibly different precision

Definition at line 235 of file extBasic3DVector.h.

References a, and b.

235  {
236  return a.v + b.v;
237 }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121

◆ operator+() [2/2]

template<class T , class U >
Basic3DVector<typename PreciseFloatType<T, U>::Type> operator+ ( const Basic3DVector< T > &  a,
const Basic3DVector< U > &  b 
)
inline

Definition at line 244 of file extBasic3DVector.h.

245  {
247  return RT(a).v + RT(b).v;
248 }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121

◆ operator+=()

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

Operator += with a Basic3DVector of possibly different precision.

Definition at line 286 of file extBasic3DVector.h.

289  {

◆ operator-() [1/3]

template<class T >
Basic3DVector<T> operator- ( const Basic3DVector< T > &  a,
const Basic3DVector< T > &  b 
)
inline

Definition at line 239 of file extBasic3DVector.h.

239  {
240  return a.v - b.v;
241 }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121

◆ operator-() [2/3]

template<class T , class U >
Basic3DVector<typename PreciseFloatType<T, U>::Type> operator- ( const Basic3DVector< T > &  a,
const Basic3DVector< U > &  b 
)
inline

Definition at line 251 of file extBasic3DVector.h.

252  {
254  return RT(a).v - RT(b).v;
255 }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121

◆ operator-() [3/3]

Basic3DVector __attribute__::operator- ( ) const

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

Definition at line 300 of file extBasic3DVector.h.

302 {

◆ operator-=()

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

Operator -= with a Basic3DVector of possibly different precision.

Definition at line 294 of file extBasic3DVector.h.

297  {

◆ operator/() [1/2]

template<class T >
Basic3DVector<T> operator/ ( const Basic3DVector< T > &  v,
T  t 
)
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 297 of file extBasic3DVector.h.

References submitPVValidationJobs::t, and v.

297  {
298  return v.v / t;
299 }
Vec4< T > v

◆ operator/() [2/2]

template<class T , typename S >
Basic3DVector<T> operator/ ( const Basic3DVector< T > &  v,
S  s 
)
inline

Definition at line 302 of file extBasic3DVector.h.

302  {
303  // T t = S(1)/s; return v*t;
304  T t = s;
305  return v / t;
306 }
long double T
Vec4< T > v

◆ operator/=()

Basic3DVector& __attribute__::operator/= ( T  t)

Scaling by a scalar value (division)

Definition at line 309 of file extBasic3DVector.h.

◆ operator<<()

template<class T >
std::ostream& operator<< ( std::ostream &  s,
const Basic3DVector< T > &  v 
)
inline

simple text output to standard streams

Definition at line 229 of file extBasic3DVector.h.

229  {
230  return geometryDetails::print3D(s, v.x(), v.y(), v.z());
231 }
std::ostream & print3D(std::ostream &s, double x, double y, double z)
Definition: print.cc:5
Vec4< T > v

◆ operator=()

Basic3DVector& __attribute__::operator= ( const Basic3DVector )
default

Assignment operator.

◆ operator==()

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

Definition at line 234 of file extBasic3DVector.h.

235  {
236  return a.v + b.v;
237 }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121

◆ operator[]()

T & operator[] ( int  i) const

◆ perp()

T __attribute__::perp ( ) const

Magnitude of transverse component.

Definition at line 249 of file extBasic3DVector.h.

◆ perp2()

T __attribute__::perp2 ( ) const

Squared magnitude of transverse component.

Definition at line 246 of file extBasic3DVector.h.

◆ phi()

Geom::Phi<T> __attribute__::phi ( ) const

Definition at line 259 of file extBasic3DVector.h.

259 {

◆ theta()

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

Definition at line 266 of file extBasic3DVector.h.

273 {

◆ transverse()

T __attribute__::transverse ( ) const

Another name for perp()

Definition at line 252 of file extBasic3DVector.h.

References a, b, and Basic3DVector< T >::v.

252 {

◆ unit()

Basic3DVector __attribute__::unit ( ) const

Unit vector parallel to this. If mag() is zero, a zero vector is returned.

Definition at line 278 of file extBasic3DVector.h.

279  {
280  return v.v * t;
281 }
Vec4< T > v

◆ w()

T __attribute__::w ( ) const

Definition at line 229 of file extBasic3DVector.h.

References geometryDetails::print3D(), alignCSCRings::s, and v.

Referenced by EcalSelectiveReadoutSuppressor::accept(), EERecHitGPUtoSoA::acquire(), HEBRecHitGPUtoSoA::acquire(), HEFRecHitGPUtoSoA::acquire(), MkFitGeometryESProducer::MatHistBin::add(), FastLineRecognition::Cluster::add(), reco::Vertex::add(), lhef::LHERunInfo::Process::addAccepted(), lhef::LHERunInfo::Process::addAcceptedBr(), reco::PFDisplacedVertex::addElement(), MinL3Algorithm::addEvent(), MinL3AlgoUniv< DetId >::addEvent(), lhef::LHERunInfo::Process::addKilled(), hi::GenPlane::addParticle(), ParabolaFit::addPoint(), lhef::LHERunInfo::Process::addSelected(), edm::PreMixingModule::addSignals(), edm::WorkerManager::addToAllWorkers(), edm::StreamSchedule::addToAllWorkers(), lhef::LHERunInfo::Process::addTried(), DQMMessageLogger::analyze(), L1TDTTF::analyze(), ValidationMisalignedTracker::analyze(), MuonTrackValidator::analyze(), EcalSimHitStudy::analyzeHits(), BaseTagInfoPlotter::analyzeTag(), SoftLeptonTagPlotter::analyzeTag(), TrackCountingTagPlotter::analyzeTag(), IPTagPlotter< Container, Base >::analyzeTag(), TrackProbabilityTagPlotter::analyzeTag(), TaggingVariablePlotter::analyzeTag(), JetTagPlotter::analyzeTag(), TagCorrelationPlotter::analyzeTags(), pat::PATLostTracks::associateTrkToVtx(), edm::PreMixingModule::beginLuminosityBlock(), edm::PreMixingModule::beginRun(), DAClusterizerInZ_vect::beta0(), DAClusterizerInZT_vect::beta0(), DTSegment4DQuality::bookHistograms(), DTRecHitQuality::bookHistograms(), HGCalGeometryLoader::build(), HGCalTBGeometryLoader::build(), FWVertexProxyBuilder::build(), CTPPSCompositeESSource::buildLHCInfo(), PPSAlignmentHarvester::buildModeGraph(), CSCEventData::calcALCTcrc(), L1RCTElectronIsolationCard::calcElectronCandidates(), BoostedDoubleSVProducer::calcNsubjettiness(), FastCircleFit::calculate(), ClusterShapeAlgo::Calculate_Covariances(), HGCalCellUV::cellUVFromXY1(), PFPileUpAlgo::chargedHadronVertex(), PrimaryVertexAssignment::chargedHadronVertex(), PFIsolationEstimator::chargedHadronVertex(), JetCharge::chargeFromRef(), JetCharge::chargeFromValIterator(), CSCDCCExaminer::check(), AdaptiveVertexReconstructor::cleanUpVertices(), RPCEventSummary::clientOperation(), CmsShowMain::CmsShowMain(), EcalDccWeightBuilder::computeAllWeights(), G4muDarkBremsstrahlungModel::ComputeCrossSectionPerAtom(), GaussianSumUtilities1D::computeMode(), HFCherenkov::computeNPE(), HFCherenkov::computeNPEinPMT(), convert(), EcalClusterToolsT< noZS >::covariances(), TagProbeFitter::createPdf(), pdg::cTau(), TtFullLepKinSolver::cubic(), EcalSelectiveReadoutValidation::dccZsFIR(), ESDataFormatterV1_1::DigiToRaw(), ESDataFormatterV4::DigiToRaw(), npstat::HistoND< Numeric, Axis >::dispatch(), FWGUISubviewArea::dock(), TagProbeFitter::doCntEfficiency(), TagProbeFitter::doFitEfficiency(), edm::PreMixingModule::doPileUp(), MultiTrackValidatorGenPs::dqmAnalyze(), MultiTrackValidator::dqmAnalyze(), HGCalValidator::dqmAnalyze(), DTRecHitClients::dqmEndJob(), FWFramedTextTableCellRenderer::draw(), FWTextTableCellRenderer::draw(), FWColorRow::DrawHighlight(), EcalDccWeightBuilder::encodeWeight(), l1t::EndCapParamsHelper::EndCapParamsHelper(), edm::PreMixingModule::endRun(), AbsPlan1RechitCombiner::energyWeightedAverage(), AdaptiveVertexReconstructor::erase(), edmtest::ESTestDataB::ESTestDataB(), ESRecHitAnalyticAlgo::EvalAmplitude(), ESRecHitSimAlgo::evalAmplitude(), EcalTBEventHeader::eventType(), HFShowerLibrary::extrapolate(), l1tVertexFinder::VertexFinder::fastHistoEmulation(), TrackIPHistograms< T >::fill(), CSCMonitorObject::Fill(), FlavourHistograms< T >::fill(), FlavourHistograms2D< T, G >::fill(), cms::alpakatools::OneToManyAssocBase< I, ONES, SIZE >::fill(), cms::alpakatools::HistoContainer< T, NBINS, SIZE, S, I, NHISTS >::fill(), npstat::HistoND< Numeric, Axis >::fill(), dqm::impl::MonitorElement::Fill(), EcalSelectiveReadoutValidation::fill(), GEMDQMBase::MEMapInfT< M, K >::Fill(), QcdUeDQM::fill1D(), QcdLowPtDQM::fill1D(), QcdUeDQM::fill2D(), QcdLowPtDQM::fill2D(), QcdLowPtDQM::fill3D(), DAClusterizerInZ_vect::fill_vertices(), GEMDQMBase::MEMapInfT< M, K >::FillBits(), npstat::HistoND< Numeric, Axis >::fillC(), EvtPlaneProducer::fillCastor(), EvtPlaneProducer::fillHF(), tadqm::TrackAnalyzer::fillHistosForState(), JetMETHLTOfflineSource::fillMEforMonTriggerSummary(), npstat::HistoND< Numeric, Axis >::fillPreservingCentroid(), QcdUeDQM::fillProfile(), EvtPlaneProducer::fillTracker(), QcdUeDQM::fillUE_with_ChargedJets(), QcdUeDQM::fillUE_with_MaxpTtrack(), TrackIPHistograms< T >::fillVariable(), FlavourHistograms< T >::fillVariable(), FlavourHistograms2D< T, G >::fillVariable(), edm::fillWorkerSummaryAux(), CSCDigiValidator::filter(), mkfit::MkBuilder::find_tracks_handle_missed_layers(), CSCHitFromStripOnly::findHitOnStripPosition(), FFTJetPFPileupCleaner::findSomeVertexWFakes(), hgcalsimclustertime::ComputeClusterTime::fixSizeHighestDensity(), FKDPoint< TYPE, numberOfDimensions >::FKDPoint(), L1GTDigiToRaw::flipPtQ(), calo::multifit::fnnls(), FsmwClusterizer1DNameSpace::fsmw(), FWFFHelper::FWFFHelper(), FWTGLViewer::GenerateFbo(), hi::GenPlane::getAngle(), MultiTrackSelector::getBestVertex(), FWTabularWidget::GetDefaultSize(), ECFAdder::getECF(), HFShower::getHits(), npstat::UniformAxis::getInterval(), npstat::GridAxis::getInterval(), popcon::EcalTPGWeightIdMapHandler::getNewObjects(), popcon::EcalTPGOddWeightIdMapHandler::getNewObjects(), FastLineRecognition::getOneLine(), FastLineRecognition::getPatterns(), HcalSiPMnonlinearity::getPixelsFired(), NjettinessAdder::getTau(), FWGUISubviewArea::getToolBarFromWindow(), l1t::GlobalParamsHelper::GlobalParamsHelper(), GlobalTrackerMuonAlignment::gradientGlobal(), graph_tree_output(), TtGenEvent::hadronicDecayQuark(), CmsAnnotation::Handle(), FWGUIEventFilter::HandleKey(), FWTableWidget::handleResize(), ALPAKA_ACCELERATOR_NAMESPACE::hcalFastCluster_exotic(), ALPAKA_ACCELERATOR_NAMESPACE::hcalFastCluster_multiSeedIterative(), ALPAKA_ACCELERATOR_NAMESPACE::hcalFastCluster_multiSeedParallel(), CSCAFEBConnectAnalysis::hf1ForId(), CSCAFEBThrAnalysis::hf1ForId(), CSCAFEBConnectAnalysis::hf2ForId(), CSCAFEBThrAnalysis::hf2ForId(), FWEveViewManager::highlightAdded(), TtFullHadHypothesis::hypo(), popcon::EcalSRPHandler::importDccConfigFile(), ecalsrcondtools::importParameterSet(), l1t::ClusterShapes::Init(), edm::StreamSchedule::initializeEarlyDelete(), edm::PreMixingModule::initializeEvent(), VirtualJetProducer::inputTowers(), HFShowerLibrary::interpolate(), npstat::ArrayND< Numeric >::interpolate1(), CSCLayerGeometry::intersectionOfStripAndWire(), heppy::IsolationComputer::isoSumNeutralsWeighted(), GenericMinL3Algorithm::iterate(), CSCLayerGeometry::lengthOfWireGroup(), npstat::UniformAxis::linearInterval(), npstat::GridAxis::linearInterval(), brokenline::lineFit(), ALPAKA_ACCELERATOR_NAMESPACE::brokenline::lineFit(), CSCLayerGeometry::localCenterOfWireGroup(), EcalClusterToolsT< noZS >::localCovariances(), Phase2L1GMT::PreTrackMatchedMuon::lsb(), HFClusterAlgo::makeCluster(), FWTGLViewer::MakeFboScale(), MuScleFitUtils::massProb(), FWHistSliceSelector::matchCell(), CSCDigiMatcher::matchWiresToSimTrack(), FWTableWidget::MoveResize(), RPCNoisyStripTest::myBooker(), RPCOccupancyTest::myBooker(), RPCClusterSizeTest::myBooker(), TracksClusteringFromDisplacedSeed::nearTracks(), CSCRecoConditions::noiseMatrix(), ESRecHitSimAlgo::oldEvalAmplitude(), ALPAKA_ACCELERATOR_NAMESPACE::ecal::raw::Kernel_unpack::operator()(), GhostTrackComputer::operator()(), PropagationDirectionChooser::operator()(), CombinedSVComputer::operator()(), npstat::LinInterpolatedTableND< Numeric, Axis >::operator()(), output(), pack_into_bits(), L1GTDigiToRaw::packGMT(), InnerDeltaPhi::phiRange(), edm::PreMixingModule::pileWorker(), FWColorPopup::PlacePopup(), DD4hep_TrackingMaterialPlotter::plotSegmentInLayer(), TrackingMaterialPlotter::plotSegmentInLayer(), DD4hep_TrackingMaterialPlotter::plotSegmentUnassigned(), TrackingMaterialPlotter::plotSegmentUnassigned(), l1t::PrescalesVetosFractHelper::PrescalesVetosFractHelper(), l1t::PrescalesVetosHelper::PrescalesVetosHelper(), GctDigiToRaw::print(), VFATFrame::Print(), DTConfigBti::print(), Phase2Tracker::printHex(), sistrip::printHex(), VFATFrame::PrintT2(), pps::RawDataUnpacker::processOptoRxFrameSerial(), pps::RawDataUnpacker::processVFATDataParallel(), TOFPIDProducer::produce(), GEMDigiToRawModule::produce(), CTPPSProtonProducer::produce(), TemplatedInclusiveVertexFinder< InputContainer, VTX >::produce(), TemplatedSecondaryVertexProducer< IPTI, VTX >::produce(), JetFlavourClustering::produce(), nnet::product::both_binary< x_T, w_T >::product(), nnet::product::weight_binary< x_T, w_T >::product(), nnet::product::data_binary< x_T, w_T >::product(), nnet::product::weight_ternary< x_T, w_T >::product(), nnet::product::mult< x_T, w_T >::product(), nnet::product::weight_exponential< x_T, w_T >::product(), CTPPSProtonReconstructionSimulationValidator::PlotGroup::profileToRMSGraph(), LA_Filler_Fitter::pull(), edm::PreMixingModule::put(), PrimaryVertexMonitor::pvTracksPlots(), GeneralPurposeVertexAnalyzer::pvTracksPlots(), TtFullLepKinSolver::quartic(), emtf::Forest::rankVariables(), RPCPackingModule::rawData(), StoreESCondition::readESTimeSampleWeightsFromFile(), popcon::EcalTPGWeightIdMapHandler::readtxtFile(), popcon::EcalTPGOddWeightIdMapHandler::readtxtFile(), popcon::EcalTPGOddWeightIdMapHandler::readxmlFile(), popcon::EcalTPGWeightIdMapHandler::readxmlFile(), DQMNet::releaseFromWait(), edm::maker::ModuleHolderT< T >::replaceModuleFor(), FWTableWidget::Resize(), ParabolaFit::result(), SiG4UniversalFluctuation::SampleFluctuations(), TagProbeFitter::saveDistributionsPlot(), TagProbeFitter::saveFitPlot(), SmartSelectionMonitor::Scale(), EcalClusterToolsT< noZS >::scLocalCovariances(), MuonHitsChamberResidual::segment_fit(), GFHistManager::SetCanvasWidth(), helper::MuonCollectionStoreManager::setCloneClusters(), helper::TrackCollectionStoreManager::setCloneClusters(), LMFLaserConfigDat::setData(), DTConfigBti::setDefaults(), l1ct::PuppiObj::setHwEmID(), l1ct::PuppiObj::setHwPuppiW(), TagProbeFitter::setInitialValues(), FWMuonBuilder::setLineWidth(), PHcalTB06Info::setVtxPrim(), PHcalTB04Info::setVtxPrim(), LMFLaserConfigDat::setWavelength(), TmpSimEvent::setWeight(), l1tVertexFinder::L1Track::setWeight(), AdaptiveVertexFitter::setWeightThreshold(), RPCSimParam::simulate(), SiPixelDigiMorphing::SiPixelDigiMorphing(), DDErrorDetection::so(), DAClusterizerInZ_vect::split(), TFileAdaptor::statsXML(), CSCRecoConditions::stripWeight(), FWGUIManager::subviewDestroyAll(), dtCalibration::DTT0FEBPathCorrection::t0FEBPathCorrection(), TestPythiaDecays::TestPythiaDecays(), TrackVertexArbitration< VTX >::trackVertexArbitrator(), unpack_from_bits(), AdaptiveChisquarePrimaryVertexFitter::update(), DAClusterizerInZ_vect::update(), DAClusterizerInZT_vect::update(), svhelper::updateVertexTime(), MultiVertexFitter::updateWeights(), TagProbeFitter::varFixer(), TagProbeFitter::varRestorer(), TagProbeFitter::varSaver(), VertexTimeAlgorithmLegacy4D::vertexTime(), VertexTimeAlgorithmFromTracksPID::vertexTime(), MultiVertexFitter::vertices(), CSCDCCUnpacker::visual_raw(), muonisolation::IsolatorByNominalEfficiency::weightedSum(), muonisolation::IsolatorByDeposit::weightedSum(), PosteriorWeightsCalculator::weights(), RPCCompDetId::wheel(), FWCollectionSummaryModelCellRenderer::width(), FWTextTreeCellRenderer::width(), CSCDigiMatcher::wiregroupsInChamber(), edm::WorkerInPath::WorkerInPath(), FEConfigFgrParamDat::writeArrayDB(), MonLaserPulseDat::writeArrayDB(), FEConfigLinDat::writeArrayDB(), MonLaserRedDat::writeArrayDB(), MonLaserBlueDat::writeArrayDB(), MonLaserIRedDat::writeArrayDB(), MonLed1Dat::writeArrayDB(), MonLed2Dat::writeArrayDB(), MonLaserGreenDat::writeArrayDB(), MonPNPedDat::writeArrayDB(), FEConfigParamDat::writeArrayDB(), FEConfigOddWeightGroupDat::writeArrayDB(), MonMemChConsistencyDat::writeArrayDB(), MonCrystalConsistencyDat::writeArrayDB(), MonPedestalsDat::writeArrayDB(), MonTTConsistencyDat::writeArrayDB(), MonTestPulseDat::writeArrayDB(), MonMemTTConsistencyDat::writeArrayDB(), MonPNRedDat::writeArrayDB(), MonPNLed1Dat::writeArrayDB(), MonPNGreenDat::writeArrayDB(), MonPNBlueDat::writeArrayDB(), MonPNLed2Dat::writeArrayDB(), MonPNMGPADat::writeArrayDB(), MonPNIRedDat::writeArrayDB(), DCULVRVoltagesDat::writeArrayDB(), EcalDccWeightBuilder::writeWeightToDB(), RntDumper::WritifyModel(), and OverlapValidation::~OverlapValidation().

229 {

◆ x()

T __attribute__::x ( ) const

Cartesian x coordinate.

Definition at line 221 of file extBasic3DVector.h.

223 {

◆ xy()

Basic2DVector<T> __attribute__::xy ( ) const

Definition at line 231 of file extBasic3DVector.h.

Referenced by Basic3DVector< align::Scalar >::xy().

235 {

◆ y()

T __attribute__::y ( ) const

Cartesian y coordinate.

Definition at line 224 of file extBasic3DVector.h.

◆ z()

T __attribute__::z ( ) const

Cartesian z coordinate.

Definition at line 227 of file extBasic3DVector.h.

Variable Documentation

◆ v

Vec4<T> v

Definition at line 344 of file extBasic3DVector.h.

Referenced by operator*(), operator/(), and w().