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