CGEM BOSS 6.6.5.h
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>
7#include "MdcxReco/MdcxHit.h"
8
9class 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
HepAList< MdcxHit > xHitList
double sphi0
Definition MdcxHel.h:132
double yref
Definition MdcxHel.h:130
double d0
Definition MdcxHel.h:123
double phi0
Definition MdcxHel.h:124
double xref
Definition MdcxHel.h:129
double omega
Definition MdcxHel.h:125
double cphi0
Definition MdcxHel.h:131
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