BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
Reconstruction/MdcPatRec/MdcxReco/include/MdcxReco/MdcxSeg.h
Go to the documentation of this file.
1#ifndef MDCXSEG_H
2#define MDCXSEG_H
3#include "MdcxReco/MdcxFittedHel.h"
4#include "MdcxReco/MdcxHit.h"
5#include <fstream>
6#include <iostream>
7#include <math.h>
8
9class MdcxSeg : public MdcxFittedHel {
10public:
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();
22
23private:
24 int pat;
25 int amb;
26 double c1, c2;
27}; // endof MdcxSeg
28
29#endif
MdcxSeg(MdcxFittedHel &hel, int p, int a)
void printSegAll()
void printSeg()
virtual ~MdcxSeg()