ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
MuonSpectrometer
MuonCalib
MuonCalibExtraTree
MuonCalibExtraTreeEvent
src
MuonCalibHit_E.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include <utility>
6
7
#include "
MuonCalibExtraTreeEvent/MuonCalibHit_E.h
"
8
9
namespace
MuonCalib
{
10
MuonCalibHit_E::MuonCalibHit_E
(
const
MuonFixedId
&
id
,
definePars
pars) :
m_id
{id},
m_pars
{
std
::move(pars)} {}
11
12
const
MuonFixedId
&
MuonCalibHit_E::identify
()
const
{
return
m_id
; }
13
const
Amg::Vector3D
&
MuonCalibHit_E::position
()
const
{
return
m_pars
.pos; }
14
float
MuonCalibHit_E::driftRadius
()
const
{
return
m_pars
.driftRadius; }
15
float
MuonCalibHit_E::error
()
const
{
return
m_pars
.error; }
16
float
MuonCalibHit_E::residual
()
const
{
return
m_pars
.resi; }
17
float
MuonCalibHit_E::pull
()
const
{
return
m_pars
.pull; }
18
int
MuonCalibHit_E::type
()
const
{
return
m_pars
.measType; }
19
20
void
MuonCalibHit_E::setId
(
const
MuonFixedId
&
id
) {
m_id
= id; }
21
void
MuonCalibHit_E::setPosition
(
const
Amg::Vector3D
& pos) {
m_pars
.pos = pos; }
22
23
void
MuonCalibHit_E::setDriftRadius
(
float
driftRadius
) {
m_pars
.driftRadius =
driftRadius
; }
24
void
MuonCalibHit_E::setError
(
float
error
) {
m_pars
.error =
error
; }
25
void
MuonCalibHit_E::setResidual
(
float
res
) {
m_pars
.resi =
res
; }
26
27
void
MuonCalibHit_E::setPull
(
float
pull
) {
m_pars
.pull =
pull
; }
28
void
MuonCalibHit_E::setType
(
int
type
) {
m_pars
.measType =
type
; }
29
30
}
// namespace MuonCalib
res
std::pair< std::vector< unsigned int >, bool > res
Definition
JetGroupProductTest.cxx:11
MuonCalibHit_E.h
MuonCalib::MuonCalibHit_E::position
const Amg::Vector3D & position() const
return the (global) position of the MuonCalibHit
Definition
MuonCalibHit_E.cxx:13
MuonCalib::MuonCalibHit_E::setDriftRadius
void setDriftRadius(float driftRadius)
sets the error on the driftradius of the MuonCalibHit
Definition
MuonCalibHit_E.cxx:23
MuonCalib::MuonCalibHit_E::type
int type() const
return the type of measurement
Definition
MuonCalibHit_E.cxx:18
MuonCalib::MuonCalibHit_E::identify
const MuonFixedId & identify() const
return the MuonCalib::MuonFixedId of the MuonCalibHit
Definition
MuonCalibHit_E.cxx:12
MuonCalib::MuonCalibHit_E::setPull
void setPull(float pull)
sets the error on the driftradius of the MuonCalibHit
Definition
MuonCalibHit_E.cxx:27
MuonCalib::MuonCalibHit_E::setResidual
void setResidual(float res)
sets the error on the driftradius of the MuonCalibHit
Definition
MuonCalibHit_E.cxx:25
MuonCalib::MuonCalibHit_E::MuonCalibHit_E
MuonCalibHit_E()=default
default constructor
MuonCalib::MuonCalibHit_E::error
float error() const
return the error on the driftradius of the MuonCalibHit
Definition
MuonCalibHit_E.cxx:15
MuonCalib::MuonCalibHit_E::residual
float residual() const
return the residual
Definition
MuonCalibHit_E.cxx:16
MuonCalib::MuonCalibHit_E::pull
float pull() const
return the pull
Definition
MuonCalibHit_E.cxx:17
MuonCalib::MuonCalibHit_E::m_id
MuonFixedId m_id
Identifier of the (athena-independent) type MuonCalib::MuonFixedId.
Definition
MuonCalibHit_E.h:63
MuonCalib::MuonCalibHit_E::setError
void setError(float error)
sets the error on the driftradius of the MuonCalibHit
Definition
MuonCalibHit_E.cxx:24
MuonCalib::MuonCalibHit_E::setId
void setId(const MuonFixedId &id)
sets the (global) position of the MuonCalibHit
Definition
MuonCalibHit_E.cxx:20
MuonCalib::MuonCalibHit_E::driftRadius
float driftRadius() const
return the driftradius of the MuonCalibHit
Definition
MuonCalibHit_E.cxx:14
MuonCalib::MuonCalibHit_E::m_pars
definePars m_pars
Definition
MuonCalibHit_E.h:64
MuonCalib::MuonCalibHit_E::setPosition
void setPosition(const Amg::Vector3D &pos)
sets the driftradius of the MuonCalibHit
Definition
MuonCalibHit_E.cxx:21
MuonCalib::MuonCalibHit_E::setType
void setType(int type)
Definition
MuonCalibHit_E.cxx:28
MuonCalib::MuonFixedId
Implements fixed identifiers not dependent upon Athena Identifier for internal use in the calibration...
Definition
MuonFixedId.h:50
Amg::Vector3D
Eigen::Matrix< double, 3, 1 > Vector3D
Definition
GeoPrimitives.h:47
MuonCalib
CscCalcPed - algorithm that finds the Cathode Strip Chamber pedestals from an RDO.
Definition
CscCalcPed.cxx:21
error
Definition
IImpactPoint3dEstimator.h:72
std
STL namespace.
MuonCalib::MuonCalibHit_E::definePars
Definition
MuonCalibHit_E.h:23
Generated on
for ATLAS Offline Software by
1.17.0