/home/bes3soft/bes3soft/Boss/7.0.2/dist/7.0.2/Mdc/MdcAlignAlg/MdcAlignAlg-00-01-04/share/distAlign/src/include/MdcAlignPar.h

Go to the documentation of this file.
00001 #ifndef MDCALIGNPAR_H
00002 #define MDCALIGNPAR_H
00003 
00004 #include "fun.h"
00005 
00006 #include <fstream>
00007 #include <string>
00008 #include <cstring>
00009 
00010 class MdcAlignPar {
00011 public:
00012      MdcAlignPar();
00013      ~MdcAlignPar();
00014 
00015      void initAlignPar();
00016      bool rdAlignPar(std::string alignFile);
00017      void wrtAlignPar();
00018 
00019      void setDx(int iEP, double val) { m_dx[iEP] = val; }
00020      void setDy(int iEP, double val) { m_dy[iEP] = val; }
00021      void setDz(int iEP, double val) { m_dz[iEP] = val; }
00022      void setRx(int iEP, double val) { m_rx[iEP] = val; }
00023      void setRy(int iEP, double val) { m_ry[iEP] = val; }
00024      void setRz(int iEP, double val) { m_rz[iEP] = val; }
00025 
00026      void setDelDx(int iEP, double val) { m_delDx[iEP] = val; }
00027      void setDelDy(int iEP, double val) { m_delDy[iEP] = val; }
00028      void setDelDz(int iEP, double val) { m_delDz[iEP] = val; }
00029      void setDelRx(int iEP, double val) { m_delRx[iEP] = val; }
00030      void setDelRy(int iEP, double val) { m_delRy[iEP] = val; }
00031      void setDelRz(int iEP, double val) { m_delRz[iEP] = val; }
00032 
00033      void setErrDx(int iEP, double val) { m_errDx[iEP] = val; }
00034      void setErrDy(int iEP, double val) { m_errDy[iEP] = val; }
00035      void setErrDz(int iEP, double val) { m_errDz[iEP] = val; }
00036      void setErrRx(int iEP, double val) { m_errRx[iEP] = val; }
00037      void setErrRy(int iEP, double val) { m_errRy[iEP] = val; }
00038      void setErrRz(int iEP, double val) { m_errRz[iEP] = val; }
00039      
00040 private:
00041      double m_dx[NEP];
00042      double m_dy[NEP];
00043      double m_dz[NEP];
00044      double m_rx[NEP];
00045      double m_ry[NEP];
00046      double m_rz[NEP];
00047 
00048      double m_delDx[NEP];
00049      double m_delDy[NEP];
00050      double m_delDz[NEP];
00051      double m_delRx[NEP];
00052      double m_delRy[NEP];
00053      double m_delRz[NEP];
00054 
00055      double m_errDx[NEP];
00056      double m_errDy[NEP];
00057      double m_errDz[NEP];
00058      double m_errRx[NEP];
00059      double m_errRy[NEP];
00060      double m_errRz[NEP];
00061 };
00062 
00063 #endif/*MDCALIGNPAR_H*/

Generated on Tue Nov 29 23:12:47 2016 for BOSS_7.0.2 by  doxygen 1.4.7