21 cout <<
indent <<
"MioctGeometry: " << endl;
24 for(std::vector<MioctSectorGeometry>::const_iterator isec =
m_Sectors.begin(); isec <
m_Sectors.end(); ++isec)
26 for(std::vector<MioctSectorGeometry>::const_iterator isec =
m_Sectors.begin(); isec <
m_Sectors.end(); ++isec)
33 mioctIndent(xmlfile, indentLevel, indentWidth) <<
"<MIOCT "
37 std::string xtmp =
"<!-- contains sectors ";
38 for(std::vector<MioctSectorGeometry>::const_iterator isec =
m_Sectors.begin(); isec <
m_Sectors.end(); ++isec)
40 xtmp.append(isec->name());
45 mioctIndent(xmlfile, indentLevel+1, indentWidth) <<xtmp <<
" -->"<<endl;
46 for(std::vector<MioctSectorGeometry>::const_iterator isec =
m_Sectors.begin(); isec <
m_Sectors.end(); ++isec)
47 isec->writeXML(xmlfile, indentLevel+1, indentWidth);
49 mioctIndent(xmlfile, indentLevel+1, indentWidth) <<
"<Decode>\n";
50 for(std::vector<MioctTopoCellGeometry>::const_iterator itopo =
m_TopoCells.begin(); itopo <
m_TopoCells.end(); ++itopo)
51 itopo->writeXML(xmlfile, indentLevel+2, indentWidth);
52 mioctIndent(xmlfile, indentLevel+1, indentWidth) <<
"</Decode>\n";
54 mioctIndent(xmlfile, indentLevel, indentWidth) <<
"</MIOCT>" << endl;