#include <MioctGeometry.h>
Definition at line 15 of file MioctGeometry.h.
◆ MioctGeometry()
MioctGeometry::MioctGeometry |
( |
| ) |
|
◆ ~MioctGeometry()
virtual MioctGeometry::~MioctGeometry |
( |
| ) |
|
|
virtualdefault |
◆ addSector()
◆ addTopoCell()
◆ mioctId()
unsigned int MioctGeometry::mioctId |
( |
| ) |
const |
|
inline |
◆ print()
void MioctGeometry::print |
( |
const std::string & |
indent = "" , |
|
|
unsigned int |
detail = 1 |
|
) |
| const |
|
virtual |
Definition at line 20 of file MioctGeometry.cxx.
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)
◆ 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 32 of file MioctGeometry.cxx.
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;
◆ 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: