BOSS 7.0.4
BESIII Offline Software System
Loading...
Searching...
No Matches
MdcxSeg.cxx
Go to the documentation of this file.
1#include "MdcxReco/MdcxSeg.h"
2
4 pat=p; amb=a;
5// c1=-0.686; c2=1.74;
6 c1=-0.77; c2=1.83;
7 if ((pat == 0x2244) || (pat == 0x4221)) {
8 c1 = -1.13;
9 c2 = 2.26;
10 }
11 if ((pat == 0x1244) || (pat == 0x8421) || (pat == 0x8221)) {
12 c1 = -1.54;
13 c2 = 2.84;
14 }
15 if ((pat == 0x2248) || (pat == 0x8441)) {
16 c1 = -2.06;
17 c2 = 2.99;
18 }
19}//endof MdcxSeg
20
22
24 std::cout<<"sl "<< SuperLayer()<<" amb "<<amb<<" ";
25 for (int i =0; i<Nhits(); i++){
26 XHitList()[i]->print(std::cout,i);
27 }
28 std::cout<<" chi2 "<<Chisq()<<std::endl;
29}
30
32 std::cout<<"MdcxSeg "<< SuperLayer()<<" : ";
33 for (int i =0; i<Nhits(); i++){
34 XHitList()[i]->print(std::cout,i);
35 }
36 std::cout <<" pat "<<Pat()<<" amb "<<amb<< " d0 "<<d0<<" phi0 "<<phi0<<" omega "<<omega
37 <<" d0Sl "<<D0_sl_approx()<<" phi0Sl "<< Phi0_sl_approx()
38 <<" xB "<<Xline_bbrrf()<<" yB "<< Yline_bbrrf()
39 <<" xSl "<<Xline_slope()<<" ySl "<< Yline_slope()
40 <<" x(y)ref " << Xref() << " " << Yref()
41 <<" origin "<<Origin()
42 << std::endl;
43 std::cout<< std::endl;
44}
const HepAList< MdcxHit > & XHitList() const
int SuperLayer(int hitno=0) const
MdcxSeg(MdcxFittedHel &hel, int p, int a)
Definition: MdcxSeg.cxx:3
void printSegAll()
Definition: MdcxSeg.cxx:31
virtual ~MdcxSeg()
Definition: MdcxSeg.cxx:21
void printSeg()
Definition: MdcxSeg.cxx:23