ATLAS Offline Software
Public Member Functions | Private Attributes | List of all members
MuCTPiGeometry Class Reference

#include <MuCTPiGeometry.h>

Collaboration diagram for MuCTPiGeometry:

Public Member Functions

 MuCTPiGeometry ()
 
virtual ~MuCTPiGeometry ()=default
 
const std::vector< MioctGeometry > & octants ()
 
const L1MuonPtEncodingptEncoding () const
 
void addOctant (const MioctGeometry &octant)
 
void setPtEncoding (const L1MuonPtEncoding &ptEncoding)
 
virtual void print (const std::string &indent="", unsigned int detail=1) const
 
virtual void writeXML (std::ostream &xmlfile, int indentLevel=0, int indentWidth=4) const
 

Private Attributes

std::vector< MioctGeometrym_Octants
 
L1MuonPtEncoding m_ptEncoding
 

Detailed Description

Definition at line 18 of file MuCTPiGeometry.h.

Constructor & Destructor Documentation

◆ MuCTPiGeometry()

MuCTPiGeometry::MuCTPiGeometry ( )

Definition at line 14 of file MuCTPiGeometry.cxx.

14  :
15  m_Octants()
16 {}

◆ ~MuCTPiGeometry()

virtual MuCTPiGeometry::~MuCTPiGeometry ( )
virtualdefault

Member Function Documentation

◆ addOctant()

void MuCTPiGeometry::addOctant ( const MioctGeometry octant)
inline

Definition at line 28 of file MuCTPiGeometry.h.

28 {m_Octants.push_back(octant);};

◆ octants()

const std::vector<MioctGeometry>& MuCTPiGeometry::octants ( )
inline

Definition at line 24 of file MuCTPiGeometry.h.

24 {return m_Octants; };

◆ print()

void MuCTPiGeometry::print ( const std::string &  indent = "",
unsigned int  detail = 1 
) const
virtual

Definition at line 19 of file MuCTPiGeometry.cxx.

19  {
20  cout << indent << "MuCTPiGeometry: " << endl;
21  for(std::vector<MioctGeometry>::const_iterator isec = m_Octants.begin(); isec < m_Octants.end(); ++isec)
22  isec->print(indent+indent);
23 
24 }

◆ ptEncoding()

const L1MuonPtEncoding& MuCTPiGeometry::ptEncoding ( ) const
inline

Definition at line 25 of file MuCTPiGeometry.h.

25 { return m_ptEncoding; }

◆ setPtEncoding()

void MuCTPiGeometry::setPtEncoding ( const L1MuonPtEncoding ptEncoding)
inline

Definition at line 29 of file MuCTPiGeometry.h.

◆ writeXML()

void MuCTPiGeometry::writeXML ( std::ostream &  xmlfile,
int  indentLevel = 0,
int  indentWidth = 4 
) const
virtual

Definition at line 27 of file MuCTPiGeometry.cxx.

27  {
28  mioctIndent(xmlfile, indentLevel, indentWidth) << "<MuCTPiGeometry>" << endl;
29  for(std::vector<MioctGeometry>::const_iterator isec = m_Octants.begin(); isec < m_Octants.end(); ++isec)
30  isec->writeXML(xmlfile, indentLevel+1, indentWidth);
31  m_ptEncoding.writeXML(xmlfile, indentLevel+1, indentWidth);
32  mioctIndent(xmlfile, indentLevel, indentWidth) << "</MuCTPiGeometry>" << endl;
33 }

Member Data Documentation

◆ m_Octants

std::vector<MioctGeometry> MuCTPiGeometry::m_Octants
private

Definition at line 36 of file MuCTPiGeometry.h.

◆ m_ptEncoding

L1MuonPtEncoding MuCTPiGeometry::m_ptEncoding
private

Definition at line 37 of file MuCTPiGeometry.h.


The documentation for this class was generated from the following files:
MuCTPiGeometry::ptEncoding
const L1MuonPtEncoding & ptEncoding() const
Definition: MuCTPiGeometry.h:25
MuCTPiGeometry::m_ptEncoding
L1MuonPtEncoding m_ptEncoding
Definition: MuCTPiGeometry.h:37
MuCTPiGeometry::m_Octants
std::vector< MioctGeometry > m_Octants
Definition: MuCTPiGeometry.h:36
L1MuonPtEncoding::writeXML
void writeXML(std::ostream &xmlfile, int indentLevel=0, int indentWidth=2) const
Definition: L1MuonPtEncoding.cxx:37
geometry_dat_to_json.indent
indent
Definition: geometry_dat_to_json.py:36
mioctIndent
std::ostream & mioctIndent(std::ostream &o, int lvl, int size)
Definition: MioctROIGeometry.cxx:12