ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigConfiguration
TrigConfMuctpi
TrigConfMuctpi
MioctGeometry.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef TrigConf_MioctGeometry
6
#define TrigConf_MioctGeometry
7
//need type traits for vector members
8
#include "
TrigConfMuctpi/MioctSectorGeometry.h
"
9
#include "
TrigConfMuctpi/MioctTopoCellGeometry.h
"
10
#include <string>
11
#include <vector>
12
13
14
class
MioctGeometry
{
15
public
:
16
MioctGeometry
();
17
virtual
~MioctGeometry
() =
default
;
18
19
// getters
20
unsigned
int
mioctId
()
const
{
return
m_mioctid
; };
21
unsigned
int
slot
()
const
{
return
m_slot
; };
22
const
std::vector<MioctSectorGeometry>&
sectors
() {
return
m_Sectors
; };
23
const
std::vector<MioctTopoCellGeometry>&
topoCells
() {
return
m_TopoCells
; };
24
25
// setters
26
void
setMioctId
(
unsigned
int
id
) {
m_mioctid
= id; };
27
void
setSlot
(
int
m ) {
m_slot
= m; };
28
void
addSector
(
const
MioctSectorGeometry
& sector) {
m_Sectors
.push_back(sector);};
29
void
addTopoCell
(
const
MioctTopoCellGeometry
& topocell) {
m_TopoCells
.push_back(topocell); };
30
31
virtual
void
print
(
const
std::string& indent=
""
,
unsigned
int
detail
=1)
const
;
32
virtual
void
writeXML
(std::ostream &
xmlfile
,
int
indentLevel=0,
int
indentWidth=2)
const
;
33
34
private
:
35
unsigned
int
m_mioctid
{};
36
unsigned
int
m_slot
{};
37
std::vector<MioctSectorGeometry>
m_Sectors
;
38
std::vector<MioctTopoCellGeometry>
m_TopoCells
;
39
40
};
41
42
#endif
43
MioctSectorGeometry.h
MioctTopoCellGeometry.h
MioctGeometry::m_mioctid
unsigned int m_mioctid
Definition
MioctGeometry.h:35
MioctGeometry::m_Sectors
std::vector< MioctSectorGeometry > m_Sectors
Definition
MioctGeometry.h:37
MioctGeometry::addSector
void addSector(const MioctSectorGeometry §or)
Definition
MioctGeometry.h:28
MioctGeometry::addTopoCell
void addTopoCell(const MioctTopoCellGeometry &topocell)
Definition
MioctGeometry.h:29
MioctGeometry::slot
unsigned int slot() const
Definition
MioctGeometry.h:21
MioctGeometry::setSlot
void setSlot(int m)
Definition
MioctGeometry.h:27
MioctGeometry::sectors
const std::vector< MioctSectorGeometry > & sectors()
Definition
MioctGeometry.h:22
MioctGeometry::m_TopoCells
std::vector< MioctTopoCellGeometry > m_TopoCells
Definition
MioctGeometry.h:38
MioctGeometry::~MioctGeometry
virtual ~MioctGeometry()=default
MioctGeometry::mioctId
unsigned int mioctId() const
Definition
MioctGeometry.h:20
MioctGeometry::print
virtual void print(const std::string &indent="", unsigned int detail=1) const
Definition
MioctGeometry.cxx:18
MioctGeometry::writeXML
virtual void writeXML(std::ostream &xmlfile, int indentLevel=0, int indentWidth=2) const
Definition
MioctGeometry.cxx:30
MioctGeometry::m_slot
unsigned int m_slot
Definition
MioctGeometry.h:36
MioctGeometry::setMioctId
void setMioctId(unsigned int id)
Definition
MioctGeometry.h:26
MioctGeometry::MioctGeometry
MioctGeometry()
Definition
MioctGeometry.cxx:11
MioctGeometry::topoCells
const std::vector< MioctTopoCellGeometry > & topoCells()
Definition
MioctGeometry.h:23
MioctSectorGeometry
Definition
MioctSectorGeometry.h:20
MioctTopoCellGeometry
Definition
MioctTopoCellGeometry.h:15
xmlfile
static std::vector< std::string > xmlfile
Definition
iLumiCalc.h:29
detail
Definition
extract_histogram_tag.cxx:14
Generated on
for ATLAS Offline Software by
1.17.0