#include <MioctGeometry.h>
Definition at line 14 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 18 of file MioctGeometry.cxx.
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)
◆ 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.
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;
◆ 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: