BOSS 6.6.4.p01
BESIII Offline Software System
Loading...
Searching...
No Matches
MdcCalParams.h
Go to the documentation of this file.
1#ifndef MDCCALPARAMS_H
2#define MDCCALPARAMS_H
3
4#include <string>
5
6const int MdcCalNLayer = 43;
7const int MdcCalInnNLay = 8;
8const int MdcCalMaxCell = 288;
9const int MdcCalTotCell = 6796;
10const int MdcCalLR = 3;
11
12const int MdcCalNENTRXT = 18;
13const int MdcCalXtOrd = 6;
14const int MdcCalXtNPars = 8;
15
16const int MdcCalQtOrd = 2;
17const int MdcCalNQBin = 10;
18
19const int MdcCalNENTRSD = 6;
20const int MdcCalSdNBIN = 24;
21
22const int MdcCalWrNBin = 15;
23
24const double MdcCalTdcCnv = 0.09375;
25const double MdcCalAdcCnv = 1.0;
26
27const double HFPI = 1.570796327;
28const double PI2 = 6.283185307;
29
31public:
34 int fgCalDetEffi; /* calculating hit efficiency without tracking algorithm impacts */
35
36 double ecm;
37 double boostPar[3];
38
41 int esFlag[50];
42 double timeShift; /* if T<0 after subtracting Tes, use this */
43 double tesMin; /* minimun Tes for calibration */
44 double tesMax; /* maximun Tes for calibration */
45
46 int fgIniCalConst; /* effective for IniMdcCalib */
47 bool preT0SetTm; /* flag for updating Tm in PreT0Calib */
48
49 double initT0; /* initial value of T0 fit */
50 double t0Shift; /* t0 shift based on leading edge fitting */
51 double tminFitChindf; /* chisquare cut for Tmin fit */
52 double tmaxFitChindf; /* chisquare cut for Tmax fit */
53 double initSigma; /* initial value of spatial resolution in the first calibration */
54
56 int resiType; /* 0: including measurement point; 1: excluding */
57
58 int fixXtC0; /* 1: fix c0 at 0 */
59 int fixXtEdge; /* 1: fix X-T in the edge of the cell */
60
61 int fgAdjacLayerCut; /* a cut for adjacent layers in MdcCalib.cxx */
62 int fgBoundLayerCut; /* a cut for boundary layers in MdcCalib.cxx */
63 int nTrkCut[2];
66 int hitStatCut; /* hitStatCut=1 for MdcxReco & MdcPatRec */
67
68 bool noiseCut; /* cut of noise level */
69 double costheCut[2]; /* cut of cos(theta) */
70 double drCut;
71 double dzCut;
74
78 double initTm[MdcCalNLayer]; /* initial value of Tm fit */
82
83 std::string wpcFile;
84};
85
86#endif /* MDCCALPARAMS_H */
const int MdcCalXtOrd
Definition: MdcCalParams.h:13
const int MdcCalNLayer
Definition: MdcCalParams.h:6
const int MdcCalQtOrd
Definition: MdcCalParams.h:16
const int MdcCalNQBin
Definition: MdcCalParams.h:17
const int MdcCalNENTRSD
Definition: MdcCalParams.h:19
const double MdcCalTdcCnv
Definition: MdcCalParams.h:24
const int MdcCalInnNLay
Definition: MdcCalParams.h:7
const double MdcCalAdcCnv
Definition: MdcCalParams.h:25
const int MdcCalXtNPars
Definition: MdcCalParams.h:14
const double PI2
Definition: MdcCalParams.h:28
const int MdcCalSdNBIN
Definition: MdcCalParams.h:20
const int MdcCalNENTRXT
Definition: MdcCalParams.h:12
const int MdcCalTotCell
Definition: MdcCalParams.h:9
const double HFPI
Definition: MdcCalParams.h:27
const int MdcCalLR
Definition: MdcCalParams.h:10
const int MdcCalWrNBin
Definition: MdcCalParams.h:22
const int MdcCalMaxCell
Definition: MdcCalParams.h:8
int fgAdjacLayerCut
Definition: MdcCalParams.h:61
double maxDocaOuter
Definition: MdcCalParams.h:73
double initTm[MdcCalNLayer]
Definition: MdcCalParams.h:78
double costheCut[2]
Definition: MdcCalParams.h:69
int fgBoundLayerCut
Definition: MdcCalParams.h:62
int nTrkCut[2]
Definition: MdcCalParams.h:63
int fgCalib[MdcCalNLayer]
Definition: MdcCalParams.h:75
double t0Shift
Definition: MdcCalParams.h:50
std::string wpcFile
Definition: MdcCalParams.h:83
double initT0
Definition: MdcCalParams.h:49
double tminFitRange[MdcCalNLayer][2]
Definition: MdcCalParams.h:76
double initSigma
Definition: MdcCalParams.h:53
double maxDocaInner
Definition: MdcCalParams.h:72
double boostPar[3]
Definition: MdcCalParams.h:37
double qmax[MdcCalNLayer]
Definition: MdcCalParams.h:81
double dzCut
Definition: MdcCalParams.h:71
double tminFitChindf
Definition: MdcCalParams.h:51
double timeShift
Definition: MdcCalParams.h:42
double tesMax
Definition: MdcCalParams.h:44
int esFlag[50]
Definition: MdcCalParams.h:41
double qmin[MdcCalNLayer]
Definition: MdcCalParams.h:80
double tmaxFitChindf
Definition: MdcCalParams.h:52
double drCut
Definition: MdcCalParams.h:70
double resiCut[MdcCalNLayer]
Definition: MdcCalParams.h:79
double tmaxFitRange[MdcCalNLayer][2]
Definition: MdcCalParams.h:77
double tesMin
Definition: MdcCalParams.h:43