BOSS 7.0.2
BESIII Offline Software System
Loading...
Searching...
No Matches
Reconstruction/MdcFastTrkAlg/MdcFastTrkAlg-00-04-09/MdcFastTrkAlg/MdcParameter.h
Go to the documentation of this file.
1//
2//Parameters for Mdc Fast Track Reconstruction
3//
4//Created by Ma Xiang
5
6#ifndef MdcParameter_FLAG_
7#define MdcParameter_FLAG_
8
9#include <iostream>
10
11#ifndef M_PI
12#define M_PI 3.14159265358979323846
13#endif
14
15#include "MagneticField/IMagneticFieldSvc.h"
16#include "MagneticField/MagneticFieldSvc.h"
17
18using namespace std;
19
20class MdcParameter {
21
22 public:
23 //the public method to get the static instance pointer
25 double updateAlpha();
26
27 protected:
28 //Constructor and destructor
31
32 public:
33 //public parameters
34 //findPrimatyVertex,Primary event vertex finding
35 const int _findEventVertex;
36 //event timing correction
37 const int _evtTimeCorr;
38 //minimum Pt in finding(this must be >0.)
39 const double _minPt;
40 //minimum Dr in finding
41 const double _minDr;
42 //T0 offset for real data
43 const float _t0OffSet;
44 //coefficient of x-t for real data
45 const float _xtCoEff;
46 //doTracking,fast track finding
47 const int _doIt;
48 //make Mdst table from fzisan
49 const bool _mkMdst;
50 //make Tds from fzisan
51 const bool _mkTds;
52 ////
53 //const int _eventNo;
54 //magnetic field constant
55 float _mfield;
56 float _alpha;
57 //chi2 of kappa in FTFinder::linkAxialSegments
58 //sigmaKappa at linking
59 const float _chi2_kappa;
60 //minimum of chi2-chi2_kappa in FTFinder::linkAxialSegments
61 const float _Min_chi2;
62 //cut of (incomingPhi-NextOuterBoundHit.phi()) in (0,2*M_pi) in FTFinder::linkAxialSegments
63 //deltaphi should be <_deltaphi,or >2*M_PI-_deltaphi
64 const float _deltaPhi;
65 //angle of two nearest hits on two neighbour axial superlayers in FTFinder::linkAxialSuperLayer234
66 //0 ,1 or 2 layers between the two hits (neighbour layer)
67 const float _D_phi1,_D_phi2,_D_phi3;
68 //minimum quantity of stereo segments,if consider end-cap ,it can be 1
69 const int _nseg;
70 //minimum of stereo hits,if 1,the end-cap efficiency is higher
71 const int _nlength;
72 //minium number of stereo hits
73 const int _nc;
74 //z cut in s_z fit for two steps
75 const float _z_cut1,_z_cut2;
76 //kappa fot cut requirements
77 const float _chi2_1, _chi2_2, _chi2_3;
78 //segment linear fit in superLayer
79 const float _chi2_segfit;
80 //cut bad hits when do r_phi Refit:1,not cut;2 cut
81 const int _hitscut;
82
83 private:
84 //the instance pointer
85 static MdcParameter * s_paramInstance;
86 IMagneticFieldSvc* m_pmgnIMF;
87};
88
89#endif /*MdcParameter_FLAG_*/
double updateAlpha()
static MdcParameter * instance()