ATLAS Offline Software
Classes | Functions
MdtTdcMap.h File Reference
#include <stdint.h>
#include <array>
#include "GaudiKernel/MsgStream.h"
#include "MuonCablingData/MdtCablingData.h"
#include "MuonCablingData/MdtMezzanineCard.h"
Include dependency graph for MdtTdcMap.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  MdtTdcMap
 
struct  MdtTdcOffSorter
 Helper struct to search through the std::set if a conversion from offline -> online is needed. More...
 
struct  MdtTdcOnlSorter
 Helper struct to search through the std::set if a conversion from online -> offline is needed. More...
 

Functions

bool operator< (const MdtTdcOffSorter &a, const MdtCablingData &b)
 Operators used for navigation later. More...
 
bool operator< (const MdtCablingData &a, const MdtTdcOffSorter &b)
 
bool operator< (const MdtTdcOffSorter &a, const MdtTdcOffSorter &b)
 Order the tdc identifiers according to their minimum tube. More...
 
bool operator< (const MdtTdcOnlSorter &a, const MdtTdcOnlSorter &b)
 
bool operator< (const MdtTdcOnlSorter &a, const MdtCablingData &b)
 
bool operator< (const MdtCablingData &a, const MdtTdcOnlSorter &b)
 

Function Documentation

◆ operator<() [1/6]

bool operator< ( const MdtCablingData a,
const MdtTdcOffSorter b 
)
inline

Definition at line 118 of file MdtTdcMap.h.

118  {
119  return a.tube < b->minTube();
120 }

◆ operator<() [2/6]

bool operator< ( const MdtCablingData a,
const MdtTdcOnlSorter b 
)
inline

Definition at line 132 of file MdtTdcMap.h.

132  {
133  return a.tdcId < b->moduleId();
134 }

◆ operator<() [3/6]

bool operator< ( const MdtTdcOffSorter a,
const MdtCablingData b 
)
inline

Operators used for navigation later.

The minimum and maximum tube of a tdc define its range of covered channels The MdtHit belongs exactly to the corresponding readout channel if its tube number is within that range

Definition at line 115 of file MdtTdcMap.h.

115  {
116  return a->maxTube() < b.tube;
117 }

◆ operator<() [4/6]

bool operator< ( const MdtTdcOffSorter a,
const MdtTdcOffSorter b 
)
inline

Order the tdc identifiers according to their minimum tube.

Definition at line 122 of file MdtTdcMap.h.

122  {
123  return a->minTube() < b->minTube();
124 }

◆ operator<() [5/6]

bool operator< ( const MdtTdcOnlSorter a,
const MdtCablingData b 
)
inline

Definition at line 129 of file MdtTdcMap.h.

129  {
130  return a->moduleId() < b.tdcId;
131 }

◆ operator<() [6/6]

bool operator< ( const MdtTdcOnlSorter a,
const MdtTdcOnlSorter b 
)
inline

Definition at line 126 of file MdtTdcMap.h.

126  {
127  return a->moduleId() < b->moduleId();
128 }
plotBeamSpotMon.b
b
Definition: plotBeamSpotMon.py:77
a
TList * a
Definition: liststreamerinfos.cxx:10