BOSS
7.0.9
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
15
#include "
MagneticField/IMagneticFieldSvc.h
"
16
#include "
MagneticField/MagneticFieldSvc.h
"
17
18
using namespace
std
;
19
20
class
MdcParameter
{
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
29
MdcParameter
();
30
~MdcParameter
();
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_*/
IMagneticFieldSvc.h
MagneticFieldSvc.h
IMagneticFieldSvc
Definition:
IMagneticFieldSvc.h:29
MdcParameter
Definition:
MdcParameter.h:20
MdcParameter::_findEventVertex
const int _findEventVertex
Definition:
MdcParameter.h:35
MdcParameter::_nseg
const int _nseg
Definition:
MdcParameter.h:69
MdcParameter::_mkMdst
const bool _mkMdst
Definition:
MdcParameter.h:49
MdcParameter::_D_phi1
const float _D_phi1
Definition:
MdcParameter.h:67
MdcParameter::_z_cut2
const float _z_cut2
Definition:
MdcParameter.h:75
MdcParameter::_z_cut1
const float _z_cut1
Definition:
MdcParameter.h:75
MdcParameter::_D_phi2
const float _D_phi2
Definition:
MdcParameter.h:67
MdcParameter::_chi2_2
const float _chi2_2
Definition:
MdcParameter.h:77
MdcParameter::~MdcParameter
~MdcParameter()
Definition:
MdcParameter.cxx:50
MdcParameter::instance
static MdcParameter * instance()
Definition:
MdcParameter.cxx:6
MdcParameter::_nc
const int _nc
Definition:
MdcParameter.h:73
MdcParameter::_chi2_kappa
const float _chi2_kappa
Definition:
MdcParameter.h:59
MdcParameter::_chi2_1
const float _chi2_1
Definition:
MdcParameter.h:77
MdcParameter::_mfield
float _mfield
Definition:
MdcParameter.h:55
MdcParameter::_minPt
const double _minPt
Definition:
MdcParameter.h:39
MdcParameter::_doIt
const int _doIt
Definition:
MdcParameter.h:47
MdcParameter::_alpha
float _alpha
Definition:
MdcParameter.h:56
MdcParameter::_hitscut
const int _hitscut
Definition:
MdcParameter.h:81
MdcParameter::_Min_chi2
const float _Min_chi2
Definition:
MdcParameter.h:61
MdcParameter::MdcParameter
MdcParameter()
Definition:
MdcParameter.cxx:12
MdcParameter::_minDr
const double _minDr
Definition:
MdcParameter.h:41
MdcParameter::_evtTimeCorr
const int _evtTimeCorr
Definition:
MdcParameter.h:37
MdcParameter::_chi2_3
const float _chi2_3
Definition:
MdcParameter.h:77
MdcParameter::_D_phi3
const float _D_phi3
Definition:
MdcParameter.h:67
MdcParameter::_deltaPhi
const float _deltaPhi
Definition:
MdcParameter.h:64
MdcParameter::_nlength
const int _nlength
Definition:
MdcParameter.h:71
MdcParameter::_mkTds
const bool _mkTds
Definition:
MdcParameter.h:51
MdcParameter::_t0OffSet
const float _t0OffSet
Definition:
MdcParameter.h:43
MdcParameter::updateAlpha
double updateAlpha()
MdcParameter::_xtCoEff
const float _xtCoEff
Definition:
MdcParameter.h:45
MdcParameter::_chi2_segfit
const float _chi2_segfit
Definition:
MdcParameter.h:79
std
Definition:
RootEventData_rootcint.cxx:16
source
Reconstruction
MdcFastTrkAlg
MdcFastTrkAlg-00-04-09
MdcFastTrkAlg
MdcParameter.h
Generated by
1.9.6