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

Go to the documentation of this file.
00001 #include "MdcxReco/MdcxSeg.h"
00002 
00003 MdcxSeg::MdcxSeg(MdcxFittedHel &hel, int p, int a):MdcxFittedHel(hel){
00004   pat=p; amb=a; 
00005 //  c1=-0.686; c2=1.74;
00006   c1=-0.77; c2=1.83;
00007   if ((pat == 0x2244) || (pat == 0x4221)) {
00008     c1 = -1.13;
00009     c2 = 2.26;
00010   }
00011   if ((pat == 0x1244) || (pat == 0x8421) || (pat == 0x8221)) {
00012     c1 = -1.54;
00013     c2 = 2.84;
00014   }
00015   if ((pat == 0x2248) || (pat == 0x8441)) {
00016     c1 = -2.06;
00017     c2 = 2.99;
00018   }
00019 }//endof MdcxSeg
00020 
00021 MdcxSeg::~MdcxSeg( ){ }
00022 
00023 void MdcxSeg::printSeg(){ 
00024   std::cout<<"sl "<< SuperLayer()<<" amb "<<amb<<" ";
00025   for (int i =0; i<Nhits(); i++){
00026     XHitList()[i]->print(std::cout,i);
00027   }
00028   std::cout<<" chi2 "<<Chisq()<<std::endl;
00029 } 
00030 
00031 void MdcxSeg::printSegAll(){ 
00032   std::cout<<"MdcxSeg "<< SuperLayer()<<" : ";
00033   for (int i =0; i<Nhits(); i++){
00034     XHitList()[i]->print(std::cout,i);
00035   }
00036   std::cout <<" pat "<<Pat()<<" amb "<<amb<< " d0 "<<d0<<" phi0 "<<phi0<<" omega "<<omega
00037     <<" d0Sl "<<D0_sl_approx()<<" phi0Sl "<< Phi0_sl_approx()
00038     <<" xB "<<Xline_bbrrf()<<" yB "<< Yline_bbrrf()
00039     <<" xSl "<<Xline_slope()<<" ySl "<< Yline_slope()
00040     <<" x(y)ref " << Xref() << " " << Yref()
00041     <<" origin "<<Origin()
00042     << std::endl; 
00043   std::cout<< std::endl;
00044 } 

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