16#ifndef TRKSPACEPOINT_SPACEPOINT_H
17#define TRKSPACEPOINT_SPACEPOINT_H
51 const std::pair<IdentifierHash, IdentifierHash>&
elementIdList()
const;
54 const std::pair<const PrepRawData*, const PrepRawData*>&
clusterList()
const;
62 double eta(
double z0 = 0)
const;
83 return std::unique_ptr<SpacePoint>(
clone());
92 virtual MsgStream&
dump(MsgStream& out)
const override = 0;
94 virtual std::ostream&
dump(std::ostream& out)
const override = 0;
97 std::pair<const PrepRawData*, const PrepRawData*>
m_clusList;
126inline const std::pair<const PrepRawData*, const PrepRawData*>&
134 return std::log(zr + std::sqrt(1. + zr * zr));
149inline const AmgSymMatrix(3)& SpacePoint::globCovariance()
const {
150 return m_globalCovariance;
Scalar eta() const
pseudorapidity method
#define AmgSymMatrix(dim)
This is a "hash" representation of an Identifier.
MeasurementBase()=default
Default constructor - needed for POOL/SEAL.
double phi() const
returns the phi value of the SpacePoint's position (in cylindrical coordinates).
virtual const Amg::Vector3D & globalPosition() const override final
Interface method to get the global Position.
virtual std::ostream & dump(std::ostream &out) const override=0
Interface method for output, to be overloaded by child classes*.
virtual MsgStream & dump(MsgStream &out) const override=0
Interface method for output, to be overloaded by child classes*.
virtual ~SpacePoint()=default
const AmgSymMatrix(3) &globCovariance() const
return the error matrix by reference The Matrix is calculated from the local Covariance Matrix when d...
void setupGlobalFromLocalCovariance()
set up the global covariance matrix by rotating the local one
std::unique_ptr< SpacePoint > uniqueClone() const
Clone.
double eta(double z0=0) const
calculate eta (not cached), needs z0 info
AmgSymMatrix(3) m_globalCovariance
virtual SpacePoint * clone() const override=0
Clone.
virtual bool type(MeasurementBaseType::Type type) const override final
Extended method checking the type.
const std::pair< IdentifierHash, IdentifierHash > & elementIdList() const
return the pair of Ids of the element by reference
virtual const Surface & associatedSurface() const override final
Interface method to get the associated Surface.
std::pair< IdentifierHash, IdentifierHash > m_elemIdList
double r() const
returns the r value of the SpacePoint's position (in cylindrical coordinates).
const std::pair< const PrepRawData *, const PrepRawData * > & clusterList() const
return the pair of cluster pointers by reference
std::pair< const PrepRawData *, const PrepRawData * > m_clusList
Abstract Base Class for tracking surfaces.
Definition of ATLAS Math & Geometry primitives (Amg)
Eigen::Matrix< double, 3, 1 > Vector3D
Ensure that the ATLAS eigen extensions are properly loaded.