8 sprintf(
filename,
"endcap_iniCalib.xml");
10 sprintf(
filename,
"barrel_iniCalib.xml");
13 fprintf(
FILENAME,
"<?xml version=\"1.0\" ?>\n");
14 fprintf(
FILENAME,
"<CalibrationConstants>\n");
30 fprintf(
FILENAME,
"<?xml version=\"1.0\" ?>\n");
31 fprintf(
FILENAME,
"<CalibrationConstants>\n");
45 fprintf(
FILENAME,
"</CalibrationConstants>\n");
52 fprintf(
FILENAME,
"<Cell eta_index=\"%d\" phi_index=\"%d\" scale_factor=\"%f\"/>\n",
eta,
phi,
calib);
58 int z = det.
zside() > 0 ? 1 : 0;
59 fprintf(
FILENAME,
"<Cell x_index=\"%d\" y_index=\"%d\" z_index=\"%d\" scale_factor=\"%f\"/>\n",
x,
y,
z,
calib);