1#ifndef CALIB_ETF_WEIGHT_H
2#define CALIB_ETF_WEIGHT_H
11 m_name = string(
"calib_etf_weight");
15 double tleft = r->
tleft();
16 double tright = r->
tright();
17 double z = r->
zrhit();
19 funcs[0] = tright-tleft;
33 if( data->size() > 0 ) {
34 std::vector<Record*>::iterator
iter = data->begin();
38 for(
int i=0; i<
X.num_row(); i++ ) {
41 (*iter)->setT0( tcorr + (*iter)->tright() );
std::vector< Record * > RecordSet
void updateData(RecordSet *&data)
void calculate_y(const Record *r)
void calculate_funcs(const Record *r)