BOSS 7.1.0
BESIII Offline Software System
Loading...
Searching...
No Matches
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
17
18using namespace std;
19
21
22 public:
23 //the public method to get the static instance pointer
24 static MdcParameter* instance();
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_*/
const int _findEventVertex
Definition: MdcParameter.h:35
const int _nseg
Definition: MdcParameter.h:69
const bool _mkMdst
Definition: MdcParameter.h:49
const float _D_phi1
Definition: MdcParameter.h:67
const float _z_cut2
Definition: MdcParameter.h:75
const float _z_cut1
Definition: MdcParameter.h:75
const float _D_phi2
Definition: MdcParameter.h:67
const float _chi2_2
Definition: MdcParameter.h:77
static MdcParameter * instance()
Definition: MdcParameter.cxx:6
const int _nc
Definition: MdcParameter.h:73
const float _chi2_kappa
Definition: MdcParameter.h:59
const float _chi2_1
Definition: MdcParameter.h:77
const double _minPt
Definition: MdcParameter.h:39
const int _doIt
Definition: MdcParameter.h:47
const int _hitscut
Definition: MdcParameter.h:81
const float _Min_chi2
Definition: MdcParameter.h:61
const double _minDr
Definition: MdcParameter.h:41
const int _evtTimeCorr
Definition: MdcParameter.h:37
const float _chi2_3
Definition: MdcParameter.h:77
const float _D_phi3
Definition: MdcParameter.h:67
const float _deltaPhi
Definition: MdcParameter.h:64
const int _nlength
Definition: MdcParameter.h:71
const bool _mkTds
Definition: MdcParameter.h:51
const float _t0OffSet
Definition: MdcParameter.h:43
double updateAlpha()
const float _xtCoEff
Definition: MdcParameter.h:45
const float _chi2_segfit
Definition: MdcParameter.h:79