ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
MuonSpectrometer
MuonCablings
MuonCablingData
src
MdtCablingData.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 "
MuonCablingData/MdtCablingData.h
"
6
#include <ostream>
7
#include <iomanip>
8
std::ostream&
operator<<
(std::ostream& ostr,
const
MdtCablingOffData
& obj) {
9
auto
fill
= ostr.fill();
10
ostr <<
"stationIndex: "
<< std::setw(2)<<std::setfill(
'0'
)
11
<<
static_cast<
int
>
(obj.stationIndex) <<
", "
;
12
ostr <<
"eta: "
<< std::setw(2) <<
static_cast<
int
>
(obj.eta) <<
", "
;
13
ostr <<
"phi: "
<<
static_cast<
int
>
(obj.phi) <<
", "
;
14
ostr <<
"multilayer: "
<<
static_cast<
int
>
(obj.multilayer)<<std::setfill(
fill
);
15
return
ostr;
16
}
17
std::ostream&
operator<<
(std::ostream& ostr,
const
MdtCablingOnData
& obj) {
18
ostr <<
" subdetId: "
<<
static_cast<
int
>
(obj.subdetectorId) <<
", "
;
19
ostr <<
" mrod: "
<<
static_cast<
int
>
(obj.mrod) <<
", "
;
20
ostr <<
" csm: "
<<
static_cast<
int
>
(obj.csm);
21
return
ostr;
22
}
23
std::ostream&
operator<<
(std::ostream& ostr,
const
MdtCablingData
& obj) {
24
ostr << static_cast<const MdtCablingOffData&>(obj) <<
", "
;
25
ostr <<
"layer: "
<<
static_cast<
int
>
(obj.layer) <<
", "
;
26
ostr <<
"tube: "
<<
static_cast<
int
>
(obj.tube) <<
" ---- "
;
27
ostr << static_cast<const MdtCablingOnData&>(obj) <<
", "
;
28
ostr <<
"tdc: "
<<
static_cast<
int
>
(obj.tdcId) <<
", "
;
29
ostr <<
"tdcChannel: "
<<
static_cast<
int
>
(obj.channelId);
30
return
ostr;
31
}
operator<<
std::ostream & operator<<(std::ostream &ostr, const MdtCablingOffData &obj)
Definition
MdtCablingData.cxx:8
MdtCablingData.h
MdtCablingData
Definition
MdtCablingData.h:84
MdtCablingOffData
Split the offline part of the cabling apart to use it later for sorting.
Definition
MdtCablingData.h:16
MdtCablingOnData
Definition
MdtCablingData.h:51
fill
void fill(H5::Group &out_file, size_t iterations)
Definition
test-half-precision.cxx:64
Generated on
for ATLAS Offline Software by
1.17.0