8 R__LOAD_LIBRARY(geom_svc)
10 int
UploadCalibParam(const std::
string type="xt_curve", const std::
string map_id="e906run28740")
12 gSystem->Load(
"libgeom_svc.so");
18 cerr <<
"!!ERROR!! '" << type <<
"' is not supported." << endl;
32 gSystem->Load(
"libgeom_svc.so");
38 cerr <<
"!!ERROR!! '" << type <<
"' is not supported." << endl;
int CheckCalibParam(const std::string type="xt_curve", const int run=25000)
void WriteToLocalFile(const std::string fn_tsv)
int run(const int nEvents=1)
void SetMapIDbyDB(const std::string map_id)
void SetMapIDbyFile(const std::string map_id)
int UploadCalibParam(const std::string type="xt_curve", const std::string map_id="e906run28740")
UploadCalibParam.C: Macro to upload the calibration parameter from tsv file to MySQL DB...