ATLAS Offline Software
MuonSpectrometer
MuonCalib
MuonCalibDbOperations
src
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
5
#include "
MuonCalibDbOperations/IConditionsStorage.h
"
6
7
// MuonCalibIdentifier
8
#include "
MuonCalibIdentifier/MuonFixedId.h
"
9
10
namespace
MuonCalib
{
11
12
IConditionsStorage::TubeId::TubeId
(
int
id_num) {
13
MuonFixedId
id
(id_num);
14
ml
=
id
.mdtMultilayer();
15
ly
=
id
.mdtTubeLayer();
16
tb
=
id
.mdtTube();
17
}
18
19
bool
IConditionsStorage::TubeId::operator<
(
const
IConditionsStorage::TubeId
&
other
)
const
{
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
28
bool
IConditionsStorage::TubeId::operator>
(
const
IConditionsStorage::TubeId
&
other
)
const
{
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
Generated on Thu Nov 7 2024 21:16:32 for ATLAS Offline Software by
1.8.18