BOSS 7.1.0
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
40 bool esCut; /* switch on/off EsTime cuts */
42 int esFlag[50];
43 double timeShift; /* if T<0 after subtracting Tes, use this */
44 double tesMin; /* minimun Tes for calibration */
45 double tesMax; /* maximun Tes for calibration */
46
47 int fgIniCalConst; /* effective for IniMdcCalib */
48 bool preT0SetTm; /* flag for updating Tm in PreT0Calib */
49
50 double initT0; /* initial value of T0 fit */
51 double t0Shift; /* t0 shift based on leading edge fitting */
52 double tminFitChindf; /* chisquare cut for Tmin fit */
53 double tmaxFitChindf; /* chisquare cut for Tmax fit */
54 double initSigma; /* initial value of spatial resolution in the first calibration */
55
57 int resiType; /* 0: including measurement point; 1: excluding */
58
59 int fixXtC0; /* 1: fix c0 at 0 */
60 int fixXtEdge; /* 1: fix X-T in the edge of the cell */
61 bool fgCombinePlusMinue; /* 1: combine +/- tracks */
62
63 int fgAdjacLayerCut; /* a cut for adjacent layers in MdcCalib.cxx */
64 int fgBoundLayerCut; /* a cut for boundary layers in MdcCalib.cxx */
65 int nTrkCut[2];
68 int hitStatCut; /* hitStatCut=1 for MdcxReco & MdcPatRec */
69
70 bool noiseCut; /* cut of noise level */
72 double costheCut[2]; /* cut of cos(theta) */
73 double drCut;
74 double dzCut;
75 double pCut[2]; /* momentum cut */
78 double charge;
79
83 double initTm[MdcCalNLayer]; /* initial value of Tm fit */
87
89 std::string wpcFile;
90};
91
92#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
bool cosmicDwTrk
Definition: MdcCalParams.h:71
int fgAdjacLayerCut
Definition: MdcCalParams.h:63
double maxDocaOuter
Definition: MdcCalParams.h:77
double initTm[MdcCalNLayer]
Definition: MdcCalParams.h:83
double charge
Definition: MdcCalParams.h:78
double costheCut[2]
Definition: MdcCalParams.h:72
int fgBoundLayerCut
Definition: MdcCalParams.h:64
int nTrkCut[2]
Definition: MdcCalParams.h:65
int fgCalib[MdcCalNLayer]
Definition: MdcCalParams.h:80
double t0Shift
Definition: MdcCalParams.h:51
std::string wpcFile
Definition: MdcCalParams.h:89
double pCut[2]
Definition: MdcCalParams.h:75
double initT0
Definition: MdcCalParams.h:50
double tminFitRange[MdcCalNLayer][2]
Definition: MdcCalParams.h:81
double initSigma
Definition: MdcCalParams.h:54
double maxDocaInner
Definition: MdcCalParams.h:76
bool fgCombinePlusMinue
Definition: MdcCalParams.h:61
double boostPar[3]
Definition: MdcCalParams.h:37
double qmax[MdcCalNLayer]
Definition: MdcCalParams.h:86
double dzCut
Definition: MdcCalParams.h:74
double tminFitChindf
Definition: MdcCalParams.h:52
double timeShift
Definition: MdcCalParams.h:43
double tesMax
Definition: MdcCalParams.h:45
int esFlag[50]
Definition: MdcCalParams.h:42
double qmin[MdcCalNLayer]
Definition: MdcCalParams.h:85
double tmaxFitChindf
Definition: MdcCalParams.h:53
double drCut
Definition: MdcCalParams.h:73
double resiCut[MdcCalNLayer]
Definition: MdcCalParams.h:84
int fgWireCal[MdcCalTotCell]
Definition: MdcCalParams.h:88
double tmaxFitRange[MdcCalNLayer][2]
Definition: MdcCalParams.h:82
double tesMin
Definition: MdcCalParams.h:44