#include <MioctGeometry.h>
Definition at line 14 of file MioctGeometry.h.
◆ MioctGeometry()
| MioctGeometry::MioctGeometry |
( |
| ) |
|
Definition at line 11 of file MioctGeometry.cxx.
11 :
15{}
std::vector< MioctSectorGeometry > m_Sectors
◆ ~MioctGeometry()
| virtual MioctGeometry::~MioctGeometry |
( |
| ) |
|
|
virtualdefault |
◆ addSector()
◆ addTopoCell()
Definition at line 29 of file MioctGeometry.h.
std::vector< MioctTopoCellGeometry > m_TopoCells
◆ mioctId()
| unsigned int MioctGeometry::mioctId |
( |
| ) |
const |
|
inline |
◆ print()
| void MioctGeometry::print |
( |
const std::string & | indent = "", |
|
|
unsigned int | detail = 1 ) const |
|
virtual |
Definition at line 18 of file MioctGeometry.cxx.
18 {
19 cout <<
indent <<
"MioctGeometry: " << endl;
22 for(std::vector<MioctSectorGeometry>::const_iterator isec =
m_Sectors.begin(); isec <
m_Sectors.end(); ++isec)
23 isec->print(indent+indent);
24 for(std::vector<MioctSectorGeometry>::const_iterator isec =
m_Sectors.begin(); isec <
m_Sectors.end(); ++isec)
25 isec->print(indent+indent);
26
27}
◆ sectors()
◆ setMioctId()
| void MioctGeometry::setMioctId |
( |
unsigned int | id | ) |
|
|
inline |
◆ setSlot()
| void MioctGeometry::setSlot |
( |
int | m | ) |
|
|
inline |
◆ slot()
| unsigned int MioctGeometry::slot |
( |
| ) |
const |
|
inline |
◆ topoCells()
◆ writeXML()
| void MioctGeometry::writeXML |
( |
std::ostream & | xmlfile, |
|
|
int | indentLevel = 0, |
|
|
int | indentWidth = 2 ) const |
|
virtual |
Definition at line 30 of file MioctGeometry.cxx.
30 {
34 << "\">" << endl;
35 std::string xtmp = "<!-- contains sectors ";
36 for(std::vector<MioctSectorGeometry>::const_iterator isec =
m_Sectors.begin(); isec <
m_Sectors.end(); ++isec)
37 {
38 xtmp.append(isec->name());
40 xtmp.append(", ");
41 }
42
44 for(std::vector<MioctSectorGeometry>::const_iterator isec =
m_Sectors.begin(); isec <
m_Sectors.end(); ++isec)
45 isec->writeXML(
xmlfile, indentLevel+1, indentWidth);
46
48 for(std::vector<MioctTopoCellGeometry>::const_iterator itopo =
m_TopoCells.begin(); itopo <
m_TopoCells.end(); ++itopo)
49 itopo->writeXML(
xmlfile, indentLevel+2, indentWidth);
51
53
54}
std::ostream & mioctIndent(std::ostream &o, int lvl, int size)
static std::vector< std::string > xmlfile
◆ m_mioctid
| unsigned int MioctGeometry::m_mioctid {} |
|
private |
◆ m_Sectors
◆ m_slot
| unsigned int MioctGeometry::m_slot {} |
|
private |
◆ m_TopoCells
The documentation for this class was generated from the following files: