1 #ifndef __CALIB_PARAM_XT_H__
2 #define __CALIB_PARAM_XT_H__
3 #include <TGraphErrors.h>
27 void Add(
const double t,
const double x,
const double dt,
const double dx);
40 typedef std::vector<ParamItem> List_t;
43 typedef std::map<short, Set> SetMap_t;
50 void Add(
const std::string det ,
const double t,
const double x,
const double dt,
const double dx);
51 void Add(
const std::string det_name,
const short det_id,
const double t,
const double x,
const double dt,
const double dx);
55 void Print(std::ostream& os);
Calibration parameter for chamber X-T relation.
int ReadFileCont(LineList &lines)
void Add(const std::string det, const double t, const double x, const double dt, const double dx)
int WriteFileCont(std::ostream &os)
void WriteDbTable(DbSvc &db)
void Print(std::ostream &os)
Set * GetParam(const short det)
Return a set of parameters for det. Return 0 if det is invalid.
void ReadDbTable(DbSvc &db)
Standard interface with SQL database.
std::vector< std::string > LineList
A set of parameters for one detector (plane).
double X1
Maximim X. Half cell width.
double T0
T at X0. T0 > T1.
void Add(const double t, const double x, const double dt, const double dx)
double X0
Minimum X. Usually zero.