BOSS 7.0.9
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}
int Origin() const
Definition: MdcxFittedHel.h:52
int Nhits() const
Definition: MdcxFittedHel.h:49
const HepAList< MdcxHit > & XHitList() const
Definition: MdcxFittedHel.h:59
int SuperLayer(int hitno=0) const
float Chisq() const
Definition: MdcxFittedHel.h:45
double d0
Definition: MdcxHel.h:123
double Yref() const
Definition: MdcxHel.h:61
double phi0
Definition: MdcxHel.h:124
double omega
Definition: MdcxHel.h:125
double Xref() const
Definition: MdcxHel.h:59
double Xline_slope()
Definition: MdcxSeg.h:17
double Xline_bbrrf()
Definition: MdcxSeg.h:15
MdcxSeg(MdcxFittedHel &hel, int p, int a)
Definition: MdcxSeg.cxx:3
void printSegAll()
Definition: MdcxSeg.cxx:31
virtual ~MdcxSeg()
Definition: MdcxSeg.cxx:21
double Phi0_sl_approx()
Definition: MdcxSeg.h:14
void printSeg()
Definition: MdcxSeg.cxx:23
double Yline_slope()
Definition: MdcxSeg.h:18
double D0_sl_approx()
Definition: MdcxSeg.h:13
double Yline_bbrrf()
Definition: MdcxSeg.h:16
int Pat()
Definition: MdcxSeg.h:19