Loading [MathJax]/extensions/tex2jax.js
 |
ATLAS Offline Software
|
Go to the documentation of this file.
4 #ifndef MUONCABLINGDATA_RPCCABLINGDATA_H
5 #define MUONCABLINGDATA_RPCCABLINGDATA_H
15 #define CABLING_OPERATORS(CL_NAME) \
18 bool operator<(const CL_NAME& other) const { return m_cache.hash < other.m_cache.hash; } \
19 bool operator==(const CL_NAME& other) const {return m_cache.hash == other.m_cache.hash; } \
20 bool operator!=(const CL_NAME& other) const { return m_cache.hash != other.m_cache.hash; } \
21 bool operator!() const {return !m_cache.hash;} \
23 CL_NAME() = default; \
24 CL_NAME(const CL_NAME& other): CL_NAME{} { \
25 m_cache.hash = other.m_cache.hash; \
27 CL_NAME& operator=(const CL_NAME& other) { \
28 if (&other != this) m_cache.hash = other.m_cache.hash; \
111 return !((*this) ==
other);
114 std::ostream&
operator<<(std::ostream& ostr,
const RpcCablingOfflineID&
obj);
115 std::ostream&
operator<<(std::ostream& ostr,
const RpcCablingOnlineID&
obj);
116 std::ostream&
operator<<(std::ostream& ostr,
const RpcCablingData&
obj);
120 #undef CABLING_OPERATORS
int8_t & doubletZ
doublet Phi -> 1,2
int16_t & subDetector
Identifier of the subdetector region in the readout BA / BC etc.
uint8_t channelId
Online board channel number.
union Muon::RpcCablingOfflineID::@168 m_cache
bool measuresPhi() const
: Does the channel measure phi
bool operator!=(RpcCablingData &other) const
Inequality operator.
void setMeasPhiAndSide(bool measPhi, bool stripSide)
Sets the measuresPhi & stripSide fields of the cabling data object.
bool stripSide() const
: Is the strip readout on the opposite side
Struct to represent the offline identifier of the Rpc measurement decomposed into the particular fiel...
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
static constexpr int8_t measPhiBit
gas gap -> 1-3
setScaleOne setStatusOne setSaturated int16_t
union Muon::RpcCablingOnlineID::@169 m_cache
int8_t & eta
Station of the chamber (i.e, BIL,BIS,etc.)
int16_t & boardSector
Unique Identifier of the Rpc chamber from an online perspective
int16_t & board
Unique identifier of the tdc chip.
#define CABLING_OPERATORS(CL_NAME)
: Helper structs to convert the Identifier of a Rpc measurement from its offline representation into ...
int8_t & gasGap
doublet Z -> 1,2
bool operator==(const RpcCablingData &other) const
Equality in terms of all offline & online fields are matching.
int8_t & doubletR
Station phi of the RPC station.
uint8_t strip
Offline strip number.
Helper struct that is parsed to the cabling map to translate between the offline & online Identifiers...
static constexpr int8_t stripSideBit
In an analogous way to the RpcCablingOfflineID, the RpcCablingOnlineID, holds all information needed ...
int8_t & doubletPhi
doublet R -> 1,2
std::ostream & operator<<(std::ostream &ostr, const Muon::HedgehogBoard &board)
RpcCablingData()=default
Default constructor.
int8_t & phi
Eta index of the RPC station.
bool operator<(const RpcCablingData &) const =delete
No sorting operator.