ATLAS Offline Software
MioctGeometry.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TrigConf_MioctGeometry
6 #define TrigConf_MioctGeometry
7 
8 #include <string>
9 #include <vector>
10 
11 
14 
16  public:
17  MioctGeometry();
18  virtual ~MioctGeometry() = default;
19 
20  // getters
21  unsigned int mioctId() const {return m_mioctid; };
22  unsigned int slot() const {return m_slot; };
23  const std::vector<MioctSectorGeometry>& sectors() {return m_Sectors; };
24  const std::vector<MioctTopoCellGeometry>& topoCells() {return m_TopoCells; };
25 
26  // setters
27  void setMioctId (unsigned int id ) {m_mioctid = id; };
28  void setSlot( int m ) { m_slot = m; };
29  void addSector( const MioctSectorGeometry& sector) {m_Sectors.push_back(sector);};
30  void addTopoCell( const MioctTopoCellGeometry& topocell) {m_TopoCells.push_back(topocell); };
31 
32  virtual void print(const std::string& indent="", unsigned int detail=1) const;
33  virtual void writeXML(std::ostream & xmlfile, int indentLevel=0, int indentWidth=2) const;
34 
35  private:
36  unsigned int m_mioctid;
37  unsigned int m_slot;
38  std::vector<MioctSectorGeometry> m_Sectors;
39  std::vector<MioctTopoCellGeometry> m_TopoCells;
40 
41 };
42 
43 #endif
44 
MioctGeometry::m_mioctid
unsigned int m_mioctid
Definition: MioctGeometry.h:36
python.SystemOfUnits.m
int m
Definition: SystemOfUnits.py:91
MioctGeometry::sectors
const std::vector< MioctSectorGeometry > & sectors()
Definition: MioctGeometry.h:23
MioctGeometry::slot
unsigned int slot() const
Definition: MioctGeometry.h:22
detail
Definition: extract_histogram_tag.cxx:14
MioctGeometry::topoCells
const std::vector< MioctTopoCellGeometry > & topoCells()
Definition: MioctGeometry.h:24
MioctGeometry::addTopoCell
void addTopoCell(const MioctTopoCellGeometry &topocell)
Definition: MioctGeometry.h:30
geometry_dat_to_json.indent
indent
Definition: geometry_dat_to_json.py:18
MioctGeometry::writeXML
virtual void writeXML(std::ostream &xmlfile, int indentLevel=0, int indentWidth=2) const
Definition: MioctGeometry.cxx:32
MioctGeometry::addSector
void addSector(const MioctSectorGeometry &sector)
Definition: MioctGeometry.h:29
MioctGeometry::setMioctId
void setMioctId(unsigned int id)
Definition: MioctGeometry.h:27
MioctGeometry::MioctGeometry
MioctGeometry()
Definition: MioctGeometry.cxx:13
id
SG::auxid_t id
Definition: Control/AthContainers/Root/debug.cxx:194
MioctGeometry::setSlot
void setSlot(int m)
Definition: MioctGeometry.h:28
MioctGeometry::m_Sectors
std::vector< MioctSectorGeometry > m_Sectors
Definition: MioctGeometry.h:38
MioctGeometry::mioctId
unsigned int mioctId() const
Definition: MioctGeometry.h:21
MioctSectorGeometry
Definition: MioctSectorGeometry.h:19
MioctGeometry::~MioctGeometry
virtual ~MioctGeometry()=default
MioctTopoCellGeometry
Definition: MioctTopoCellGeometry.h:15
MioctGeometry
Definition: MioctGeometry.h:15
MioctGeometry::m_TopoCells
std::vector< MioctTopoCellGeometry > m_TopoCells
Definition: MioctGeometry.h:39
MioctGeometry::print
virtual void print(const std::string &indent="", unsigned int detail=1) const
Definition: MioctGeometry.cxx:20
MioctGeometry::m_slot
unsigned int m_slot
Definition: MioctGeometry.h:37