#include "MdtCalibRt/RtCalibrationIntegration.h"
#include <algorithm>
#include <fstream>
#include <iostream>
#include "AthenaKernel/getMessageSvc.h"
#include "GaudiKernel/MsgStream.h"
#include "MdtCalibData/RtFromPoints.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 27 of file RtCalibrationIntegration.cxx.
29 f->GetRange(rmin, rmax);
30 std::unique_ptr<TF1> slope_function =
32 slope_function->SetParameter(0,
f->GetParameter(T0MTHistos::TMAX_PAR_NR_A));
33 slope_function->FixParameter(1,
b);
34 slope_function->FixParameter(2,
f->GetParameter(T0MTHistos::TMAX_PAR_NR_T0));
35 slope_function->FixParameter(3,
f->GetParameter(T0MTHistos::TMAX_PAR_NR_BACK));
36 h->Fit(
"slope_function",
"R+",
"");
37 f->FixParameter(T0MTHistos::TMAX_PAR_NR_A, slope_function->GetParameter(0));
38 f->FixParameter(T0MTHistos::TMAX_PAR_NR_B,
b);
39 f->FixParameter(T0MTHistos::TMAX_PAR_NR_T,
T);