CGEM BOSS 6.6.5.h
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
const int MdcCalNLayer
Definition MdcCalParams.h:6
const int MdcCalQtOrd
const int MdcCalNQBin
const int MdcCalNENTRSD
const double MdcCalTdcCnv
const int MdcCalInnNLay
Definition MdcCalParams.h:7
const double MdcCalAdcCnv
const int MdcCalXtNPars
const double PI2
const int MdcCalSdNBIN
const int MdcCalNENTRXT
const int MdcCalTotCell
Definition MdcCalParams.h:9
const double HFPI
const int MdcCalLR
const int MdcCalWrNBin
const int MdcCalMaxCell
Definition MdcCalParams.h:8
double maxDocaOuter
double initTm[MdcCalNLayer]
double costheCut[2]
int fgCalib[MdcCalNLayer]
std::string wpcFile
double tminFitRange[MdcCalNLayer][2]
double initSigma
double maxDocaInner
double boostPar[3]
double qmax[MdcCalNLayer]
double tminFitChindf
double timeShift
int esFlag[50]
double qmin[MdcCalNLayer]
double tmaxFitChindf
double resiCut[MdcCalNLayer]
double tmaxFitRange[MdcCalNLayer][2]