ATLAS Offline Software
RpcCablingData.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
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("tdcSector: {:2d} ", obj.tdcSector);
25  ostr << std::format("tdc: {:2d} ", obj.tdc);
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 }
vtune_athena.format
format
Definition: vtune_athena.py:14
RpcCablingData.h
Muon::RpcCablingOfflineID
Struct to represent the offline identifier of the Rpc measurement decomposed into the particular fiel...
Definition: RpcCablingData.h:39
Muon
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
Definition: TrackSystemController.h:45
Muon::RpcCablingData
Helper struct that is parsed to the cabling map to translate between the offline & online Identifiers...
Definition: RpcCablingData.h:94
Muon::RpcCablingOnlineID
In an analogous way to the RpcCablingOfflineID, the RpcCablingOnlineID, holds all information needed ...
Definition: RpcCablingData.h:77
Muon::operator<<
std::ostream & operator<<(std::ostream &ostr, const Muon::HedgehogBoard &board)
Definition: HedgehogBoard.cxx:11
RpcFlatCableTranslator.h
python.PyAthena.obj
obj
Definition: PyAthena.py:132