ATLAS Offline Software
Public Member Functions | Protected Member Functions | Private Member Functions | Friends | List of all members
Trk::ParametersT Class Reference

Dummy class used to allow special convertors to be called for surfaces owned by a detector element. More...

#include <EMErrorDetail.h>

Collaboration diagram for Trk::ParametersT:

Public Member Functions

 ParametersT ()=default
 default constructor ONLY for POOL More...
 
 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. More...
 
 ParametersT (const AmgVector(DIM) &parameters, const S &surface, std::optional< AmgSymMatrix(DIM)> covariance=std::nullopt)
 Constructor with parameters - extract position and momentum. More...
 
 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. More...
 
 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. More...
 
 ParametersT (const ParametersT< DIM, T, S > &rhs)=default
 Copy constructor. More...
 
 ParametersT (ParametersT< DIM, T, S > &&rhs) noexcept=default
 Move constructor. More...
 
ParametersT< DIM, T, S > & operator= (const ParametersT< DIM, T, S > &rhs)=default
 Assignment operator. More...
 
ParametersT< DIM, T, S > & operator= (ParametersT< DIM, T, S > &&rhs) noexcept=default
 Move assignment operator. More...
 
virtual ~ParametersT ()=default
 
virtual bool hasSurface () const override final
 Test to see if there's a surface there. More...
 
virtual const S & associatedSurface () const override final
 Access to the Surface method. More...
 
virtual bool operator== (const ParametersBase< DIM, T > &rhs) const override final
 equality operator More...
 
bool operator== (const ParametersT &rhs) const
 
virtual ParametersT< DIM, T, S > * clone () const override final
 Virtual clone. More...
 
constexpr virtual ParametersType type () const override final
 Return the ParametersType enum. More...
 
constexpr virtual SurfaceType surfaceType () const override final
 Return the Surface Type enum. More...
 
virtual Amg::RotationMatrix3D measurementFrame () const override final
 Return the measurementFrame of the parameters. More...
 
virtual MsgStream & dump (MsgStream &out) const override final
 Dumps relevant information about the track parameters into the ostream. More...
 
virtual std::ostream & dump (std::ostream &out) const override final
 

Protected Member Functions

 ParametersT (const AmgVector(DIM) &parameters, const S *surface, std::optional< AmgSymMatrix(DIM)> covariance=std::nullopt)
 Constructor for persistency. More...
 

Private Member Functions

virtual void updateParametersHelper (const AmgVector(DIM) &) override final
 

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. More...
 

Detailed Description

Dummy class used to allow special convertors to be called for surfaces owned by a detector element.

Only intended for use within the persistency framework.

The class for charged and neutral track representations containing

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) \)

Template Parameters
DIMnumber of track parameters (usually 5)
Tcharge of track (either Trk::Charged or Trk::Neutral)
Stype of surface
Author
edwar.nosp@m.d.mo.nosp@m.yse@c.nosp@m.ern..nosp@m.ch, andre.nosp@m.as.s.nosp@m.alzbu.nosp@m.rger.nosp@m.@cern.nosp@m..ch
Christos Anastopoulos (Athena MT modifications)

Definition at line 25 of file EMErrorDetail.h.

Constructor & Destructor Documentation

◆ ParametersT() [1/8]

Trk::ParametersT::ParametersT ( )
default

default constructor ONLY for POOL

◆ ParametersT() [2/8]

Trk::ParametersT::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() [3/8]

Trk::ParametersT::ParametersT ( const AmgVector(DIM) &  parameters,
const S &  surface,
std::optional< AmgSymMatrix(DIM)>  covariance = std::nullopt 
)

Constructor with parameters - extract position and momentum.

◆ ParametersT() [4/8]

Trk::ParametersT::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() [5/8]

Trk::ParametersT::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() [6/8]

Trk::ParametersT::ParametersT ( const ParametersT< DIM, T, S > &  rhs)
default

Copy constructor.

◆ ParametersT() [7/8]

Trk::ParametersT::ParametersT ( ParametersT< DIM, T, S > &&  rhs)
defaultnoexcept

Move constructor.

◆ ~ParametersT()

virtual Trk::ParametersT::~ParametersT ( )
virtualdefault

◆ ParametersT() [8/8]

Trk::ParametersT::ParametersT ( const AmgVector(DIM) &  parameters,
const S *  surface,
std::optional< AmgSymMatrix(DIM)>  covariance = std::nullopt 
)
protected

Constructor for persistency.

Member Function Documentation

◆ associatedSurface()

virtual const S& Trk::ParametersT::associatedSurface ( ) const
finaloverridevirtual

Access to the Surface method.

◆ clone()

virtual ParametersT<DIM, T, S>* Trk::ParametersT::clone ( ) const
finaloverridevirtual

Virtual clone.

◆ dump() [1/2]

virtual MsgStream& Trk::ParametersT::dump ( MsgStream &  out) const
finaloverridevirtual

Dumps relevant information about the track parameters into the ostream.

◆ dump() [2/2]

virtual std::ostream& Trk::ParametersT::dump ( std::ostream &  out) const
finaloverridevirtual

◆ hasSurface()

virtual bool Trk::ParametersT::hasSurface ( ) const
finaloverridevirtual

Test to see if there's a surface there.

◆ measurementFrame()

virtual Amg::RotationMatrix3D Trk::ParametersT::measurementFrame ( ) const
finaloverridevirtual

Return the measurementFrame of the parameters.

◆ operator=() [1/2]

ParametersT<DIM, T, S>& Trk::ParametersT::operator= ( const ParametersT< DIM, T, S > &  rhs)
default

Assignment operator.

◆ operator=() [2/2]

ParametersT<DIM, T, S>& Trk::ParametersT::operator= ( ParametersT< DIM, T, S > &&  rhs)
defaultnoexcept

Move assignment operator.

◆ operator==() [1/2]

virtual bool Trk::ParametersT::operator== ( const ParametersBase< DIM, T > &  rhs) const
finaloverridevirtual

equality operator

◆ operator==() [2/2]

bool Trk::ParametersT::operator== ( const ParametersT rhs) const

◆ surfaceType()

constexpr virtual SurfaceType Trk::ParametersT::surfaceType ( ) const
constexprfinaloverridevirtual

Return the Surface Type enum.

◆ type()

constexpr virtual ParametersType Trk::ParametersT::type ( ) const
constexprfinaloverridevirtual

Return the ParametersType enum.

◆ updateParametersHelper()

virtual void Trk::ParametersT::updateParametersHelper ( const AmgVector(DIM) &  )
finaloverrideprivatevirtual

Friends And Related Function Documentation

◆ ::AtaSurfaceCnv_p1

template<class SURFACE_CNV , class ATA_SURFACE >
friend class ::AtaSurfaceCnv_p1
friend

Definition at line 159 of file ParametersT.h.

◆ ::MeasuredPerigeeCnv_p1

friend class ::MeasuredPerigeeCnv_p1
friend

Definition at line 157 of file ParametersT.h.

◆ ::TrackParametersCnv_p2

friend class ::TrackParametersCnv_p2
friend

Definition at line 156 of file ParametersT.h.

◆ ::TrackParametersCovarianceCnv

template<typename pars >
friend class ::TrackParametersCovarianceCnv
friend

Definition at line 155 of file ParametersT.h.

◆ MaterialEffectsEngine

friend class MaterialEffectsEngine
friend

DESIGN TO BE REVISITED.

Definition at line 162 of file ParametersT.h.


The documentation for this class was generated from the following files: