BOSS 7.0.1
BESIII Offline Software System
Loading...
Searching...
No Matches
InstallArea/include/MdcxReco/MdcxReco/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
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
void printSegAll()
Definition: MdcxSeg.cxx:31
virtual ~MdcxSeg()
Definition: MdcxSeg.cxx:21
void printSeg()
Definition: MdcxSeg.cxx:23