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
3
MdcxSeg::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
26
MdcxSeg::~MdcxSeg
() {}
27
28
void
MdcxSeg::printSeg
() {
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
34
void
MdcxSeg::printSegAll
() {
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
}
MdcxFittedHel::Origin
int Origin() const
Definition
InstallArea/x86_64-el9-gcc13-dbg/include/MdcxReco/MdcxFittedHel.h:52
MdcxFittedHel::Nhits
int Nhits() const
Definition
InstallArea/x86_64-el9-gcc13-dbg/include/MdcxReco/MdcxFittedHel.h:49
MdcxFittedHel::MdcxFittedHel
MdcxFittedHel()
Definition
MdcxFittedHel.cxx:60
MdcxFittedHel::XHitList
const HepAList< MdcxHit > & XHitList() const
Definition
InstallArea/x86_64-el9-gcc13-dbg/include/MdcxReco/MdcxFittedHel.h:59
MdcxFittedHel::SuperLayer
int SuperLayer(int hitno=0) const
Definition
MdcxFittedHel.cxx:427
MdcxFittedHel::Chisq
float Chisq() const
Definition
InstallArea/x86_64-el9-gcc13-dbg/include/MdcxReco/MdcxFittedHel.h:45
MdcxHel::d0
double d0
Definition
InstallArea/x86_64-el9-gcc13-dbg/include/MdcxReco/MdcxHel.h:123
MdcxHel::Yref
double Yref() const
Definition
InstallArea/x86_64-el9-gcc13-dbg/include/MdcxReco/MdcxHel.h:60
MdcxHel::phi0
double phi0
Definition
InstallArea/x86_64-el9-gcc13-dbg/include/MdcxReco/MdcxHel.h:124
MdcxHel::omega
double omega
Definition
InstallArea/x86_64-el9-gcc13-dbg/include/MdcxReco/MdcxHel.h:125
MdcxHel::Xref
double Xref() const
Definition
InstallArea/x86_64-el9-gcc13-dbg/include/MdcxReco/MdcxHel.h:58
MdcxSeg::Xline_slope
double Xline_slope()
Definition
InstallArea/x86_64-el9-gcc13-dbg/include/MdcxReco/MdcxSeg.h:17
MdcxSeg::Xline_bbrrf
double Xline_bbrrf()
Definition
InstallArea/x86_64-el9-gcc13-dbg/include/MdcxReco/MdcxSeg.h:15
MdcxSeg::MdcxSeg
MdcxSeg(MdcxFittedHel &hel, int p, int a)
Definition
MdcxSeg.cxx:3
MdcxSeg::printSegAll
void printSegAll()
Definition
MdcxSeg.cxx:34
MdcxSeg::~MdcxSeg
virtual ~MdcxSeg()
Definition
MdcxSeg.cxx:26
MdcxSeg::Phi0_sl_approx
double Phi0_sl_approx()
Definition
InstallArea/x86_64-el9-gcc13-dbg/include/MdcxReco/MdcxSeg.h:14
MdcxSeg::printSeg
void printSeg()
Definition
MdcxSeg.cxx:28
MdcxSeg::Yline_slope
double Yline_slope()
Definition
InstallArea/x86_64-el9-gcc13-dbg/include/MdcxReco/MdcxSeg.h:18
MdcxSeg::D0_sl_approx
double D0_sl_approx()
Definition
InstallArea/x86_64-el9-gcc13-dbg/include/MdcxReco/MdcxSeg.h:13
MdcxSeg::Yline_bbrrf
double Yline_bbrrf()
Definition
InstallArea/x86_64-el9-gcc13-dbg/include/MdcxReco/MdcxSeg.h:16
MdcxSeg::Pat
int Pat()
Definition
InstallArea/x86_64-el9-gcc13-dbg/include/MdcxReco/MdcxSeg.h:19
8.0.0
BOSS_Source
Reconstruction
MdcPatRec
MdcxReco
src
MdcxSeg.cxx
Generated by
1.16.1