![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Go to the documentation of this file.
9 #ifndef TRKPARAMETERSBASE_PARAMETERS_T_H
10 #define TRKPARAMETERSBASE_PARAMETERS_T_H
19 class MaterialEffectsEngine;
45 template<
int DIM,
class T,
class S>
46 class ParametersT
final
47 :
public ParametersBase<DIM, T>
48 ,
public SurfaceUniqHolderImpl<S>
57 "The surface type must be one of Cone, Cylinder, Disc, Perigee, Plane, "
72 std::optional<
AmgSymMatrix(DIM)> covariance = std::nullopt);
77 std::optional<
AmgSymMatrix(DIM)> covariance = std::nullopt);
85 std::optional<
AmgSymMatrix(DIM)> covariance = std::nullopt);
94 std::optional<
AmgSymMatrix(DIM)> covariance = std::nullopt);
118 virtual
bool operator==(
150 std::optional<
AmgSymMatrix(DIM)> covariance = std::nullopt);
158 template<class SURFACE_CNV, class ATA_SURFACE>
166 #include "TrkParametersBase/ParametersT.icc"
167 #endif // TRKTRACKPARAMETERS_H
constexpr virtual ParametersType type() const override final
Return the ParametersType enum.
virtual Amg::RotationMatrix3D measurementFrame() const override final
Return the measurementFrame of the parameters.
Handle conditional ownership of surfaces.
Dummy class used to allow special convertors to be called for surfaces owned by a detector element.
New convertor which handles all track parameters in one go - i.e.
virtual ~ParametersT()=default
@ loc2
generic first and second local coordinate
ParametersT(double loc1, double loc2, double phi, double theta, double qop, const S &surface, std::optional< AmgSymMatrix(DIM)> covariance=std::nullopt)
Constructor with local arguments - uses global <-> local for parameters.
ParametersT(const Amg::Vector3D &position, double phi, double theta, double qop, const S &surface, std::optional< AmgSymMatrix(DIM)> covariance=std::nullopt)
Constructor with mixed arguments 1 - uses global <-> local for parameters.
bool const RAWDATA *ch2 const
constexpr virtual SurfaceType surfaceType() const override final
Return the Surface Type enum.
virtual bool hasSurface() const override final
Test to see if there's a surface there.
ParametersT(ParametersT< DIM, T, S > &&rhs) noexcept=default
Move constructor.
AmgSymMatrix(5) &GXFTrackState
virtual const S & associatedSurface() const override final
Access to the Surface method.
virtual void updateParametersHelper(const AmgVector(DIM) &) override final
ParametersT< DIM, T, S > & operator=(ParametersT< DIM, T, S > &&rhs) noexcept=default
Move assignment operator.
ParametersT(const AmgVector(DIM) ¶meters, const S &surface, std::optional< AmgSymMatrix(DIM)> covariance=std::nullopt)
Constructor with parameters - extract position and momentum.
Ensure that the ATLAS eigen extensions are properly loaded.
Definition of ATLAS Math & Geometry primitives (Amg)
ParametersT(const Amg::Vector3D &position, const Amg::Vector3D &momentum, double charge, const S &surface, std::optional< AmgSymMatrix(DIM)> covariance=std::nullopt)
Constructor with global arguments - uses global <-> local for parameters.
double charge(const T &p)
Eigen::Matrix< double, 3, 1 > Vector3D
virtual MsgStream & dump(MsgStream &out) const override final
Dumps relevant information about the track parameters into the ostream.
ParametersT(const ParametersT< DIM, T, S > &rhs)=default
Copy constructor.
Eigen::Matrix< double, 3, 3 > RotationMatrix3D
ParametersT()=default
default constructor ONLY for POOL
ParametersT< DIM, T, S > & operator=(const ParametersT< DIM, T, S > &rhs)=default
Assignment operator.
virtual ParametersT< DIM, T, S > * clone() const override final
Virtual clone.