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] =
80 0.585, 0.615, 0.63, 0.61, 0.59, 0.57, 0.565, 0.61, 0.8, 0.855,
81 0.8, 0.855, 0.805, 0.845, 0.8, 0.845, 0.785, 0.825, 0.785, 0.815,
82 0.765, 0.795, 0.82, 0.855, 0.8, 0.82, 0.86, 0.895, 0.77, 0.805,
83 0.83, 0.87, 0.75, 0.78, 0.8, 0.82, 0.8, 0.815, 0.83, 0.87,
87static const double Eangle_value_cut[15] =
88{-0.25, -0.06, -0.04, -0.03, -0.02, -0.01, -0.005, 0,
89 0.005, 0.01, 0.02, 0.03, 0.04, 0.06, 0.25
92static const double Eangle_cut_bin[14] = {1, 1, 2, 6, 6, 2, 2, 2, 2, 6, 6, 2, 1, 1};
94static const double tzero_bin_value[35] = {275, 575, 610, 630, 650,
95 670, 690, 710, 730, 750,
96 770, 790, 810, 830, 850,
97 870, 890, 910, 930, 950,
98 970, 990, 1010, 1030, 1050,
99 1070, 1090, 1110, 1130, 1150,
100 1170, 1190, 1225, 1275, 1400};
102double mylan(
double *x,
double *par);
103double landaun(
double *x,
double *par);
104double Landau(
double *x,
double *par);
105double Vavilov(
double *x,
double *par);
108void 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]);
110void 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);
114#define NumEvtBlocksInRun 30
115#define NumEvtInBlocks 1000000
116#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
int vflag[3]
Curve parameter vars.