ATLAS Offline Software
IConditionsStorage.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 
7 // MuonCalibIdentifier
9 
10 namespace MuonCalib {
11 
13  MuonFixedId id(id_num);
14  ml = id.mdtMultilayer();
15  ly = id.mdtTubeLayer();
16  tb = id.mdtTube();
17  }
18 
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  }
27 
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  }
36 
37 } // namespace MuonCalib
MuonCalib::IConditionsStorage::TubeId::ml
int ml
Definition: IConditionsStorage.h:25
IConditionsStorage.h
MuonCalib::IConditionsStorage::TubeId::TubeId
TubeId()
Definition: IConditionsStorage.h:27
MuonCalib::IConditionsStorage::TubeId
Definition: IConditionsStorage.h:23
Execution.tb
tb
Definition: Execution.py:15
MuonCalib
CscCalcPed - algorithm that finds the Cathode Strip Chamber pedestals from an RDO.
Definition: CscCalcPed.cxx:22
id
SG::auxid_t id
Definition: Control/AthContainers/Root/debug.cxx:220
MuonCalib::MuonFixedId
Definition: MuonFixedId.h:50
InDetDD::other
@ other
Definition: InDetDD_Defs.h:16
MuonCalib::IConditionsStorage::TubeId::operator>
bool operator>(const TubeId &other) const
Definition: IConditionsStorage.cxx:28
MuonCalib::IConditionsStorage::TubeId::ly
int ly
Definition: IConditionsStorage.h:25
MuonCalib::IConditionsStorage::TubeId::tb
int tb
Definition: IConditionsStorage.h:25
MuonFixedId.h
MuonCalib::IConditionsStorage::TubeId::operator<
bool operator<(const TubeId &other) const
Definition: IConditionsStorage.cxx:19