ATLAS Offline Software
Loading...
Searching...
No Matches
MuonCalib::MuonCalibHit_E Class Reference

Simplified class designed to store information of a MDT hit. More...

#include <MuonCalibHit_E.h>

Collaboration diagram for MuonCalib::MuonCalibHit_E:

Classes

struct  definePars

Public Member Functions

 MuonCalibHit_E ()=default
 default constructor
 MuonCalibHit_E (const MuonFixedId &id, definePars pos)
 constructor initializing its ID and position
virtual ~MuonCalibHit_E ()=default
 destructor
const MuonFixedIdidentify () const
 return the MuonCalib::MuonFixedId of the MuonCalibHit
const Amg::Vector3Dposition () const
 return the (global) position of the MuonCalibHit
float driftRadius () const
 return the driftradius of the MuonCalibHit
float error () const
 return the error on the driftradius of the MuonCalibHit
float residual () const
 return the residual
float pull () const
 return the pull
int type () const
 return the type of measurement
void setId (const MuonFixedId &id)
 sets the (global) position of the MuonCalibHit
void setPosition (const Amg::Vector3D &pos)
 sets the driftradius of the MuonCalibHit
void setDriftRadius (float driftRadius)
 sets the error on the driftradius of the MuonCalibHit
void setError (float error)
 sets the error on the driftradius of the MuonCalibHit
void setResidual (float res)
 sets the error on the driftradius of the MuonCalibHit
void setPull (float pull)
 sets the error on the driftradius of the MuonCalibHit
void setType (int type)

Private Attributes

MuonFixedId m_id {0}
 Identifier of the (athena-independent) type MuonCalib::MuonFixedId.
definePars m_pars {}

Detailed Description

Simplified class designed to store information of a MDT hit.

It has :

Definition at line 21 of file MuonCalibHit_E.h.

Constructor & Destructor Documentation

◆ MuonCalibHit_E() [1/2]

MuonCalib::MuonCalibHit_E::MuonCalibHit_E ( )
default

default constructor

◆ MuonCalibHit_E() [2/2]

MuonCalib::MuonCalibHit_E::MuonCalibHit_E ( const MuonFixedId & id,
definePars pos )

constructor initializing its ID and position

Definition at line 10 of file MuonCalibHit_E.cxx.

10: m_id{id}, m_pars{std::move(pars)} {}
MuonFixedId m_id
Identifier of the (athena-independent) type MuonCalib::MuonFixedId.

◆ ~MuonCalibHit_E()

virtual MuonCalib::MuonCalibHit_E::~MuonCalibHit_E ( )
virtualdefault

destructor

Member Function Documentation

◆ driftRadius()

float MuonCalib::MuonCalibHit_E::driftRadius ( ) const

return the driftradius of the MuonCalibHit

Definition at line 14 of file MuonCalibHit_E.cxx.

14{ return m_pars.driftRadius; }

◆ error()

float MuonCalib::MuonCalibHit_E::error ( ) const

return the error on the driftradius of the MuonCalibHit

Definition at line 15 of file MuonCalibHit_E.cxx.

15{ return m_pars.error; }

◆ identify()

const MuonFixedId & MuonCalib::MuonCalibHit_E::identify ( ) const

return the MuonCalib::MuonFixedId of the MuonCalibHit

Definition at line 12 of file MuonCalibHit_E.cxx.

12{ return m_id; }

◆ position()

const Amg::Vector3D & MuonCalib::MuonCalibHit_E::position ( ) const

return the (global) position of the MuonCalibHit

Definition at line 13 of file MuonCalibHit_E.cxx.

13{ return m_pars.pos; }

◆ pull()

float MuonCalib::MuonCalibHit_E::pull ( ) const

return the pull

Definition at line 17 of file MuonCalibHit_E.cxx.

17{ return m_pars.pull; }

◆ residual()

float MuonCalib::MuonCalibHit_E::residual ( ) const

return the residual

Definition at line 16 of file MuonCalibHit_E.cxx.

16{ return m_pars.resi; }

◆ setDriftRadius()

void MuonCalib::MuonCalibHit_E::setDriftRadius ( float driftRadius)

sets the error on the driftradius of the MuonCalibHit

Definition at line 23 of file MuonCalibHit_E.cxx.

23{ m_pars.driftRadius = driftRadius; }
float driftRadius() const
return the driftradius of the MuonCalibHit

◆ setError()

void MuonCalib::MuonCalibHit_E::setError ( float error)

sets the error on the driftradius of the MuonCalibHit

Definition at line 24 of file MuonCalibHit_E.cxx.

24{ m_pars.error = error; }
float error() const
return the error on the driftradius of the MuonCalibHit

◆ setId()

void MuonCalib::MuonCalibHit_E::setId ( const MuonFixedId & id)

sets the (global) position of the MuonCalibHit

Definition at line 20 of file MuonCalibHit_E.cxx.

◆ setPosition()

void MuonCalib::MuonCalibHit_E::setPosition ( const Amg::Vector3D & pos)

sets the driftradius of the MuonCalibHit

Definition at line 21 of file MuonCalibHit_E.cxx.

◆ setPull()

void MuonCalib::MuonCalibHit_E::setPull ( float pull)

sets the error on the driftradius of the MuonCalibHit

Definition at line 27 of file MuonCalibHit_E.cxx.

27{ m_pars.pull = pull; }
float pull() const
return the pull

◆ setResidual()

void MuonCalib::MuonCalibHit_E::setResidual ( float res)

sets the error on the driftradius of the MuonCalibHit

Definition at line 25 of file MuonCalibHit_E.cxx.

25{ m_pars.resi = res; }
std::pair< std::vector< unsigned int >, bool > res

◆ setType()

void MuonCalib::MuonCalibHit_E::setType ( int type)

Definition at line 28 of file MuonCalibHit_E.cxx.

28{ m_pars.measType = type; }
int type() const
return the type of measurement

◆ type()

int MuonCalib::MuonCalibHit_E::type ( ) const

return the type of measurement

sets the MuonCalib::MuonFixedId of the MuonCalibHit

Definition at line 18 of file MuonCalibHit_E.cxx.

18{ return m_pars.measType; }

Member Data Documentation

◆ m_id

MuonFixedId MuonCalib::MuonCalibHit_E::m_id {0}
private

Identifier of the (athena-independent) type MuonCalib::MuonFixedId.

Definition at line 63 of file MuonCalibHit_E.h.

63{0};

◆ m_pars

definePars MuonCalib::MuonCalibHit_E::m_pars {}
private

Definition at line 64 of file MuonCalibHit_E.h.

64{};

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