#include "MuonCablingData/MdtCablingData.h"
#include <ostream>
#include <iomanip>
Go to the source code of this file.
◆ operator<<() [1/3]
| std::ostream & operator<< |
( |
std::ostream & | ostr, |
|
|
const MdtCablingData & | obj ) |
Definition at line 23 of file MdtCablingData.cxx.
23 {
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 <<
"mezzType: " <<
static_cast<int>(
obj.mezzanine_type) <<
", ";
30 ostr <<
"tdcChannel: " <<
static_cast<int>(
obj.channelId);
31 return ostr;
32}
◆ operator<<() [2/3]
Definition at line 8 of file MdtCablingData.cxx.
8 {
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}
void fill(H5::Group &out_file, size_t iterations)
◆ operator<<() [3/3]
Definition at line 17 of file MdtCablingData.cxx.
17 {
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}