#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 |
◆ update_parameter_on_mttmax()
Definition at line 29 of file RtCalibrationIntegration.cxx.
31 f->GetRange(rmin, rmax);
32 std::unique_ptr<TF1> slope_function =
34 slope_function->SetParameter(0,
f->GetParameter(T0MTHistos::TMAX_PAR_NR_A));
35 slope_function->FixParameter(1,
b);
36 slope_function->FixParameter(2,
f->GetParameter(T0MTHistos::TMAX_PAR_NR_T0));
37 slope_function->FixParameter(3,
f->GetParameter(T0MTHistos::TMAX_PAR_NR_BACK));
38 h->Fit(
"slope_function",
"R+",
"");
39 f->FixParameter(T0MTHistos::TMAX_PAR_NR_A, slope_function->GetParameter(0));
40 f->FixParameter(T0MTHistos::TMAX_PAR_NR_B,
b);
41 f->FixParameter(T0MTHistos::TMAX_PAR_NR_T,
T);