#include <cstdint>
#include <iostream>
#include <set>
Go to the source code of this file.
|
bool | operator< (const NrpcCablOnDataByStrip &a, const NrpcCablingData &b) |
| Let's define the operator needed to read the cabling sets. More...
|
|
bool | operator< (const NrpcCablingData &a, const NrpcCablOnDataByStrip &b) |
|
bool | operator< (const NrpcCablOnDataByStrip &a, const NrpcCablingCoolData &b) |
|
bool | operator< (const NrpcCablingCoolData &a, const NrpcCablOnDataByStrip &b) |
|
bool | operator< (const NrpcCablOnDataByTdc &a, const NrpcCablingData &b) |
|
bool | operator< (const NrpcCablingData &a, const NrpcCablOnDataByTdc &b) |
|
std::ostream & | operator<< (std::ostream &ostr, const NrpcCablingOfflineID &obj) |
| Outstream operators. More...
|
|
std::ostream & | operator<< (std::ostream &ostr, const NrpcCablingOnlineID &obj) |
|
std::ostream & | operator<< (std::ostream &ostr, const NrpcTdcStripRange &obj) |
|
std::ostream & | operator<< (std::ostream &ostr, const NrpcTdcChannelRange &obj) |
|
std::ostream & | operator<< (std::ostream &ostr, const NrpcCablingData &obj) |
|
std::ostream & | operator<< (std::ostream &ostr, const NrpcCablingCoolData &obj) |
|
std::ostream & | operator<< (std::ostream &ostr, const NrpcCablOnDataByTdc &obj) |
|
std::ostream & | operator<< (std::ostream &ostr, const NrpcCablOnDataByStrip &obj) |
|
◆ CABLING_OPERATORS
#define CABLING_OPERATORS |
( |
|
CL_NAME | ) |
|
Value:
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) { \
return *this; \
}
Helper macro to define the constructors and comparison operators of the Online & Offline Identifiers of the cabling.
Definition at line 19 of file NrpcCablingData.h.
◆ NrpcCablOnDataByStripSet
◆ operator<() [1/6]
◆ operator<() [2/6]
◆ operator<() [3/6]
◆ operator<() [4/6]
◆ operator<() [5/6]
Let's define the operator needed to read the cabling sets.
Definition at line 179 of file NrpcCablingData.h.
180 return a.lastStrip <
b.strip;
◆ operator<() [6/6]
◆ operator<<() [1/8]
Definition at line 43 of file NrpcCablingData.cxx.
44 ostr << static_cast<const NrpcCablingOfflineID&>(
obj);
45 ostr << static_cast<const NrpcTdcStripRange&>(
obj)<<
" --- ";
46 ostr << static_cast<const NrpcCablingOnlineID&>(
obj);
47 ostr << static_cast<const NrpcTdcChannelRange&>(
obj);
◆ operator<<() [2/8]
Definition at line 25 of file NrpcCablingData.cxx.
26 ostr << static_cast<const NrpcCablingOfflineID&>(
obj);
27 ostr <<
" strip: " <<
static_cast<int>(
obj.strip) <<
" --- ";
28 ostr << static_cast<const NrpcCablingOnlineID&>(
obj);
29 ostr <<
" channelId: " <<
static_cast<int>(
obj.channelId);
◆ operator<<() [3/8]
Outstream operators.
Definition at line 7 of file NrpcCablingData.cxx.
8 ostr <<
"StationIndex: " <<
static_cast<int>(
obj.stationIndex)
9 <<
" eta: " <<
static_cast<int>(
obj.eta)
10 <<
" phi: " <<
static_cast<int>(
obj.phi)
11 <<
" doubletR: " <<
static_cast<int>(
obj.doubletR)
12 <<
" doubletPhi: " <<
static_cast<int>(
obj.doubletPhi)
13 <<
" doubletZ: " <<
static_cast<int>(
obj.doubletZ)
14 <<
" gasGap: " <<
static_cast<int>(
obj.gasGap)
15 <<
" measPhi: " <<
static_cast<int>(
obj.measuresPhi())
16 <<
" stripSide: "<<
static_cast<int>(
obj.stripSide());
◆ operator<<() [4/8]
Definition at line 19 of file NrpcCablingData.cxx.
20 ostr <<
" subDetector: " <<
static_cast<int>(
obj.subDetector);
21 ostr <<
" tdcSector: " <<
static_cast<int>(
obj.tdcSector);
22 ostr <<
" tdc: " <<
static_cast<int>(
obj.tdc);
◆ operator<<() [5/8]
Definition at line 57 of file NrpcCablingData.cxx.
58 ostr << static_cast<const NrpcCablingOnlineID&>(
obj);
59 ostr << static_cast<const NrpcTdcStripRange&>(
obj);
60 ostr << static_cast<const NrpcTdcChannelRange&>(
obj);
◆ operator<<() [6/8]
Definition at line 51 of file NrpcCablingData.cxx.
52 ostr << static_cast<const NrpcCablingOnlineID&>(
obj);
53 ostr << static_cast<const NrpcTdcStripRange&>(
obj);
54 ostr << static_cast<const NrpcTdcChannelRange&>(
obj);
◆ operator<<() [7/8]
Definition at line 38 of file NrpcCablingData.cxx.
39 ostr<<
" first channel: "<<
static_cast<int>(
obj.firstChannel)
40 <<
" last channel: "<<
static_cast<int>(
obj.lastChannel);
◆ operator<<() [8/8]
Definition at line 33 of file NrpcCablingData.cxx.
34 ostr<<
" firstStrip: "<<
static_cast<int>(
obj.firstStrip)
35 <<
" lastStrip: "<<
static_cast<int>(
obj.lastStrip);