ATLAS Offline Software
Public Member Functions | Public Attributes | List of all members
TrigL2MuonSA::PtEndcapLUT::KeyType Struct Reference
Collaboration diagram for TrigL2MuonSA::PtEndcapLUT::KeyType:

Public Member Functions

 KeyType (int side, int charge, DataType type)
 
bool operator< (const KeyType &other) const
 
std::string toString () const
 

Public Attributes

int m_side
 0 = -, 1 = + More...
 
int m_charge
 0 = -, 1 = + More...
 
DataType m_type
 

Detailed Description

Definition at line 50 of file PtEndcapLUT.h.

Constructor & Destructor Documentation

◆ KeyType()

TrigL2MuonSA::PtEndcapLUT::KeyType::KeyType ( int  side,
int  charge,
DataType  type 
)
inline

Definition at line 55 of file PtEndcapLUT.h.

55  :

Member Function Documentation

◆ operator<()

bool TrigL2MuonSA::PtEndcapLUT::KeyType::operator< ( const KeyType other) const

Definition at line 35 of file PtEndcapLUT.cxx.

36 {
37  if (m_side < other.m_side) return (true);
38  if (m_side > other.m_side) return (false);
39  if (m_charge < other.m_charge) return (true);
40  if (m_charge > other.m_charge) return (false);
41  if (m_type < other.m_type) return (true);
42  if (m_type > other.m_type) return (false);
43  return (false);
44 }

◆ toString()

std::string TrigL2MuonSA::PtEndcapLUT::KeyType::toString ( ) const

Definition at line 49 of file PtEndcapLUT.cxx.

50 {
51  std::ostringstream ss;
52  ss << "side=" << m_side << " charge=" << m_charge << " type=" << dt2s(m_type);
53  return ss.str();
54 }

Member Data Documentation

◆ m_charge

int TrigL2MuonSA::PtEndcapLUT::KeyType::m_charge

0 = -, 1 = +

Definition at line 53 of file PtEndcapLUT.h.

◆ m_side

int TrigL2MuonSA::PtEndcapLUT::KeyType::m_side

0 = -, 1 = +

Definition at line 52 of file PtEndcapLUT.h.

◆ m_type

DataType TrigL2MuonSA::PtEndcapLUT::KeyType::m_type

Definition at line 54 of file PtEndcapLUT.h.


The documentation for this struct was generated from the following files:
TrigL2MuonSA::PtEndcapLUT::KeyType::m_side
int m_side
0 = -, 1 = +
Definition: PtEndcapLUT.h:52
PowhegControl_ttHplus_NLO.ss
ss
Definition: PowhegControl_ttHplus_NLO.py:83
TRT::Hit::side
@ side
Definition: HitInfo.h:83
TrigL2MuonSA::PtEndcapLUT::KeyType::m_charge
int m_charge
0 = -, 1 = +
Definition: PtEndcapLUT.h:53
charge
double charge(const T &p)
Definition: AtlasPID.h:494
InDetDD::other
@ other
Definition: InDetDD_Defs.h:16
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
TrigL2MuonSA::PtEndcapLUT::KeyType::m_type
DataType m_type
Definition: PtEndcapLUT.h:54
TrigL2MuonSA::PtEndcapLUT::dt2s
static const char * dt2s(DataType type)
Definition: PtEndcapLUT.cxx:280