10 sprintf(filename,
"endcap_iniCalib.xml");
12 sprintf(filename,
"barrel_iniCalib.xml");
15 fprintf(
FILENAME,
"<?xml version=\"1.0\" ?>\n");
16 fprintf(
FILENAME,
"<CalibrationConstants>\n");
32 fprintf(
FILENAME,
"</CalibrationConstants>\n");
40 fprintf(
FILENAME,
"<Cell eta_index=\"%d\" phi_index=\"%d\" scale_factor=\"%f\"/>\n",eta,phi,calib);
49 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)