ATLAS Offline Software
MuonSpectrometer
MuonCalib
MdtCalib
MdtCalibData
MdtCalibData
TrRelation.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
6
// 21.08.2009, AUTHOR: OLIVER KORTNER
7
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
8
9
#ifndef MUONCALIB_TrRelationH
10
#define MUONCALIB_TrRelationH
11
12
//::::::::::::::::::::::
13
//:: CLASS TrRelation ::
14
//::::::::::::::::::::::
15
26
27
//::::::::::::::::::
28
//:: HEADER FILES ::
29
//::::::::::::::::::
30
31
// STL //
32
#include <vector>
33
34
// MuonCalib //
35
#include "
MdtCalibData/IRtRelation.h
"
36
37
namespace
MuonCalib
{
38
39
class
TrRelation
{
40
public
:
43
TrRelation
(
const
IRtRelation
&input_rt);
44
48
TrRelation
(
const
std::vector<double> &r_values,
const
std::vector<double> &t_values);
49
50
// Methods //
52
double
tFromR
(
const
double
r
,
bool
&out_of_bound_flag)
const
;
54
double
rFromT
(
const
double
t
,
bool
&out_of_bound_flag)
const
;
55
56
private
:
57
// (r, t) pairs
58
std::vector<double>
m_r
;
// drift radii
59
std::vector<double>
m_t
;
// drift times
60
61
// r(t) inversion method
62
static
double
getTFromR
(
const
double
r
,
const
IRtRelation
&input_rt);
63
};
64
65
}
// namespace MuonCalib
66
67
#endif
beamspotman.r
def r
Definition:
beamspotman.py:676
MuonCalib::TrRelation
Definition:
TrRelation.h:39
read_hist_ntuple.t
t
Definition:
read_hist_ntuple.py:5
MuonCalib::TrRelation::tFromR
double tFromR(const double r, bool &out_of_bound_flag) const
< Get t(r). out_of_bound_flag is set to true if r is out of bounds.
Definition:
TrRelation.cxx:56
MuonCalib::TrRelation::TrRelation
TrRelation(const IRtRelation &input_rt)
< Constructor.
Definition:
TrRelation.cxx:20
MuonCalib
CscCalcPed - algorithm that finds the Cathode Strip Chamber pedestals from an RDO.
Definition:
CscCalcPed.cxx:22
MuonCalib::TrRelation::getTFromR
static double getTFromR(const double r, const IRtRelation &input_rt)
Definition:
TrRelation.cxx:128
MuonCalib::TrRelation::m_t
std::vector< double > m_t
Definition:
TrRelation.h:59
MuonCalib::TrRelation::m_r
std::vector< double > m_r
Definition:
TrRelation.h:58
IRtRelation.h
MuonCalib::TrRelation::rFromT
double rFromT(const double t, bool &out_of_bound_flag) const
Definition:
TrRelation.cxx:92
MuonCalib::IRtRelation
generic interface for a rt-relation
Definition:
IRtRelation.h:15
Generated on Thu Nov 7 2024 21:30:23 for ATLAS Offline Software by
1.8.18