|
ATLAS Offline Software
|
Go to the documentation of this file.
16 #ifndef TRKSPACEPOINT_SPACEPOINT_H
17 #define TRKSPACEPOINT_SPACEPOINT_H
31 class LocalParameters;
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;
115 std::ostream& operator<<(std::ostream& sl,
const SpacePoint& spacePoint);
126 inline const std::pair<const PrepRawData*, const PrepRawData*>&
134 return std::log(zr + std::sqrt(1. + zr * zr));
149 inline const AmgSymMatrix(3)& SpacePoint::globCovariance()
const {
150 return m_globalCovariance;
155 #endif // TRKSPACEPOINT_SPACEPOINT_H
const std::pair< const PrepRawData *, const PrepRawData * > & clusterList() const
return the pair of cluster pointers by reference
virtual MsgStream & dump(MsgStream &out) const override=0
Interface method for output, to be overloaded by child classes*.
virtual const Amg::Vector3D & globalPosition() const override final
Interface method to get the global Position.
const AmgSymMatrix(3) &globCovariance() const
return the error matrix by reference The Matrix is calculated from the local Covariance Matrix when d...
double phi() const
returns the phi value of the SpacePoint's position (in cylindrical coordinates).
std::pair< const PrepRawData *, const PrepRawData * > m_clusList
bool const RAWDATA *ch2 const
double r() const
returns the r value of the SpacePoint's position (in cylindrical coordinates).
virtual bool type(MeasurementBaseType::Type type) const override final
Extended method checking the type.
void setupGlobalFromLocalCovariance()
set up the global covariance matrix by rotating the local one
virtual const Surface & associatedSurface() const override final
Interface method to get the associated Surface.
Ensure that the ATLAS eigen extensions are properly loaded.
Definition of ATLAS Math & Geometry primitives (Amg)
const std::pair< IdentifierHash, IdentifierHash > & elementIdList() const
return the pair of Ids of the element by reference
Eigen::Matrix< double, 3, 1 > Vector3D
virtual SpacePoint * clone() const override=0
Clone.
std::unique_ptr< SpacePoint > uniqueClone() const
Clone.
double eta(double z0=0) const
calculate eta (not cached), needs z0 info
virtual ~SpacePoint()=default
AmgSymMatrix(3) m_globalCovariance
This is a "hash" representation of an Identifier. This encodes a 32 bit index which can be used to lo...
std::pair< IdentifierHash, IdentifierHash > m_elemIdList
virtual std::ostream & dump(std::ostream &out) const override=0
Interface method for output, to be overloaded by child classes*.