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