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;
45#define NumHistBins 300
46#define MinHistValue 10
47#define MaxHistValue 3000
48#define MinHistValue1 300
49#define MaxHistValue1 950
53#define MinADCValuecut 10
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
62#define NumSlicesDoca 40
63#define NumSlicesEAng 40
69#define NumBinCostheta 80
70#define CosthetaMin -1.00
71#define CosthetaMax 1.00
74#define NumBinTzero 135
78static const double doca_norm[43] = {
79 0.585, 0.615, 0.63, 0.61, 0.59, 0.57, 0.565, 0.61, 0.8, 0.855, 0.8,
80 0.855, 0.805, 0.845, 0.8, 0.845, 0.785, 0.825, 0.785, 0.815, 0.765, 0.795,
81 0.82, 0.855, 0.8, 0.82, 0.86, 0.895, 0.77, 0.805, 0.83, 0.87, 0.75,
82 0.78, 0.8, 0.82, 0.8, 0.815, 0.83, 0.87, 0.77, 0.795, 0.8 };
84static const double Eangle_value_cut[15] = { -0.25, -0.06, -0.04, -0.03, -0.02,
85 -0.01, -0.005, 0, 0.005, 0.01,
86 0.02, 0.03, 0.04, 0.06, 0.25 };
88static const double Eangle_cut_bin[14] = { 1, 1, 2, 6, 6, 2, 2, 2, 2, 6, 6, 2, 1, 1 };
90static const double tzero_bin_value[35] = {
91 275, 575, 610, 630, 650, 670, 690, 710, 730, 750, 770, 790,
92 810, 830, 850, 870, 890, 910, 930, 950, 970, 990, 1010, 1030,
93 1050, 1070, 1090, 1110, 1130, 1150, 1170, 1190, 1225, 1275, 1400 };
95double mylan(
double* x,
double* par );
96double landaun(
double* x,
double* par );
97double Landau(
double* x,
double* par );
98double Vavilov(
double* x,
double* par );
99double AsymGauss(
double* x,
double* par );
101void dedx_pid_exp_old(
int landau,
int runflag,
float dedx,
int Nohit,
float mom,
float theta,
102 float t0,
float lsamp,
double dedx_exp[5],
double ex_sigma[5],
103 double pid_prob[5],
double chi_dedx[5] );
105void dedx_pid_exp(
int vflag[3],
float dedx,
int trkalg,
int Nohit,
float mom,
float theta,
106 float t0,
float lsamp,
double dedx_exp[5],
double ex_sigma[5],
107 double pid_prob[5],
double chi_dedx[5], std::vector<double>& par,
108 std::vector<double>& sig_par );
112#define NumEvtBlocksInRun 30
113#define NumEvtInBlocks 1000000
114#define MaxNumEvt 1000000000
const double HV2_index_nhit
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)
const double HV1_index_nhit
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)
const double HV1_index_sin
double mylan(double *x, double *par)
const double HV2_index_sin
double SpaceChargeCorrec(double m_theta, double mom, int Particle, double dEdx)
HepMC::GenParticle Particle