ATLAS Offline Software
Classes | Public Member Functions | Private Attributes | List of all members
MuonCalib::MuonCalibHit_E Class Reference

#include <MuonCalibHit_E.h>

Collaboration diagram for MuonCalib::MuonCalibHit_E:

Classes

struct  definePars
 

Public Member Functions

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

Private Attributes

MuonFixedId m_id {0}
 Identifier of the (athena-independent) type MuonCalib::MuonFixedId. More...
 
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)} {}

◆ ~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.

◆ 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; }

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

20 { m_id = id; }

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

21 { m_pars.pos = pos; }

◆ 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; }

◆ 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; }

◆ setType()

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

Definition at line 28 of file MuonCalibHit_E.cxx.

28 { m_pars.measType = type; }

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

◆ m_pars

definePars MuonCalib::MuonCalibHit_E::m_pars {}
private

Definition at line 64 of file MuonCalibHit_E.h.


The documentation for this class was generated from the following files:
make_hlt_rep.pars
pars
Definition: make_hlt_rep.py:90
MuonCalib::MuonCalibHit_E::definePars::resi
float resi
residual
Definition: MuonCalibHit_E.h:26
MuonCalib::MuonCalibHit_E::definePars::error
float error
error on the driftRadius
Definition: MuonCalibHit_E.h:25
MuonCalib::MuonCalibHit_E::m_pars
definePars m_pars
Definition: MuonCalibHit_E.h:64
MuonCalib::MuonCalibHit_E::definePars::measType
int measType
error on the driftRadius
Definition: MuonCalibHit_E.h:28
MuonCalib::MuonCalibHit_E::definePars::driftRadius
float driftRadius
driftRadius
Definition: MuonCalibHit_E.h:24
MuonCalib::MuonCalibHit_E::driftRadius
float driftRadius() const
return the driftradius of the MuonCalibHit
Definition: MuonCalibHit_E.cxx:14
MuonCalib::MuonCalibHit_E::pull
float pull() const
return the pull
Definition: MuonCalibHit_E.cxx:17
res
std::pair< std::vector< unsigned int >, bool > res
Definition: JetGroupProductTest.cxx:14
id
SG::auxid_t id
Definition: Control/AthContainers/Root/debug.cxx:194
MuonCalib::MuonCalibHit_E::definePars::pull
float pull
pull including track error
Definition: MuonCalibHit_E.h:27
python.LumiBlobConversion.pos
pos
Definition: LumiBlobConversion.py:18
MuonCalib::MuonCalibHit_E::type
int type() const
return the type of measurement
Definition: MuonCalibHit_E.cxx:18
MuonCalib::MuonCalibHit_E::definePars::pos
Amg::Vector3D pos
Global position.
Definition: MuonCalibHit_E.h:29
MuonCalib::MuonCalibHit_E::m_id
MuonFixedId m_id
Identifier of the (athena-independent) type MuonCalib::MuonFixedId.
Definition: MuonCalibHit_E.h:63
MuonCalib::MuonCalibHit_E::error
float error() const
return the error on the driftradius of the MuonCalibHit
Definition: MuonCalibHit_E.cxx:15