#include "MdtCalibRt/RtCalibrationIntegration.h"
#include <algorithm>
#include <fstream>
#include <iostream>
#include "AthenaKernel/getMessageSvc.h"
#include "GaudiKernel/MsgStream.h"
#include "MdtCalibData/RtFromPoints.h"
#include "MdtCalibData/RtRelationLookUp.h"
#include "MdtCalibRt/RtParabolicExtrapolation.h"
#include "MdtCalibT0/T0MTHistos.h"
#include "TF1.h"
#include "TList.h"
Go to the source code of this file.
◆ slope_function_C()
| Double_t slope_function_C |
( |
Double_t * | x, |
|
|
Double_t * | par ) |
|
inline |
Definition at line 23 of file RtCalibrationIntegration.cxx.
23 {
25 Double_t &
a(par[0]), &
b(par[1]), &t_0(par[2]), &back(par[3]);
26 return back + std::exp(
a + b * (t - t_0));
27}
◆ update_parameter_on_mttmax()
| void update_parameter_on_mttmax |
( |
TH1 * | h, |
|
|
TF1 * | f, |
|
|
const float & | b, |
|
|
const float & | T, |
|
|
const T0MTSettingsTMax & | tmax_settings ) |
|
inline |
Definition at line 29 of file RtCalibrationIntegration.cxx.
29 {
30 Double_t rmin, rmax;
31 f->GetRange(rmin, rmax);
32 std::unique_ptr<TF1> slope_function =
35 slope_function->FixParameter(1, b);
38 h->Fit(
"slope_function",
"R+",
"");
42}
Double_t slope_function_C(Double_t *x, Double_t *par)
Header file for AthHistogramAlgorithm.
static constexpr int TMAX_PAR_NR_T0
static constexpr int TMAX_PAR_NR_T
static constexpr int TMAX_PAR_NR_B
static constexpr int TMAX_PAR_NR_BACK
static constexpr int TMAX_PAR_NR_A
double WidthAB() const
Width of the region in which the parameters a and b are estimated.