ATLAS Offline Software
Public Member Functions | Public Attributes | List of all members
MuonCalib::IConditionsStorage::TubeId Class Reference

#include <IConditionsStorage.h>

Collaboration diagram for MuonCalib::IConditionsStorage::TubeId:

Public Member Functions

 TubeId (int id_num)
 
 TubeId ()
 
bool operator< (const TubeId &other) const
 
bool operator> (const TubeId &other) const
 

Public Attributes

int ml
 
int ly
 
int tb
 

Detailed Description

Definition at line 23 of file IConditionsStorage.h.

Constructor & Destructor Documentation

◆ TubeId() [1/2]

MuonCalib::IConditionsStorage::TubeId::TubeId ( int  id_num)

Definition at line 12 of file IConditionsStorage.cxx.

12  {
13  MuonFixedId id(id_num);
14  ml = id.mdtMultilayer();
15  ly = id.mdtTubeLayer();
16  tb = id.mdtTube();
17  }

◆ TubeId() [2/2]

MuonCalib::IConditionsStorage::TubeId::TubeId ( )
inline

Definition at line 27 of file IConditionsStorage.h.

27 : ml(0), ly(0), tb(0) {}

Member Function Documentation

◆ operator<()

bool MuonCalib::IConditionsStorage::TubeId::operator< ( const TubeId other) const

Definition at line 19 of file IConditionsStorage.cxx.

19  {
20  if (ml < other.ml) return true;
21  if (ml > other.ml) return false;
22  if (ly < other.ly) return true;
23  if (ly > other.ly) return false;
24  if (tb < other.tb) return true;
25  return false;
26  }

◆ operator>()

bool MuonCalib::IConditionsStorage::TubeId::operator> ( const TubeId other) const

Definition at line 28 of file IConditionsStorage.cxx.

28  {
29  if (ml > other.ml) return true;
30  if (ml < other.ml) return false;
31  if (ly > other.ly) return true;
32  if (ly < other.ly) return false;
33  if (tb > other.tb) return true;
34  return false;
35  }

Member Data Documentation

◆ ly

int MuonCalib::IConditionsStorage::TubeId::ly

Definition at line 25 of file IConditionsStorage.h.

◆ ml

int MuonCalib::IConditionsStorage::TubeId::ml

Definition at line 25 of file IConditionsStorage.h.

◆ tb

int MuonCalib::IConditionsStorage::TubeId::tb

Definition at line 25 of file IConditionsStorage.h.


The documentation for this class was generated from the following files:
MuonCalib::IConditionsStorage::TubeId::ml
int ml
Definition: IConditionsStorage.h:25
id
SG::auxid_t id
Definition: Control/AthContainers/Root/debug.cxx:220
InDetDD::other
@ other
Definition: InDetDD_Defs.h:16
MuonCalib::IConditionsStorage::TubeId::ly
int ly
Definition: IConditionsStorage.h:25
MuonCalib::IConditionsStorage::TubeId::tb
int tb
Definition: IConditionsStorage.h:25