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");
28 fprintf(
FILENAME,
"</CalibrationConstants>\n");
35 fprintf(
FILENAME,
"<Cell eta_index=\"%d\" phi_index=\"%d\" scale_factor=\"%f\"/>\n", eta, phi, calib);
42 fprintf(
FILENAME,
"<Cell x_index=\"%d\" y_index=\"%d\" z_index=\"%d\" scale_factor=\"%f\"/>\n", x, y, z, calib);
calibXMLwriter(EcalSubdetector=EcalBarrel)
int iphi() const
get the crystal iphi
int ieta() const
get the crystal ieta
void writeLine(EBDetId const &, float)