/home/bes3soft/bes3soft/Boss/7.0.2/dist/7.0.2/Reconstruction/MdcPatRec/MdcxReco/MdcxReco-00-01-59/MdcxReco/MdcxSeg.h

Go to the documentation of this file.
00001 #ifndef MDCXSEG_H
00002 #define MDCXSEG_H
00003 #include <math.h>
00004 #include <iostream>
00005 #include <fstream>
00006 #include "MdcxReco/MdcxFittedHel.h"
00007 #include "MdcxReco/MdcxHit.h"
00008 
00009 class MdcxSeg:public MdcxFittedHel{
00010  public:
00011   MdcxSeg(MdcxFittedHel &hel, int p, int a);
00012   virtual ~MdcxSeg( );
00013   inline double D0_sl_approx(){ return d0+c1*omega; }
00014   inline double Phi0_sl_approx(){ return phi0+c2*omega; }
00015   inline double Xline_bbrrf(){ return xref-sphi0*d0; }
00016   inline double Yline_bbrrf(){ return yref+cphi0*d0; }
00017   inline double Xline_slope(){ return xHitList[0]->wx()/xHitList[0]->wz(); }
00018   inline double Yline_slope(){ return xHitList[0]->wy()/xHitList[0]->wz(); }
00019   inline int Pat(){return pat;}
00020   void printSeg(); 
00021   void printSegAll(); 
00022 
00023  private:
00024   int pat;
00025   int amb;
00026   double c1,c2;
00027 };//endof MdcxSeg
00028 
00029 #endif

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