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