BOSS 7.0.6
BESIII Offline Software System
|
#include <TofCalib.h>
Public Member Functions | |
TofCalib (const int npar) | |
~TofCalib () | |
void | reset () |
virtual void | calculate (RecordSet *&data, unsigned int icounter) |
virtual void | updateData (RecordSet *&data)=0 |
virtual const string & | name () const |
void | fillTxt (const char *file) |
Protected Member Functions | |
virtual void | calculate_funcs (const Record *r)=0 |
virtual void | calculate_y (const Record *r)=0 |
Protected Attributes | |
string | m_name |
int | Npar |
HepMatrix | F |
HepVector | X |
HepVector | Y |
HepVector | funcs |
double | y |
std::vector< HepVector > | m_result |
Definition at line 11 of file TofCalib.h.
|
inline |
Definition at line 13 of file TofCalib.h.
|
inline |
Definition at line 20 of file TofCalib.h.
|
virtual |
Definition at line 17 of file TofCalib.cxx.
|
protectedpure virtual |
Implemented in calib_barrel_atten, calib_barrel_left, calib_barrel_left_offset1_bunch0_3, calib_barrel_left_offset1_bunch0_4, calib_barrel_left_offset1_bunch1_3, calib_barrel_left_offset1_bunch1_4, calib_barrel_left_offset1_bunch2_3, calib_barrel_left_offset1_bunch2_4, calib_barrel_left_offset1_bunch3_3, calib_barrel_left_offset1_bunch3_4, calib_barrel_left_offset2_bunch0_3, calib_barrel_left_offset2_bunch0_4, calib_barrel_left_offset2_bunch1_3, calib_barrel_left_offset2_bunch1_4, calib_barrel_left_offset2_bunch2_3, calib_barrel_left_offset2_bunch2_4, calib_barrel_left_offset2_bunch3_3, calib_barrel_left_offset2_bunch3_4, calib_barrel_right, calib_barrel_right_offset1_bunch0_3, calib_barrel_right_offset1_bunch0_4, calib_barrel_right_offset1_bunch1_3, calib_barrel_right_offset1_bunch1_4, calib_barrel_right_offset1_bunch2_3, calib_barrel_right_offset1_bunch2_4, calib_barrel_right_offset1_bunch3_3, calib_barrel_right_offset1_bunch3_4, calib_barrel_right_offset2_bunch0_3, calib_barrel_right_offset2_bunch0_4, calib_barrel_right_offset2_bunch1_3, calib_barrel_right_offset2_bunch1_4, calib_barrel_right_offset2_bunch2_3, calib_barrel_right_offset2_bunch2_4, calib_barrel_right_offset2_bunch3_3, calib_barrel_right_offset2_bunch3_4, calib_barrel_veff, calib_endcap_left, calib_endcap_veff, calib_etf_combine, calib_etf_left, calib_etf_right, calib_etf_veff, calib_etf_weight, calib_mc_etf_combine, calib_mc_etf_left, and calib_mc_etf_right.
Referenced by calculate().
|
protectedpure virtual |
Implemented in calib_barrel_atten, calib_barrel_left, calib_barrel_left_offset1_bunch0_3, calib_barrel_left_offset1_bunch0_4, calib_barrel_left_offset1_bunch1_3, calib_barrel_left_offset1_bunch1_4, calib_barrel_left_offset1_bunch2_3, calib_barrel_left_offset1_bunch2_4, calib_barrel_left_offset1_bunch3_3, calib_barrel_left_offset1_bunch3_4, calib_barrel_left_offset2_bunch0_3, calib_barrel_left_offset2_bunch0_4, calib_barrel_left_offset2_bunch1_3, calib_barrel_left_offset2_bunch1_4, calib_barrel_left_offset2_bunch2_3, calib_barrel_left_offset2_bunch2_4, calib_barrel_left_offset2_bunch3_3, calib_barrel_left_offset2_bunch3_4, calib_barrel_right, calib_barrel_right_offset1_bunch0_3, calib_barrel_right_offset1_bunch0_4, calib_barrel_right_offset1_bunch1_3, calib_barrel_right_offset1_bunch1_4, calib_barrel_right_offset1_bunch2_3, calib_barrel_right_offset1_bunch2_4, calib_barrel_right_offset1_bunch3_3, calib_barrel_right_offset1_bunch3_4, calib_barrel_right_offset2_bunch0_3, calib_barrel_right_offset2_bunch0_4, calib_barrel_right_offset2_bunch1_3, calib_barrel_right_offset2_bunch1_4, calib_barrel_right_offset2_bunch2_3, calib_barrel_right_offset2_bunch2_4, calib_barrel_right_offset2_bunch3_3, calib_barrel_right_offset2_bunch3_4, calib_barrel_veff, calib_endcap_left, calib_endcap_veff, calib_etf_combine, calib_etf_left, calib_etf_right, calib_etf_veff, calib_etf_weight, calib_mc_etf_combine, calib_mc_etf_left, and calib_mc_etf_right.
Referenced by calculate().
void TofCalib::fillTxt | ( | const char * | file | ) |
Definition at line 57 of file TofCalib.cxx.
|
inlinevirtual |
void TofCalib::reset | ( | ) |
|
pure virtual |
Implemented in calib_barrel_atten, calib_barrel_left, calib_barrel_left_offset1_bunch0_3, calib_barrel_left_offset1_bunch0_4, calib_barrel_left_offset1_bunch1_3, calib_barrel_left_offset1_bunch1_4, calib_barrel_left_offset1_bunch2_3, calib_barrel_left_offset1_bunch2_4, calib_barrel_left_offset1_bunch3_3, calib_barrel_left_offset1_bunch3_4, calib_barrel_left_offset2_bunch0_3, calib_barrel_left_offset2_bunch0_4, calib_barrel_left_offset2_bunch1_3, calib_barrel_left_offset2_bunch1_4, calib_barrel_left_offset2_bunch2_3, calib_barrel_left_offset2_bunch2_4, calib_barrel_left_offset2_bunch3_3, calib_barrel_left_offset2_bunch3_4, calib_barrel_right, calib_barrel_right_offset1_bunch0_3, calib_barrel_right_offset1_bunch0_4, calib_barrel_right_offset1_bunch1_3, calib_barrel_right_offset1_bunch1_4, calib_barrel_right_offset1_bunch2_3, calib_barrel_right_offset1_bunch2_4, calib_barrel_right_offset1_bunch3_3, calib_barrel_right_offset1_bunch3_4, calib_barrel_right_offset2_bunch0_3, calib_barrel_right_offset2_bunch0_4, calib_barrel_right_offset2_bunch1_3, calib_barrel_right_offset2_bunch1_4, calib_barrel_right_offset2_bunch2_3, calib_barrel_right_offset2_bunch2_4, calib_barrel_right_offset2_bunch3_3, calib_barrel_right_offset2_bunch3_4, calib_barrel_veff, calib_endcap_left, calib_endcap_veff, calib_etf_combine, calib_etf_left, calib_etf_right, calib_etf_veff, calib_etf_weight, calib_mc_etf_combine, calib_mc_etf_left, and calib_mc_etf_right.
Referenced by calculate().
|
protected |
Definition at line 38 of file TofCalib.h.
Referenced by calculate(), reset(), and TofCalib().
|
protected |
Definition at line 41 of file TofCalib.h.
Referenced by calculate(), calib_barrel_atten::calculate_funcs(), calib_barrel_left::calculate_funcs(), calib_barrel_left_offset1_bunch0_3::calculate_funcs(), calib_barrel_left_offset1_bunch0_4::calculate_funcs(), calib_barrel_left_offset1_bunch1_3::calculate_funcs(), calib_barrel_left_offset1_bunch1_4::calculate_funcs(), calib_barrel_left_offset1_bunch2_3::calculate_funcs(), calib_barrel_left_offset1_bunch2_4::calculate_funcs(), calib_barrel_left_offset1_bunch3_4::calculate_funcs(), calib_barrel_left_offset2_bunch0_3::calculate_funcs(), calib_barrel_left_offset2_bunch0_4::calculate_funcs(), calib_barrel_left_offset2_bunch1_3::calculate_funcs(), calib_barrel_left_offset2_bunch1_4::calculate_funcs(), calib_barrel_left_offset2_bunch2_3::calculate_funcs(), calib_barrel_left_offset2_bunch2_4::calculate_funcs(), calib_barrel_left_offset2_bunch3_4::calculate_funcs(), calib_barrel_right::calculate_funcs(), calib_barrel_right_offset1_bunch0_3::calculate_funcs(), calib_barrel_right_offset1_bunch0_4::calculate_funcs(), calib_barrel_right_offset1_bunch1_3::calculate_funcs(), calib_barrel_right_offset1_bunch1_4::calculate_funcs(), calib_barrel_right_offset1_bunch2_3::calculate_funcs(), calib_barrel_right_offset1_bunch2_4::calculate_funcs(), calib_barrel_right_offset1_bunch3_4::calculate_funcs(), calib_barrel_right_offset2_bunch0_3::calculate_funcs(), calib_barrel_right_offset2_bunch0_4::calculate_funcs(), calib_barrel_right_offset2_bunch1_3::calculate_funcs(), calib_barrel_right_offset2_bunch1_4::calculate_funcs(), calib_barrel_right_offset2_bunch2_3::calculate_funcs(), calib_barrel_right_offset2_bunch2_4::calculate_funcs(), calib_barrel_right_offset2_bunch3_4::calculate_funcs(), calib_barrel_veff::calculate_funcs(), calib_endcap_left::calculate_funcs(), calib_endcap_veff::calculate_funcs(), calib_etf_combine::calculate_funcs(), calib_etf_left::calculate_funcs(), calib_etf_right::calculate_funcs(), calib_etf_veff::calculate_funcs(), calib_etf_weight::calculate_funcs(), calib_mc_etf_combine::calculate_funcs(), calib_mc_etf_left::calculate_funcs(), calib_mc_etf_right::calculate_funcs(), reset(), TofCalib(), calib_barrel_left::updateData(), calib_barrel_left_offset1_bunch0_3::updateData(), calib_barrel_left_offset1_bunch0_4::updateData(), calib_barrel_left_offset1_bunch1_3::updateData(), calib_barrel_left_offset1_bunch1_4::updateData(), calib_barrel_left_offset1_bunch2_3::updateData(), calib_barrel_left_offset1_bunch2_4::updateData(), calib_barrel_left_offset1_bunch3_4::updateData(), calib_barrel_left_offset2_bunch0_3::updateData(), calib_barrel_left_offset2_bunch0_4::updateData(), calib_barrel_left_offset2_bunch1_3::updateData(), calib_barrel_left_offset2_bunch1_4::updateData(), calib_barrel_left_offset2_bunch2_3::updateData(), calib_barrel_left_offset2_bunch2_4::updateData(), calib_barrel_left_offset2_bunch3_4::updateData(), calib_barrel_right::updateData(), calib_barrel_right_offset1_bunch0_3::updateData(), calib_barrel_right_offset1_bunch0_4::updateData(), calib_barrel_right_offset1_bunch1_3::updateData(), calib_barrel_right_offset1_bunch1_4::updateData(), calib_barrel_right_offset1_bunch2_3::updateData(), calib_barrel_right_offset1_bunch2_4::updateData(), calib_barrel_right_offset1_bunch3_4::updateData(), calib_barrel_right_offset2_bunch0_3::updateData(), calib_barrel_right_offset2_bunch0_4::updateData(), calib_barrel_right_offset2_bunch1_3::updateData(), calib_barrel_right_offset2_bunch1_4::updateData(), calib_barrel_right_offset2_bunch2_3::updateData(), calib_barrel_right_offset2_bunch2_4::updateData(), calib_barrel_right_offset2_bunch3_4::updateData(), calib_endcap_left::updateData(), calib_etf_combine::updateData(), calib_etf_left::updateData(), calib_etf_right::updateData(), calib_etf_weight::updateData(), calib_mc_etf_combine::updateData(), calib_mc_etf_left::updateData(), and calib_mc_etf_right::updateData().
|
protected |
Definition at line 36 of file TofCalib.h.
Referenced by calib_barrel_atten::calib_barrel_atten(), calib_barrel_left::calib_barrel_left(), calib_barrel_left_offset1_bunch0_3::calib_barrel_left_offset1_bunch0_3(), calib_barrel_left_offset1_bunch0_4::calib_barrel_left_offset1_bunch0_4(), calib_barrel_left_offset1_bunch1_3::calib_barrel_left_offset1_bunch1_3(), calib_barrel_left_offset1_bunch1_4::calib_barrel_left_offset1_bunch1_4(), calib_barrel_left_offset1_bunch2_3::calib_barrel_left_offset1_bunch2_3(), calib_barrel_left_offset1_bunch2_4::calib_barrel_left_offset1_bunch2_4(), calib_barrel_left_offset1_bunch3_3::calib_barrel_left_offset1_bunch3_3(), calib_barrel_left_offset1_bunch3_4::calib_barrel_left_offset1_bunch3_4(), calib_barrel_left_offset2_bunch0_3::calib_barrel_left_offset2_bunch0_3(), calib_barrel_left_offset2_bunch0_4::calib_barrel_left_offset2_bunch0_4(), calib_barrel_left_offset2_bunch1_3::calib_barrel_left_offset2_bunch1_3(), calib_barrel_left_offset2_bunch1_4::calib_barrel_left_offset2_bunch1_4(), calib_barrel_left_offset2_bunch2_3::calib_barrel_left_offset2_bunch2_3(), calib_barrel_left_offset2_bunch2_4::calib_barrel_left_offset2_bunch2_4(), calib_barrel_left_offset2_bunch3_3::calib_barrel_left_offset2_bunch3_3(), calib_barrel_left_offset2_bunch3_4::calib_barrel_left_offset2_bunch3_4(), calib_barrel_right::calib_barrel_right(), calib_barrel_right_offset1_bunch0_3::calib_barrel_right_offset1_bunch0_3(), calib_barrel_right_offset1_bunch0_4::calib_barrel_right_offset1_bunch0_4(), calib_barrel_right_offset1_bunch1_3::calib_barrel_right_offset1_bunch1_3(), calib_barrel_right_offset1_bunch1_4::calib_barrel_right_offset1_bunch1_4(), calib_barrel_right_offset1_bunch2_3::calib_barrel_right_offset1_bunch2_3(), calib_barrel_right_offset1_bunch2_4::calib_barrel_right_offset1_bunch2_4(), calib_barrel_right_offset1_bunch3_3::calib_barrel_right_offset1_bunch3_3(), calib_barrel_right_offset1_bunch3_4::calib_barrel_right_offset1_bunch3_4(), calib_barrel_right_offset2_bunch0_3::calib_barrel_right_offset2_bunch0_3(), calib_barrel_right_offset2_bunch0_4::calib_barrel_right_offset2_bunch0_4(), calib_barrel_right_offset2_bunch1_3::calib_barrel_right_offset2_bunch1_3(), calib_barrel_right_offset2_bunch1_4::calib_barrel_right_offset2_bunch1_4(), calib_barrel_right_offset2_bunch2_3::calib_barrel_right_offset2_bunch2_3(), calib_barrel_right_offset2_bunch2_4::calib_barrel_right_offset2_bunch2_4(), calib_barrel_right_offset2_bunch3_3::calib_barrel_right_offset2_bunch3_3(), calib_barrel_right_offset2_bunch3_4::calib_barrel_right_offset2_bunch3_4(), calib_barrel_veff::calib_barrel_veff(), calib_endcap_left::calib_endcap_left(), calib_endcap_veff::calib_endcap_veff(), calib_etf_combine::calib_etf_combine(), calib_etf_left::calib_etf_left(), calib_etf_right::calib_etf_right(), calib_etf_veff::calib_etf_veff(), calib_etf_weight::calib_etf_weight(), calib_mc_etf_combine::calib_mc_etf_combine(), calib_mc_etf_left::calib_mc_etf_left(), calib_mc_etf_right::calib_mc_etf_right(), name(), and TofCalib().
|
protected |
Definition at line 44 of file TofCalib.h.
Referenced by calculate(), and fillTxt().
|
protected |
Definition at line 37 of file TofCalib.h.
Referenced by calculate(), reset(), and TofCalib().
|
protected |
Definition at line 39 of file TofCalib.h.
Referenced by calculate(), reset(), TofCalib(), calib_barrel_atten::updateData(), calib_barrel_left::updateData(), calib_barrel_left_offset1_bunch0_3::updateData(), calib_barrel_left_offset1_bunch0_4::updateData(), calib_barrel_left_offset1_bunch1_3::updateData(), calib_barrel_left_offset1_bunch1_4::updateData(), calib_barrel_left_offset1_bunch2_3::updateData(), calib_barrel_left_offset1_bunch2_4::updateData(), calib_barrel_left_offset1_bunch3_4::updateData(), calib_barrel_left_offset2_bunch0_3::updateData(), calib_barrel_left_offset2_bunch0_4::updateData(), calib_barrel_left_offset2_bunch1_3::updateData(), calib_barrel_left_offset2_bunch1_4::updateData(), calib_barrel_left_offset2_bunch2_3::updateData(), calib_barrel_left_offset2_bunch2_4::updateData(), calib_barrel_left_offset2_bunch3_4::updateData(), calib_barrel_right::updateData(), calib_barrel_right_offset1_bunch0_3::updateData(), calib_barrel_right_offset1_bunch0_4::updateData(), calib_barrel_right_offset1_bunch1_3::updateData(), calib_barrel_right_offset1_bunch1_4::updateData(), calib_barrel_right_offset1_bunch2_3::updateData(), calib_barrel_right_offset1_bunch2_4::updateData(), calib_barrel_right_offset1_bunch3_4::updateData(), calib_barrel_right_offset2_bunch0_3::updateData(), calib_barrel_right_offset2_bunch0_4::updateData(), calib_barrel_right_offset2_bunch1_3::updateData(), calib_barrel_right_offset2_bunch1_4::updateData(), calib_barrel_right_offset2_bunch2_3::updateData(), calib_barrel_right_offset2_bunch2_4::updateData(), calib_barrel_right_offset2_bunch3_4::updateData(), calib_endcap_left::updateData(), calib_etf_combine::updateData(), calib_etf_left::updateData(), calib_etf_right::updateData(), calib_etf_weight::updateData(), calib_mc_etf_combine::updateData(), calib_mc_etf_left::updateData(), and calib_mc_etf_right::updateData().
|
protected |
Definition at line 40 of file TofCalib.h.
Referenced by calculate(), reset(), and TofCalib().
|
protected |
Definition at line 42 of file TofCalib.h.
Referenced by calculate(), calib_barrel_atten::calculate_y(), calib_barrel_left::calculate_y(), calib_barrel_left_offset1_bunch0_3::calculate_y(), calib_barrel_left_offset1_bunch0_4::calculate_y(), calib_barrel_left_offset1_bunch1_3::calculate_y(), calib_barrel_left_offset1_bunch1_4::calculate_y(), calib_barrel_left_offset1_bunch2_3::calculate_y(), calib_barrel_left_offset1_bunch2_4::calculate_y(), calib_barrel_left_offset1_bunch3_4::calculate_y(), calib_barrel_left_offset2_bunch0_3::calculate_y(), calib_barrel_left_offset2_bunch0_4::calculate_y(), calib_barrel_left_offset2_bunch1_3::calculate_y(), calib_barrel_left_offset2_bunch1_4::calculate_y(), calib_barrel_left_offset2_bunch2_3::calculate_y(), calib_barrel_left_offset2_bunch2_4::calculate_y(), calib_barrel_left_offset2_bunch3_4::calculate_y(), calib_barrel_right::calculate_y(), calib_barrel_right_offset1_bunch0_3::calculate_y(), calib_barrel_right_offset1_bunch0_4::calculate_y(), calib_barrel_right_offset1_bunch1_3::calculate_y(), calib_barrel_right_offset1_bunch1_4::calculate_y(), calib_barrel_right_offset1_bunch2_3::calculate_y(), calib_barrel_right_offset1_bunch2_4::calculate_y(), calib_barrel_right_offset1_bunch3_4::calculate_y(), calib_barrel_right_offset2_bunch0_3::calculate_y(), calib_barrel_right_offset2_bunch0_4::calculate_y(), calib_barrel_right_offset2_bunch1_3::calculate_y(), calib_barrel_right_offset2_bunch1_4::calculate_y(), calib_barrel_right_offset2_bunch2_3::calculate_y(), calib_barrel_right_offset2_bunch2_4::calculate_y(), calib_barrel_right_offset2_bunch3_4::calculate_y(), calib_barrel_veff::calculate_y(), calib_endcap_left::calculate_y(), calib_endcap_veff::calculate_y(), calib_etf_combine::calculate_y(), calib_etf_left::calculate_y(), calib_etf_right::calculate_y(), calib_etf_veff::calculate_y(), calib_etf_weight::calculate_y(), calib_mc_etf_combine::calculate_y(), calib_mc_etf_left::calculate_y(), and calib_mc_etf_right::calculate_y().