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

Go to the documentation of this file.
00001 #ifndef CALIB_ETF_BUNCH_H
00002 #define CALIB_ETF_BUNCH_H
00003 
00004 #include "tofcalgsec/TofCalibFit.h"
00005 
00006 const int nParEtfBunch = 4;  // 4: offset,offset error,sigma,sigma error
00007 const int nGraphTotalBunch = 8;
00008 
00009 class calib_etf_bunch:public TofCalibFit {
00010  public:
00011   calib_etf_bunch( const unsigned int nbunch );
00012   ~calib_etf_bunch();
00013 
00014   void calculate( RecordSet*& data, unsigned int ibunch );
00015 
00016  private:
00017   void fillRecord( const Record* r );
00018   void fitHistogram();
00019   void fillGraph();
00020   void fitGraph();
00021 
00022  private:
00023   std::vector<double> modpos;
00024   std::vector<double> modposerr;
00025 
00026   std::vector<HepVector> m_fitresult;
00027 
00028 };
00029 
00030 #endif

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