2#ifndef CalibData_DedxCalibData_h
3#define CalibData_DedxCalibData_h
13#include "CalibData/CalibModel.h"
14#include "CalibData/CalibBase1.h"
31 virtual StatusCode update(
CalibBase1& other, MsgStream* log);
35 void setddg(
const double ddg,
int i,
int j);
37 void setggs(
const double ggs,
int i,
int j);
39 void setwireg(
const double wireg,
int i);
41 void setgain(
const double gain);
43 void setzdep(
const double zdep,
int i,
int j);
47 void setlayerg(
const double layerg,
int i);
49 void setenta(
const double enta,
int i,
int j);
52 void setrung(
const double rung,
int i);
56 double getddg(
int i,
int j)
const{
return m_ddg[i][j];}
58 double getggs(
int i,
int j)
const{
return m_ggs[i][j];}
60 double getwireg(
int i)
const{
return m_wireg[i];}
64 double getzdep(
int i,
int j)
const{
return m_zdep[i][j];}
70 double getenta(
int i,
int j)
const{
return m_enta[i][j];}
74 if(j>=m_runNO)
return 0;
75 if(i==0)
return *(m_rung1.begin()+j);
76 if(i==1)
return *(m_rung2.begin()+j);
77 if(i==2)
return *(m_rung3.begin()+j);
78 if(i==3)
return *(m_rung4.begin()+j);
79 if(i==4)
return *(m_rung5.begin()+j);
80 if(i==5)
return *(m_rung6.begin()+j);
92 double get_t0(
int i)
const{
return m_t0[i];}
93 double get_dedx(
int i)
const{
return m_dedx[i];}
108 void set_t0(
const double aa,
int i) { m_t0[i]=aa;}
109 void set_dedx(
const double aa,
int i) {m_dedx[i]=aa;}
120 double m_wireg[6796];
122 double m_zdep[4][43];
125 double m_enta[4][43];
127 vector<double> m_rung1;
128 vector<double> m_rung2;
129 vector<double> m_rung3;
130 vector<double> m_rung4;
131 vector<double> m_rung5;
132 vector<double> m_rung6;
136 double m_id_doca[1600];
137 double m_iner_chi[1600];
138 double m_iner_gain[1600];
139 double m_iner_hits[1600];
140 double m_ip_eangle[1600];
141 double m_out_chi[1600];
142 double m_out_gain[1600];
143 double m_out_hits[1600];
144 double m_costheta[80];
148 double m_enangle[100];
const CLID CLID_Calib_DedxCal
void setlayerg(const double layerg, int i)
void setggs(const double ggs, int i, int j)
void setenta(const double enta, int i, int j)
void set_out_hits(const double aa, int i)
double getenta(int i, int j) const
double get_costheta(int i) const
double get_ip_eangle(int i) const
double getzdep(int i, int j) const
void setresol(const double resol)
void set_out_gain(const double aa, int i)
void setddg(const double ddg, int i, int j)
void set_costheta(const double aa, int i)
void set_enangle(const double aa, int i)
void set_iner_gain(const double aa, int i)
double get_iner_chi(int i) const
double getrung(int i, int j) const
double get_id_doca(int i) const
double get_out_gain(int i) const
void set_iner_hits(const double aa, int i)
double get_hadron(int i) const
double get_enangle(int i) const
void setwireg(const double wireg, int i)
void setgain(const double gain)
double get_out_hits(int i) const
void set_hadronNo(int no)
void set_ip_eangle(const double aa, int i)
static const CLID & classID()
void set_out_chi(const double aa, int i)
double getlayerg(int i) const
int get_enanglesize() const
double get_iner_hits(int i) const
void setzdep(const double zdep, int i, int j)
void set_hadron(const double aa, int i)
void setrunNO(const int run_NO)
void set_enanglesize(int no)
void set_t0(const double aa, int i)
double getwireg(int i) const
double getddg(int i, int j) const
virtual const CLID & clID() const
double getggs(int i, int j) const
void set_dedx(const double aa, int i)
void set_iner_chi(const double aa, int i)
double get_t0(int i) const
double get_out_chi(int i) const
double get_iner_gain(int i) const
void set_id_doca(const double aa, int i)
void setrung(const double rung, int i)
double get_dedx(int i) const