![]() |
ATLAS Offline Software
|
Dummy class used to allow special convertors to be called for surfaces owned by a detector element. More...
#include <ParametersT.h>
Public Member Functions | |
| ParametersT ()=default | |
| default constructor ONLY for POOL | |
| 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 AmgVector(DIM) ¶meters, const S &surface, std::optional< AmgSymMatrix(DIM)> covariance=std::nullopt) | |
| Constructor with parameters - extract position and momentum. | |
| 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. | |
| 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. | |
| ParametersT (const ParametersT< DIM, T, S > &rhs)=default | |
| Copy constructor. | |
| ParametersT (ParametersT< DIM, T, S > &&rhs) noexcept=default | |
| Move constructor. | |
| ParametersT< DIM, T, S > & | operator= (const ParametersT< DIM, T, S > &rhs)=default |
| Assignment operator. | |
| ParametersT< DIM, T, S > & | operator= (ParametersT< DIM, T, S > &&rhs) noexcept=default |
| Move assignment operator. | |
| virtual | ~ParametersT ()=default |
| virtual bool | hasSurface () const override final |
| Test to see if there's a surface there. | |
| virtual const S & | associatedSurface () const override final |
| Access to the Surface method. | |
| virtual bool | operator== (const ParametersBase< DIM, T > &rhs) const override final |
| equality operator | |
| bool | operator== (const ParametersT &rhs) const |
| virtual ParametersT< DIM, T, S > * | clone () const override final |
| Virtual clone. | |
| virtual constexpr ParametersType | type () const override final |
| Return the ParametersType enum. | |
| virtual constexpr SurfaceType | surfaceType () const override final |
| Return the Surface Type enum. | |
| virtual Amg::RotationMatrix3D | measurementFrame () const override final |
| Return the measurementFrame of the parameters. | |
| virtual MsgStream & | dump (MsgStream &out) const override final |
| Dumps relevant information about the track parameters into the ostream. | |
| virtual std::ostream & | dump (std::ostream &out) const override final |
| double | charge () const |
| Returns the charge. | |
| const Amg::Vector3D & | position () const |
| Access method for the position. | |
| const Amg::Vector3D & | momentum () const |
| Access method for the momentum. | |
| double | pT () const |
| Access method for transverse momentum. | |
| double | eta () const |
| Access method for pseudorapidity - from momentum. | |
| std::unique_ptr< ParametersBase< DIM, T > > | uniqueClone () const |
| clone method for polymorphic deep copy returning unique_ptr; it is not overriden, but uses the existing clone method. | |
| const | AmgVector (DIM) ¶meters() const |
| Access methods for the parameters. | |
| AmgVector (DIM) ¶meters() | |
| const | AmgSymMatrix (DIM) *covariance() const |
| Access method for the covariance matrix - returns nullptr if no covariance matrix is given. | |
| AmgSymMatrix (DIM) *covariance() | |
| constexpr bool | isCharged () const |
| Returns true if Charged or false if Neutral. | |
| Amg::Vector2D | localPosition () const |
| Access method for the local coordinates, \((loc1,loc2)\) local parameter definitions differ for each surface type. | |
| void | setParameters (const AmgVector(DIM) ¶m) |
| set parameters | |
| void | setCovariance (const AmgSymMatrix(DIM) &cov) |
| set covariance | |
| void | updateParameters (const AmgVector(DIM) &, const AmgSymMatrix(DIM) &) |
| Update parameters and covariance , passing covariance by ref. | |
| void | updateParameters (const AmgVector(DIM) &) |
| Update parameters. | |
| const S * | surfacePtr () |
| return the ptr we hold | |
| void | destroySurface () noexcept |
| destroySurface deletes the ptr if not null and is free usefull also for testing | |
| const S * | release () noexcept |
| release , release the unique_ptr we hold | |
Static Public Attributes | |
| static constexpr int | dim = DIM |
Protected Member Functions | |
| ParametersT (const AmgVector(DIM) ¶meters, const S *surface, std::optional< AmgSymMatrix(DIM)> covariance=std::nullopt) | |
| Constructor for persistency. | |
| AmgVector (DIM) m_parameters | |
| contains the n x n covariance matrix | |
Protected Attributes | |
| Amg::Vector3D | m_position |
| point on track | |
| Amg::Vector3D | m_momentum |
| momentum at this point on track | |
| std::optional< AmgSymMatrix(DIM)> | m_covariance = std::nullopt |
| charge definition for this track | |
| T | m_chargeDef {} |
| charge definition for this track | |
| SurfaceUniquePtrT< const S > | m_associatedSurface = nullptr |
Private Member Functions | |
| virtual void | updateParametersHelper (const AmgVector(DIM) &) override final |
| contains the n parameters | |
Friends | |
| template<typename pars> | |
| class | ::TrackParametersCovarianceCnv |
| class | ::TrackParametersCnv_p2 |
| class | ::MeasuredPerigeeCnv_p1 |
| template<class SURFACE_CNV, class ATA_SURFACE> | |
| class | ::AtaSurfaceCnv_p1 |
| class | MaterialEffectsEngine |
| DESIGN TO BE REVISITED. | |
Dummy class used to allow special convertors to be called for surfaces owned by a detector element.
The class for charged and neutral track representations containing.
Only intended for use within the persistency framework.
Which can be returned by the parameters() method as a Amg::Vector(DIM): \(\left(\begin{array}{c} x\\y\\z\\p_{x}\\p_{y}\\p_{z}\end{array}\right) \)
| DIM | number of track parameters (usually 5) |
| T | charge of track (either Trk::Charged or Trk::Neutral) |
| S | type of surface |
Definition at line 46 of file ParametersT.h.
|
default |
default constructor ONLY for POOL
| Trk::ParametersT< DIM, T, S >::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.
| Trk::ParametersT< DIM, T, S >::ParametersT | ( | const AmgVector(DIM) & | parameters, |
| const S & | surface, | ||
| std::optional< AmgSymMatrix(DIM)> | covariance = std::nullopt ) |
Constructor with parameters - extract position and momentum.
| Trk::ParametersT< DIM, T, S >::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.
| Trk::ParametersT< DIM, T, S >::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.
|
default |
Copy constructor.
|
defaultnoexcept |
Move constructor.
|
virtualdefault |
|
protected |
Constructor for persistency.
|
inherited |
|
inherited |
Access method for the covariance matrix - returns nullptr if no covariance matrix is given.
|
inherited |
|
inherited |
Access methods for the parameters.
|
protectedinherited |
contains the n x n covariance matrix
|
finaloverridevirtual |
Access to the Surface method.
Implements Trk::ParametersBase< DIM, T >.
|
inherited |
Returns the charge.
|
finaloverridevirtual |
Virtual clone.
Implements Trk::ParametersBase< DIM, T >.
|
inlinenoexceptinherited |
destroySurface deletes the ptr if not null and is free usefull also for testing
Definition at line 282 of file SurfaceHolderImpl.h.
|
finaloverridevirtual |
Dumps relevant information about the track parameters into the ostream.
Reimplemented from Trk::ParametersBase< DIM, T >.
|
finaloverridevirtual |
Reimplemented from Trk::ParametersBase< DIM, T >.
|
inherited |
Access method for pseudorapidity - from momentum.
|
finaloverridevirtual |
Test to see if there's a surface there.
Implements Trk::ParametersBase< DIM, T >.
|
constexprinherited |
|
inherited |
Access method for the local coordinates, \((loc1,loc2)\) local parameter definitions differ for each surface type.
|
finaloverridevirtual |
Return the measurementFrame of the parameters.
Implements Trk::ParametersBase< DIM, T >.
|
inherited |
Access method for the momentum.
|
default |
Assignment operator.
|
defaultnoexcept |
Move assignment operator.
|
finaloverridevirtual |
equality operator
Reimplemented from Trk::ParametersBase< DIM, T >.
| bool Trk::ParametersT< DIM, T, S >::operator== | ( | const ParametersT< DIM, T, S > & | rhs | ) | const |
|
inherited |
Access method for the position.
|
inherited |
Access method for transverse momentum.
|
inlinenoexceptinherited |
|
inherited |
set covariance
|
inherited |
set parameters
|
inlineinherited |
|
constexprfinaloverridevirtual |
Implements Trk::ParametersBase< DIM, T >.
|
constexprfinaloverridevirtual |
Return the ParametersType enum.
Implements Trk::ParametersBase< DIM, T >.
|
inlineinherited |
clone method for polymorphic deep copy returning unique_ptr; it is not overriden, but uses the existing clone method.
Definition at line 97 of file ParametersBase.h.
|
inherited |
Update parameters.
Derived classes override the implementation via updateParametersHelper as this could possibly lead to updating other data members
|
inherited |
Update parameters and covariance , passing covariance by ref.
A covariance is created if one does not exist. Otherwise in place update occurs via assignment.
Derived classes override the implementation via updateParametersHelper as this could possibly lead to updating other data members
|
finaloverrideprivatevirtual |
contains the n parameters
Implements Trk::ParametersBase< DIM, T >.
|
friend |
Definition at line 159 of file ParametersT.h.
|
friend |
Definition at line 157 of file ParametersT.h.
|
friend |
Definition at line 156 of file ParametersT.h.
|
friend |
Definition at line 155 of file ParametersT.h.
|
friend |
DESIGN TO BE REVISITED.
Definition at line 162 of file ParametersT.h.
|
staticconstexprinherited |
Definition at line 50 of file ParametersCommon.h.
|
protectedinherited |
Definition at line 288 of file SurfaceHolderImpl.h.
|
protectedinherited |
|
protectedinherited |
charge definition for this track
Definition at line 147 of file ParametersCommon.h.
|
protectedinherited |
momentum at this point on track
Definition at line 141 of file ParametersBase.h.
|
protectedinherited |
point on track
Definition at line 140 of file ParametersBase.h.