ATLAS Offline Software
Classes | Namespaces | Macros | Functions
RpcCablingData.h File Reference
#include <cstdint>
#include <iostream>
#include <set>
Include dependency graph for RpcCablingData.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Muon::RpcCablingOfflineID
 Struct to represent the offline identifier of the Rpc measurement decomposed into the particular fields of the layer Identifier: More...
 
struct  Muon::RpcCablingOnlineID
 In an analogous way to the RpcCablingOfflineID, the RpcCablingOnlineID, holds all information needed to navigate to a particular RPC gasGap from the readout-side. More...
 
struct  Muon::RpcCablingData
 Helper struct that is parsed to the cabling map to translate between the offline & online Identifiers. More...
 

Namespaces

 Muon
 NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
 

Macros

#define CABLING_OPERATORS(CL_NAME)
 : Helper structs to convert the Identifier of a Rpc measurement from its offline representation into its online equivalent. More...
 

Functions

std::ostream & Muon::operator<< (std::ostream &ostr, const RpcCablingOfflineID &obj)
 
std::ostream & Muon::operator<< (std::ostream &ostr, const RpcCablingOnlineID &obj)
 
std::ostream & Muon::operator<< (std::ostream &ostr, const RpcCablingData &obj)
 

Macro Definition Documentation

◆ CABLING_OPERATORS

#define CABLING_OPERATORS (   CL_NAME)
Value:
bool operator<(const CL_NAME& other) const { return m_cache.hash < other.m_cache.hash; } \
bool operator==(const CL_NAME& other) const {return m_cache.hash == other.m_cache.hash; } \
bool operator!=(const CL_NAME& other) const { return m_cache.hash != other.m_cache.hash; } \
bool operator!() const {return !m_cache.hash;} \
\
CL_NAME() = default; \
CL_NAME(const CL_NAME& other): CL_NAME{} { \
m_cache.hash = other.m_cache.hash; \
} \
CL_NAME& operator=(const CL_NAME& other) { \
if (&other != this) m_cache.hash = other.m_cache.hash; \
return *this; \
}

: Helper structs to convert the Identifier of a Rpc measurement from its offline representation into its online equivalent.

Unlike, for the other detectors, the offline fields do correpond to a one by one translation of the online fields. As readout cards may be shared between two different readout elements. Helper macro to define the constructors and comparison operators of the Online & Offline Identifiers of the cabling

Definition at line 18 of file RpcCablingData.h.

operator<
bool operator<(const DataVector< T > &a, const DataVector< T > &b)
Vector ordering relation.
operator==
bool operator==(const DataVector< T > &a, const DataVector< T > &b)
Vector equality comparison.
operator!=
bool operator!=(const DataVector< T > &a, const DataVector< T > &b)
Based on operator==.
operator!
const APEvtWeight operator!(const APEvtWeight &a_in)
Definition: APEvtWeight.cxx:212
InDetDD::other
@ other
Definition: InDetDD_Defs.h:16
CaloCondBlobAlgs_fillNoiseFromASCII.hash
dictionary hash
Definition: CaloCondBlobAlgs_fillNoiseFromASCII.py:109