9 , m_array_r(new double[n_pt])
10 , m_array_t(new double[n_pt])
12 , m_t2dr_changed(true)
23 if (m_spl_t2r)
delete m_spl_t2r;
24 if (m_gr_t2dr)
delete m_gr_t2dr;
29 assert(0 <= i_pt && i_pt < m_n_pt);
37 assert(0 <= i_pt && i_pt < m_n_pt);
45 m_t2dr_changed =
true;
66 if (m_spl_t2r)
delete m_spl_t2r;
67 m_spl_t2r = CreateT2RSpline();
68 m_t2r_changed =
false;
76 if (m_gr_t2dr)
delete m_gr_t2dr;
77 m_gr_t2dr = CreateT2DRGraph();
78 m_t2dr_changed =
false;
83 TSpline3* RTCurve::CreateT2RSpline()
const
85 return new TSpline3(
"spl", m_array_t, m_array_r, m_n_pt,
"b1e1", 0, 0);
88 TGraph* RTCurve::CreateT2DRGraph()
const
90 TGraph* gr =
new TGraph();
91 gr->SetPoint(0,
GetTMin(), m_dr);
double EvalR(const double t)
void SetPoint(const int i_pt, const double r, const double t)
TSpline3 * GetT2RSpline()
void SetRWidth(const double dr)
void GetPoint(const int i_pt, double &r, double &t) const