BOSS
7.0.9
BESIII Offline Software System
Loading...
Searching...
No Matches
MdcxSeg.h
Go to the documentation of this file.
1
#ifndef MDCXSEG_H
2
#define MDCXSEG_H
3
#include <math.h>
4
#include <iostream>
5
#include <fstream>
6
#include "
MdcxReco/MdcxFittedHel.h
"
7
#include "
MdcxReco/MdcxHit.h
"
8
9
class
MdcxSeg
:
public
MdcxFittedHel
{
10
public
:
11
MdcxSeg
(
MdcxFittedHel
&hel,
int
p,
int
a);
12
virtual
~MdcxSeg
( );
13
inline
double
D0_sl_approx
(){
return
d0
+c1*
omega
; }
14
inline
double
Phi0_sl_approx
(){
return
phi0
+c2*
omega
; }
15
inline
double
Xline_bbrrf
(){
return
xref
-
sphi0
*
d0
; }
16
inline
double
Yline_bbrrf
(){
return
yref
+
cphi0
*
d0
; }
17
inline
double
Xline_slope
(){
return
xHitList
[0]->wx()/
xHitList
[0]->wz(); }
18
inline
double
Yline_slope
(){
return
xHitList
[0]->wy()/
xHitList
[0]->wz(); }
19
inline
int
Pat
(){
return
pat;}
20
void
printSeg
();
21
void
printSegAll
();
22
23
private
:
24
int
pat;
25
int
amb;
26
double
c1,c2;
27
};
//endof MdcxSeg
28
29
#endif
MdcxFittedHel.h
MdcxHit.h
MdcxFittedHel
Definition:
MdcxFittedHel.h:33
MdcxFittedHel::xHitList
HepAList< MdcxHit > xHitList
Definition:
MdcxFittedHel.h:89
MdcxHel::sphi0
double sphi0
Definition:
MdcxHel.h:132
MdcxHel::yref
double yref
Definition:
MdcxHel.h:130
MdcxHel::d0
double d0
Definition:
MdcxHel.h:123
MdcxHel::phi0
double phi0
Definition:
MdcxHel.h:124
MdcxHel::xref
double xref
Definition:
MdcxHel.h:129
MdcxHel::omega
double omega
Definition:
MdcxHel.h:125
MdcxHel::cphi0
double cphi0
Definition:
MdcxHel.h:131
MdcxSeg
Definition:
MdcxSeg.h:9
MdcxSeg::Xline_slope
double Xline_slope()
Definition:
MdcxSeg.h:17
MdcxSeg::Xline_bbrrf
double Xline_bbrrf()
Definition:
MdcxSeg.h:15
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
source
Reconstruction
MdcPatRec
MdcxReco
MdcxReco-00-01-60
MdcxReco
MdcxSeg.h
Generated by
1.9.6