ATLAS Offline Software
Loading...
Searching...
No Matches
Trigger
TrigConfiguration
TrigConfMuctpi
src
MuCTPiGeometry.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
TrigConfMuctpi/MuCTPiGeometry.h
"
6
7
#include "
TrigConfMuctpi/MioctTopoCellGeometry.h
"
8
#include "
TrigConfMuctpi/MioctROIGeometry.h
"
9
#include "
TrigConfMuctpi/MioctSectorGeometry.h
"
10
#include <iostream>
11
12
using namespace
std
;
13
14
MuCTPiGeometry::MuCTPiGeometry
() :
15
m_Octants
()
16
{}
17
18
void
19
MuCTPiGeometry::print
(
const
std::string& indent,
unsigned
int
/*detail*/
)
const
{
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
}
25
26
void
27
MuCTPiGeometry::writeXML
(std::ostream &
xmlfile
,
int
indentLevel,
int
indentWidth)
const
{
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
}
mioctIndent
std::ostream & mioctIndent(std::ostream &o, int lvl, int size)
Definition
MioctROIGeometry.cxx:12
MioctROIGeometry.h
MioctSectorGeometry.h
MioctTopoCellGeometry.h
MuCTPiGeometry.h
MuCTPiGeometry::writeXML
virtual void writeXML(std::ostream &xmlfile, int indentLevel=0, int indentWidth=4) const
Definition
MuCTPiGeometry.cxx:27
MuCTPiGeometry::m_Octants
std::vector< MioctGeometry > m_Octants
Definition
MuCTPiGeometry.h:36
MuCTPiGeometry::MuCTPiGeometry
MuCTPiGeometry()
Definition
MuCTPiGeometry.cxx:14
MuCTPiGeometry::m_ptEncoding
L1MuonPtEncoding m_ptEncoding
Definition
MuCTPiGeometry.h:37
MuCTPiGeometry::print
virtual void print(const std::string &indent="", unsigned int detail=1) const
Definition
MuCTPiGeometry.cxx:19
xmlfile
static std::vector< std::string > xmlfile
Definition
iLumiCalc.h:29
std
STL namespace.
Generated on
for ATLAS Offline Software by
1.14.0