1#ifndef ParticleID_TofCorrPID_H
2#define ParticleID_TofCorrPID_H
24 double chi(
int n)
const {
return m_chi[
n];}
25 double prob(
int n)
const {
return m_prob[
n];}
26 double offset(
int n)
const {
return m_offset[
n];}
27 double sigma(
int n)
const {
return m_sigma[
n];}
28 int ndof()
const {
return m_ndof;}
37 double offsetTof(
unsigned int ispecies,
bool barrel,
unsigned int ipmt,
double betaGamma,
int charge,
double zrhit,
double dt );
38 double offsetTof(
unsigned int ispecies,
int tofid,
double zrhit,
double dt );
39 double offsetTof(
unsigned int ispecies,
int tofid1,
int tofid2,
double zrhit1,
double zrhit2,
double dt );
40 double sigmaTof(
unsigned int ispecies,
int charge,
bool barrel,
unsigned int ipmt,
int tofid[2],
double zrhit[2],
double betaGamma );
41 double sigmaTof(
unsigned int ispecies,
int charge,
bool barrel,
unsigned int ipmt,
double zrhit,
int ibgbin );
43 double qCurveFunc(
unsigned int layer,
double betaGamma );
44 double bSigma(
unsigned int end,
int tofid,
double zrhit );
45 double bSigma(
int tofid[2],
double zrhit[2] );
46 double eSigma(
int tofid,
double zrhit );
60 double m_deltaT[7][5];
63 int m_runBegin, m_runEnd;
64 double m_p_weight[176][3][5], m_p_common, m_ec_sigma[96][3];
65 double m_q0_bg[3][5], m_par_ab[5][2][5], m_par_pbar_ab[5][2][5];
66 double m_par_sigma[4][8][9], m_par_sig_mom[3][7][3];
67 double m_p_offset[2][4][10][20], m_p_sigma[2][7][10][20];
int neuronPIDCalculation()
void inputParameter(int run)
bool IsPidInfoValid() const
double qCurveFunc(unsigned int layer, double betaGamma)
int particleIDCalculation()
double sigma(int n) const
double offset(int n) const
double sigmaTof(unsigned int ispecies, int charge, bool barrel, unsigned int ipmt, int tofid[2], double zrhit[2], double betaGamma)
double bSigma(unsigned int end, int tofid, double zrhit)
double offsetTof(unsigned int ispecies, bool barrel, unsigned int ipmt, double betaGamma, int charge, double zrhit, double dt)
static TofCorrPID * instance()
double eSigma(int tofid, double zrhit)
int LikelihoodCalculation()