/home/bes3soft/bes3soft/Boss/7.0.2/dist/7.0.2/Tof/tofcalgsec/tofcalgsec-00-02-21/tofcalgsec/calib_etf_veff.h

Go to the documentation of this file.
00001 #ifndef CALIB_ETF_VEFF_H
00002 #define CALIB_ETF_VEFF_H
00003 
00004 #include "tofcalgsec/TofCalib.h"
00005 
00006 const int nEtfVeff = 4;
00007 
00008 class calib_etf_veff:public TofCalib {
00009  public:
00010   calib_etf_veff():TofCalib( nEtfVeff ) {
00011     m_name = string("calib_etf_veff");
00012   }
00013 
00014   void calculate_funcs( const Record* r ) {
00015     double z = r->zrhit();
00016 
00017     funcs[0] = 1.0;
00018     funcs[1] = z;
00019     funcs[2] = z*z;
00020     funcs[3] = z*z*z;
00021 
00022     return;
00023   }
00024 
00025   void calculate_y(const Record* r) {
00026     y = r->tright() - r->tleft();
00027     return;
00028   }
00029 
00030   void updateData( RecordSet*& data ) {
00031     return;
00032   }
00033 
00034 };
00035 
00036 #endif

Generated on Tue Nov 29 23:14:36 2016 for BOSS_7.0.2 by  doxygen 1.4.7