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

Go to the documentation of this file.
00001 #ifndef CALIB_BARREL_COMMON_H
00002 #define CALIB_BARREL_COMMON_H
00003 
00004 #include "tofcalgsec/TofCalibFit.h"
00005 
00006 // const int nBarrelCommon     = 4;  // number of calib_barrel_common.txt
00007 const int nParCommon        = 4;  // 4: offset,offset error,sigma,sigma error
00008 const int nGraphTotalCommon = 9;
00009 
00010 class calib_barrel_common:public TofCalibFit {
00011  public:
00012   calib_barrel_common( const unsigned int nzbin );
00013   ~calib_barrel_common();
00014 
00015   void calculate( RecordSet*& data, unsigned int icounter );
00016 
00017  private:
00018   void fillRecord( const Record* r );
00019   void fitHistogram();
00020   void fillGraph();
00021   void fitGraph();
00022 
00023  private:
00024   std::vector<double> zpos;
00025   std::vector<double> zposerr;
00026   double zstep;
00027 
00028   std::vector<HepVector> m_fitresult;
00029 };
00030 
00031 #endif
00032 

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