ATLAS Offline Software
Loading...
Searching...
No Matches
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
7#include <format>
8
9namespace 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}
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
std::ostream & operator<<(std::ostream &ostr, const Muon::HedgehogBoard &board)
Helper struct that is parsed to the cabling map to translate between the offline & online Identifiers...
Struct to represent the offline identifier of the Rpc measurement decomposed into the particular fiel...
In an analogous way to the RpcCablingOfflineID, the RpcCablingOnlineID, holds all information needed ...