ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
MuonSpectrometer
MuonCablings
MuonCablingData
src
RpcCablingData.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
MuonCablingData/RpcCablingData.h
"
6
#include "
MuonCablingData/RpcFlatCableTranslator.h
"
7
#include <format>
8
9
namespace
Muon
{
10
std::ostream&
operator<<
(std::ostream& ostr,
const
RpcCablingOfflineID
& obj) {
11
ostr <<std::format(
"name: {:2d} "
, obj.stationIndex)
12
<<std::format(
" eta: {:2d} "
, obj.eta)
13
<<std::format(
" phi: {:2d} "
, obj.phi)
14
<<std::format(
"doubletR: {:1d} "
, obj.doubletR)
15
<<std::format(
"doubletPhi: {:1d} "
, obj.doubletPhi)
16
<<std::format(
"doubletZ: {:1d} "
, obj.doubletZ)
17
<<std::format(
"gasGap: {:1d} "
, obj.gasGap)
18
<<std::format(
"isPhi: {:1d} "
, obj.measuresPhi())
19
<<std::format(
"side: {:1d} "
, obj.stripSide());
20
return
ostr;
21
}
22
std::ostream&
operator<<
(std::ostream& ostr,
const
RpcCablingOnlineID
& obj) {
23
ostr << std::format(
"subDetector: {:3d} "
,obj.subDetector);
24
ostr << std::format(
"boardSector: {:2d} "
, obj.boardSector);
25
ostr << std::format(
"board: {:2d} "
, obj.board);
26
return
ostr;
27
}
28
std::ostream&
operator<<
(std::ostream& ostr,
const
RpcCablingData
& obj) {
29
ostr << static_cast<const RpcCablingOfflineID&>(obj);
30
ostr << std::format(
"strip: {:2d} "
, obj.strip) <<
" --- "
;
31
ostr << static_cast<const RpcCablingOnlineID&>(obj);
32
ostr << std::format(
"channelId: {:2d}"
, obj.channelId);
33
return
ostr;
34
}
35
}
RpcCablingData.h
RpcFlatCableTranslator.h
Muon
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
Definition
TrackSystemController.h:46
Muon::operator<<
std::ostream & operator<<(std::ostream &ostr, const Muon::HedgehogBoard &board)
Definition
HedgehogBoard.cxx:11
Muon::RpcCablingData
Helper struct that is parsed to the cabling map to translate between the offline & online Identifiers...
Definition
RpcCablingData.h:96
Muon::RpcCablingOfflineID
Struct to represent the offline identifier of the Rpc measurement decomposed into the particular fiel...
Definition
RpcCablingData.h:39
Muon::RpcCablingOnlineID
In an analogous way to the RpcCablingOfflineID, the RpcCablingOnlineID, holds all information needed ...
Definition
RpcCablingData.h:78
Generated on
for ATLAS Offline Software by
1.17.0