BOSS 7.1.1
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
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 pCut[2]
double tminFitRange[MdcCalNLayer][2]
double initSigma
double maxDocaInner
bool fgCombinePlusMinue
double boostPar[3]
double qmax[MdcCalNLayer]
double tminFitChindf
double timeShift
int esFlag[50]
double qmin[MdcCalNLayer]
double tmaxFitChindf
double resiCut[MdcCalNLayer]
int fgWireCal[MdcCalTotCell]
double tmaxFitRange[MdcCalNLayer][2]