19 cout <<
indent <<
"MioctGeometry: " << endl;
22 for(std::vector<MioctSectorGeometry>::const_iterator isec =
m_Sectors.begin(); isec <
m_Sectors.end(); ++isec)
24 for(std::vector<MioctSectorGeometry>::const_iterator isec =
m_Sectors.begin(); isec <
m_Sectors.end(); ++isec)
31 mioctIndent(xmlfile, indentLevel, indentWidth) <<
"<MIOCT "
35 std::string xtmp =
"<!-- contains sectors ";
36 for(std::vector<MioctSectorGeometry>::const_iterator isec =
m_Sectors.begin(); isec <
m_Sectors.end(); ++isec)
38 xtmp.append(isec->name());
43 mioctIndent(xmlfile, indentLevel+1, indentWidth) <<xtmp <<
" -->"<<endl;
44 for(std::vector<MioctSectorGeometry>::const_iterator isec =
m_Sectors.begin(); isec <
m_Sectors.end(); ++isec)
45 isec->writeXML(xmlfile, indentLevel+1, indentWidth);
47 mioctIndent(xmlfile, indentLevel+1, indentWidth) <<
"<Decode>\n";
48 for(std::vector<MioctTopoCellGeometry>::const_iterator itopo =
m_TopoCells.begin(); itopo <
m_TopoCells.end(); ++itopo)
49 itopo->writeXML(xmlfile, indentLevel+2, indentWidth);
50 mioctIndent(xmlfile, indentLevel+1, indentWidth) <<
"</Decode>\n";
52 mioctIndent(xmlfile, indentLevel, indentWidth) <<
"</MIOCT>" << endl;