ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigConfiguration
TrigConfMuctpi
src
MioctTopoCellGeometry.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
TrigConfMuctpi/MioctROIGeometry.h
"
// defines mioctIndent
6
#include "
TrigConfMuctpi/MioctTopoCellGeometry.h
"
7
#include <iostream>
8
#include <iomanip>
9
using namespace
std
;
10
11
void
12
MioctTopoCellGeometry::print
(
const
std::string& indent,
unsigned
int
/*detail*/
)
const
{
13
cout << indent <<
"MioctTopoCellGeometry: "
<< endl;
14
//cout << indent << "\tlvl1 master table id: " << lvl1MasterTableId() << endl;
15
//printNameIdV(indent);
16
cout << indent <<
"\tetacode "
<<
m_etacode
<< endl;
17
cout << indent <<
"\tphicode "
<<
m_phicode
<< endl;
18
cout << indent <<
"\teta "
<<
m_eta
<< endl;
19
cout << indent <<
"\tphi "
<<
m_phi
<< endl;
20
cout << indent <<
"\tetamin "
<<
m_etamin
<< endl;
21
cout << indent <<
"\tetamax "
<<
m_etamax
<< endl;
22
cout << indent <<
"\tphimin "
<<
m_phimin
<< endl;
23
cout << indent <<
"\tphimax "
<<
m_phimax
<< endl;
24
}
25
26
void
27
MioctTopoCellGeometry::writeXML
(std::ostream &
xmlfile
,
int
indentLevel,
int
indentWidth)
const
{
28
mioctIndent
(
xmlfile
, indentLevel, indentWidth) <<
"<TopoCell "
29
<<
"etacode=\"0x"
<< std::hex <<
m_etacode
30
<<
"\" phicode=\"0x"
<<
m_phicode
<<std::dec
31
<< fixed << setprecision(6)
32
<<
"\" eta=\""
<<
m_eta
33
<<
"\" phi=\""
<<
m_phi
34
<<
"\" etamin=\""
<<
m_etamin
35
<<
"\" etamax=\""
<<
m_etamax
36
<<
"\" phimin=\""
<<
m_phimin
37
<<
"\" phimax=\""
<<
m_phimax
38
<<
"\"/>"
<< endl;
39
}
mioctIndent
std::ostream & mioctIndent(std::ostream &o, int lvl, int size)
Definition
MioctROIGeometry.cxx:12
MioctROIGeometry.h
MioctTopoCellGeometry.h
MioctTopoCellGeometry::m_eta
float m_eta
Definition
MioctTopoCellGeometry.h:48
MioctTopoCellGeometry::writeXML
virtual void writeXML(std::ostream &xmlfile, int indentLevel=0, int indentWidth=2) const
Definition
MioctTopoCellGeometry.cxx:27
MioctTopoCellGeometry::m_phi
float m_phi
Definition
MioctTopoCellGeometry.h:49
MioctTopoCellGeometry::m_etacode
unsigned int m_etacode
Definition
MioctTopoCellGeometry.h:52
MioctTopoCellGeometry::print
virtual void print(const std::string &indent="", unsigned int detail=1) const
Definition
MioctTopoCellGeometry.cxx:12
MioctTopoCellGeometry::m_etamin
float m_etamin
Definition
MioctTopoCellGeometry.h:54
MioctTopoCellGeometry::m_phimin
float m_phimin
Definition
MioctTopoCellGeometry.h:56
MioctTopoCellGeometry::m_phicode
unsigned int m_phicode
Definition
MioctTopoCellGeometry.h:53
MioctTopoCellGeometry::m_etamax
float m_etamax
Definition
MioctTopoCellGeometry.h:55
MioctTopoCellGeometry::m_phimax
float m_phimax
Definition
MioctTopoCellGeometry.h:57
xmlfile
static std::vector< std::string > xmlfile
Definition
iLumiCalc.h:29
std
STL namespace.
Generated on
for ATLAS Offline Software by
1.17.0