ATLAS Offline Software
Loading...
Searching...
No Matches
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
IConditionsStorage.h
MuonFixedId.h
MuonCalib::IConditionsStorage::TubeId
Definition
IConditionsStorage.h:23
MuonCalib::IConditionsStorage::TubeId::TubeId
TubeId()
Definition
IConditionsStorage.h:27
MuonCalib::IConditionsStorage::TubeId::ly
int ly
Definition
IConditionsStorage.h:25
MuonCalib::IConditionsStorage::TubeId::operator>
bool operator>(const TubeId &other) const
Definition
IConditionsStorage.cxx:28
MuonCalib::IConditionsStorage::TubeId::tb
int tb
Definition
IConditionsStorage.h:25
MuonCalib::IConditionsStorage::TubeId::ml
int ml
Definition
IConditionsStorage.h:25
MuonCalib::IConditionsStorage::TubeId::operator<
bool operator<(const TubeId &other) const
Definition
IConditionsStorage.cxx:19
MuonCalib::MuonFixedId
Implements fixed identifiers not dependent upon Athena Identifier for internal use in the calibration...
Definition
MuonFixedId.h:50
MuonCalib
CscCalcPed - algorithm that finds the Cathode Strip Chamber pedestals from an RDO.
Definition
CscCalcPed.cxx:22
Generated on
for ATLAS Offline Software by
1.14.0