|
ATLAS Offline Software
|
Go to the documentation of this file.
9 #ifndef TRKPARAMETERSBASE_CURVILINEARPARAMETERS_T_H
10 #define TRKPARAMETERSBASE_CURVILINEARPARAMETERS_T_H
46 template<
int DIM,
class T,
class S>
51 "The surface type must be Plane");
60 std::optional<
AmgSymMatrix(DIM)> covariance = std::nullopt,
61 unsigned int cIdenfier = 0);
70 std::optional<
AmgSymMatrix(DIM)> covariance = std::nullopt,
71 unsigned int cIdenfier = 0);
79 std::optional<
AmgSymMatrix(DIM)> covariance = std::nullopt,
80 unsigned int cIdenfier = 0);
111 virtual
bool operator==(
158 #include "TrkParametersBase/CurvilinearParametersT.icc"
const AmgVector(DIM) ¶meters() const
Access methods for the parameters.
CurvilinearParametersT(const Amg::Vector3D &pos, const Amg::Vector3D &mom, double charge, std::optional< AmgSymMatrix(DIM)> covariance=std::nullopt, unsigned int cIdenfier=0)
Create CurvilinearParametersT from global parameters.
CurvilinearParametersT(const CurvilinearParametersT< DIM, T, S > &)=default
Copy Constructor.
double charge() const
Returns the charge.
virtual void updateParametersHelper(const AmgVector(DIM) &) override final
contains the n parameters
New convertor which handles all track parameters in one go - i.e.
virtual CurvilinearParametersT< DIM, T, S > * clone() const override final
Virtual clone.
CurvilinearUVT curvilinearFrame() const
return the curvilinear frame
const AmgSymMatrix(DIM) *covariance() const
Access method for the covariance matrix - returns nullptr if no covariance matrix is given.
virtual Amg::RotationMatrix3D measurementFrame() const override final
Return the measurementFrame of the parameters.
CurvilinearParametersT(const AmgVector(DIM+2) ¶meters, std::optional< AmgSymMatrix(DIM)> covariance=std::nullopt, unsigned int cIdenfier=0)
Create CurvilinearParametersT from DIM+2 parameters.
bool const RAWDATA *ch2 const
unsigned int m_cIdentifier
the curvilinear parameters identifier
CurvilinearParametersT()=default
default constructor only for POOL
unsigned int cIdentifier() const
the curvilinear parameters identifier
constexpr virtual ParametersType type() const override final
Return the ParametersType enum.
constexpr virtual SurfaceType surfaceType() const override final
Return the Surface Type enum.
void setcIdentifier(unsigned int cIdentifier)
CurvilinearParametersT(const Amg::Vector3D &pos, double phi, double theta, double qOverP, std::optional< AmgSymMatrix(DIM)> covariance=std::nullopt, unsigned int cIdenfier=0)
Create CurvilinearParametersT from mixed parameters: pos, local parameters.
Ensure that the ATLAS eigen extensions are properly loaded.
virtual const S & associatedSurface() const override final
Access to the Surface method.
Definition of ATLAS Math & Geometry primitives (Amg)
S m_surface
surface template
Eigen::Matrix< double, 3, 1 > Vector3D
CurvilinearParametersT(CurvilinearParametersT< DIM, T, S > &&) noexcept=default
Move Constructor.
Eigen::Matrix< double, 3, 3 > RotationMatrix3D
virtual MsgStream & dump(MsgStream &out) const override final
Dumps relevant information about the track parameters into the ostream.
virtual bool hasSurface() const override final
Test to see if there's a surface there.