ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigConfiguration
TrigConfMuctpi
TrigConfMuctpi
MioctSectorGeometry.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_MioctSectorGeometry
6
#define TrigConf_MioctSectorGeometry
7
8
9
10
/*
11
<MIOCT id="0" slot="4">
12
<Sector connector="0" name="B30">
13
<ROI eta="-0.934032" phi="-0.348145" etacode="0x2" phicode="0x0" etamin="-0.905571" etamax="-0.962493" phimin="-0.389923" phimax="-0.306366" roiid="21"/>
14
*/
15
//need type traits for vector member
16
#include "
TrigConfMuctpi/MioctROIGeometry.h
"
17
#include <string>
18
#include <vector>
19
20
class
MioctSectorGeometry
{
21
public
:
22
MioctSectorGeometry
();
23
virtual
~MioctSectorGeometry
() =
default
;
24
25
// getters
26
unsigned
int
connector
()
const
{
return
m_connector
; };
27
const
std::string&
name
()
const
{
return
m_name
; };
28
const
std::vector<MioctROIGeometry>&
ROIs
()
const
{
return
m_ROIs
; };
29
30
31
// setters
32
void
addROI
(
const
MioctROIGeometry
& roi) {
m_ROIs
.push_back(roi);};
33
void
setName
(
const
std::string&
name
) {
m_name
=
name
; };
34
void
setConnector
(
unsigned
int
id
) {
m_connector
= id; };
35
36
virtual
void
print
(
const
std::string& indent=
""
,
unsigned
int
detail
=1)
const
;
37
virtual
void
writeXML
(std::ostream &
xmlfile
,
int
indentLevel=0,
int
indentWidth=2)
const
;
38
39
private
:
40
unsigned
int
m_connector
{};
41
std::string
m_name
;
42
std::vector<MioctROIGeometry>
m_ROIs
;
43
44
};
45
46
47
#endif
48
MioctROIGeometry.h
MioctROIGeometry
Definition
MioctROIGeometry.h:22
MioctSectorGeometry::print
virtual void print(const std::string &indent="", unsigned int detail=1) const
Definition
MioctSectorGeometry.cxx:18
MioctSectorGeometry::setConnector
void setConnector(unsigned int id)
Definition
MioctSectorGeometry.h:34
MioctSectorGeometry::ROIs
const std::vector< MioctROIGeometry > & ROIs() const
Definition
MioctSectorGeometry.h:28
MioctSectorGeometry::writeXML
virtual void writeXML(std::ostream &xmlfile, int indentLevel=0, int indentWidth=2) const
Definition
MioctSectorGeometry.cxx:28
MioctSectorGeometry::~MioctSectorGeometry
virtual ~MioctSectorGeometry()=default
MioctSectorGeometry::m_ROIs
std::vector< MioctROIGeometry > m_ROIs
Definition
MioctSectorGeometry.h:42
MioctSectorGeometry::setName
void setName(const std::string &name)
Definition
MioctSectorGeometry.h:33
MioctSectorGeometry::m_name
std::string m_name
Definition
MioctSectorGeometry.h:41
MioctSectorGeometry::connector
unsigned int connector() const
Definition
MioctSectorGeometry.h:26
MioctSectorGeometry::m_connector
unsigned int m_connector
Definition
MioctSectorGeometry.h:40
MioctSectorGeometry::addROI
void addROI(const MioctROIGeometry &roi)
Definition
MioctSectorGeometry.h:32
MioctSectorGeometry::MioctSectorGeometry
MioctSectorGeometry()
Definition
MioctSectorGeometry.cxx:11
MioctSectorGeometry::name
const std::string & name() const
Definition
MioctSectorGeometry.h:27
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