5#ifndef _INCLUDE_ExTrk_H
6#define _INCLUDE_ExTrk_H
44 void set_dEdx(
int l,
float dEdx_meas,
int trkalg,
int runflag,
int vflag[3],
double t0, vector<double> & DedxCurve_Parameter, vector<double> & DedxSigma_Parameter,
MdcDedxCorrection*);
45 void set_phlist(
const vector<double>& phlist) {m_phlist = phlist;}
57 int stat()
const {
return m_stat;}
62 double dedx()
const {
return m_dEdx;}
64 double P()
const {
return m_P;}
65 double theta()
const {
return m_theta;}
66 double phi()
const {
return m_phi;}
67 double Pt()
const {
return m_P*std::sin(m_theta);}
68 double expect(
int pid)
const;
70 double prob(
int pid)
const;
74 double*
pprob() {
return pid_prob;}
98 vector<double> m_phlist;
99 vector<double> m_phlist_hit;
106 if( pid >= 0 && pid < 5 )
return dedx_exp[pid];
112 if( pid >= 0 && pid < 5 )
return ex_sigma[pid];
118 if( pid >= 0 && pid < 5 )
return pid_prob[pid];
124 if( pid >= 0 && pid < 5 )
return chi_ex[pid];
SmartRefVector< RecMdcDedxHit > DedxHitRefVec
double cal_dedx_geometric_trunc(float)
double expect(int pid) const
RecMdcKalTrack * trk_ptr_kal() const
double cal_dedx_bitrunc(float, int, int &)
void set_dEdx(int l, float dEdx_meas, int trkalg, int runflag, int vflag[3], double t0, vector< double > &DedxCurve_Parameter, vector< double > &DedxSigma_Parameter, MdcDedxCorrection *)
double prob(int pid) const
double cal_dedx_harmonic_trunc(float)
void set_ExTrk_Kal(RecMdcKalTrack &trk_kal, int pid)
void setVecDedxHits(const DedxHitRefVec &vecdedxhit)
void set_ExTrk(RecMdcTrack &trk)
double cal_dedx_harmonic(float)
double cal_dedx_log(float, int)
vector< double > get_phlist(void)
DedxHitRefVec getVecDedxHits() const
void set_phlist_hit(const vector< double > &phlist)
double chi_dedx(int pid) const
void set_phlist(const vector< double > &phlist)
double SpaceChargeCorrec(double, double, int, double)
vector< double > get_phlist_hit(void)
double cal_dedx_median(float)
RecMdcTrack * trk_ptr() const
double cal_dedx_geometric(float)
double exp_sigma(int pid) const
double cal_dedx_transform(int)