ATLAS Offline Software
TrSqrt.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #include "MdtCalibR4/TrSqrt.h"
6 
7 #include <cmath>
8 #include <iostream>
9 
10 using namespace MuonCalibR4;
11 
12 double TrSqrt::tFromR(const double r, bool& /*out_of_bound_flag*/) const {
13  return r*r;
14 }
15 
16 double TrSqrt::rFromT(const double t, bool& /*out_of_bound_flag*/) const {
17  return std::sqrt(t);
18 }
19 
beamspotman.r
def r
Definition: beamspotman.py:676
TrSqrt.h
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
MuonCalibR4::TrSqrt::rFromT
double rFromT(const double t, bool &out_of_bound_flag) const
Definition: TrSqrt.cxx:16
MuonCalibR4
MdtCalibDbAlgR4 reads raw condition data and writes derived condition data to the condition store.
Definition: RtResolutionSqrt.h:10
MuonCalibR4::TrSqrt::tFromR
double tFromR(const double r, bool &out_of_bound_flag) const
Definition: TrSqrt.cxx:12