BOSS 7.0.1
BESIII Offline Software System
Loading...
Searching...
No Matches
InstallArea/include/DedxCalibAlg/DedxCalibAlg/DedxCalibParameters.h
Go to the documentation of this file.
1#include <vector>
2
3const long int RUN0 = 0;
4const long int RUN1 = 0;
5const long int RUN2 = 5459;
6const long int RUN3 = 8093;
7const long int RUN4 = 9947;
8const long int RUN5 = 11397;
9const long int RUN6 = 23455;
10const long int RUN7 = 25244;
11
12////runNO<5459, HV:2200
13const double HV1_curvep0=500.0*0.1165;
14const double HV1_curvep1=9.404;
15const double HV1_curvep2=0.009811;
16const double HV1_curvep3=1.621;
17const double HV1_curvep4=1.19;
18const double HV1_index_sin=0;
19const double HV1_index_nhit=0.9525;
20const double HV1_sigmap0=65;
21const double HV1_sigmap1=57.08;
22const double HV1_sigmap2=60.03;
23const double HV1_sigmap3=-2.747;
24
25////runNO:5960-8093(6201)
26const double HV2_curvep0=550.0*0.0182604;
27const double HV2_curvep1=35.0428;
28const double HV2_curvep2=1.24185e-09;
29const double HV2_curvep3= 2.25831;
30const double HV2_curvep4=5.81573;
31const double HV2_index_sin=0.341267;
32const double HV2_index_nhit=0.557516;
33const double HV2_sigmap0=33.0;
34const double HV2_sigmap1=33.1897;
35const double HV2_sigmap2=29.3308;
36const double HV2_sigmap3=-2.11828;
37
38const double VR0CUT = 1.0;
39const double VZ0CUT = 10.0;
40const double PT0HighCut = 5.0;
41const double PT0LowCut = 0.05;
42
43#define NormalMean 550 //reference value
44
45#define NumHistBins 300 //set histogram range for gauss and landau distribution
46#define MinHistValue 10
47#define MaxHistValue 3000
48#define MinHistValue1 300
49#define MaxHistValue1 950
50#define MinChiValue -1
51#define MaxChiValue 1
52
53#define MinADCValuecut 10 //choose hits again in calibration
54#define MaxADCValuecut 35000
55#define RPhi_PathMaxCut 3
56#define Iner_RPhi_PathMinCut 0.24
57#define Out_RPhi_PathMinCut 0.32
58#define Iner_DriftDistCut 0.75
59#define Out_DriftDistCut 1.0
60
61#define NumSlices 100
62#define NumSlicesDoca 40
63#define NumSlicesEAng 40
64#define DocaMin -1.1
65#define DocaMax 1.1
66#define PhiMin -0.25
67#define PhiMax 0.25
68
69#define NumBinCostheta 80
70#define CosthetaMin -1.00
71#define CosthetaMax 1.00
72
73static const double doca_norm[43] =
74{
75 0.585, 0.615, 0.63, 0.61, 0.59, 0.57, 0.565, 0.61, 0.8, 0.855,
76 0.8, 0.855, 0.805, 0.845, 0.8, 0.845, 0.785, 0.825, 0.785, 0.815,
77 0.765, 0.795, 0.82, 0.855, 0.8, 0.82, 0.86, 0.895, 0.77, 0.805,
78 0.83, 0.87, 0.75, 0.78, 0.8, 0.82, 0.8, 0.815, 0.83, 0.87,
79 0.77, 0.795, 0.8
80};
81
82static const double Eangle_value_cut[15] =
83{-0.25, -0.06, -0.04, -0.03, -0.02, -0.01, -0.005, 0,
84 0.005, 0.01, 0.02, 0.03, 0.04, 0.06, 0.25
85};
86
87static const double Eangle_cut_bin[14] = {1, 1, 2, 6, 6, 2, 2, 2, 2, 6, 6, 2, 1, 1};
88
89double mylan(double *x, double *par);
90double landaun(double *x, double *par);
91double Landau(double *x, double *par);
92double Vavilov(double *x, double *par);
93double AsymGauss(double *x, double *par);
94
95void dedx_pid_exp_old( int landau, int runflag, float dedx,int Nohit, float mom, float theta, float t0, float lsamp,double dedx_exp[5], double ex_sigma[5],double pid_prob[5], double chi_dedx[5]);
96
97void dedx_pid_exp(int vflag[3], float dedx, int trkalg,int Nohit, float mom, float theta, float t0, float lsamp, double dedx_exp[5], double ex_sigma[5],double pid_prob[5], double chi_dedx[5],std::vector<double> & par, std::vector<double> & sig_par);
98
99double SpaceChargeCorrec(double m_theta, double mom, int Particle, double dEdx);
HepMC::GenParticle Particle
double Landau(double *x, double *par)
double Vavilov(double *x, double *par)
void dedx_pid_exp_old(int landau, int runflag, float dedx, int Nohit, float mom, float theta, float t0, float lsamp, double dedx_exp[5], double ex_sigma[5], double pid_prob[5], double chi_dedx[5])
double landaun(double *x, double *par)
double AsymGauss(double *x, double *par)
void dedx_pid_exp(int vflag[3], float dedx, int trkalg, int Nohit, float mom, float theta, float t0, float lsamp, double dedx_exp[5], double ex_sigma[5], double pid_prob[5], double chi_dedx[5], std::vector< double > &par, std::vector< double > &sig_par)
double mylan(double *x, double *par)
double SpaceChargeCorrec(double m_theta, double mom, int Particle, double dEdx)