ATLAS Offline Software
MuonAlignmentPar.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3 */
5 
6 
7 bool operator<(const Identifier& a, const MuonAlignmentPar& b) { return a < b.identify(); }
8 bool operator<(const MuonAlignmentPar& a, const Identifier& b) { return a.identify() < b; }
9 
11 const Identifier& MuonAlignmentPar::identify() const {return m_id; }
12 bool MuonAlignmentPar::operator<(const MuonAlignmentPar& other) const { return m_id < other.m_id; }
13 void MuonAlignmentPar::setAmdbId(const std::string& stName, int stEta, int stPhi, int stJob) {
14  m_station = stName;
15  m_eta = stEta;
16  m_phi = stPhi;
17  m_job = stJob;
18 }
19 int MuonAlignmentPar::AmdbJob() const { return m_job; }
20 int MuonAlignmentPar::AmdbEta() const{ return m_eta; }
21 int MuonAlignmentPar::AmdbPhi() const{ return m_phi;}
22 std::string MuonAlignmentPar::AmdbStation() const {return m_station;}
MuonAlignmentPar::AmdbEta
int AmdbEta() const
station Eta
Definition: MuonAlignmentPar.cxx:20
MuonAlignmentPar::m_eta
int m_eta
Definition: MuonAlignmentPar.h:40
MuonAlignmentPar::setIdentifier
void setIdentifier(const Identifier &id)
Setters and getters for the Athena Identifier.
Definition: MuonAlignmentPar.cxx:10
MuonAlignmentPar::m_job
int m_job
Definition: MuonAlignmentPar.h:42
MuonAlignmentPar::m_phi
int m_phi
Definition: MuonAlignmentPar.h:41
MuonAlignmentPar::setAmdbId
void setAmdbId(const std::string &stName, int stEta, int stPhi, int stJob)
AMDB identifiers. They're often not the same as the ATLAS ones (TGCs)
Definition: MuonAlignmentPar.cxx:13
Identifier
Definition: DetectorDescription/Identifier/Identifier/Identifier.h:32
MuonAlignmentPar::operator<
bool operator<(const MuonAlignmentPar &other) const
Odering operater using the Identifier.
Definition: MuonAlignmentPar.cxx:12
MuonAlignmentPar.h
MuonAlignmentPar::AmdbPhi
int AmdbPhi() const
station phi
Definition: MuonAlignmentPar.cxx:21
MuonAlignmentPar
Basic class to map the MuonAlignment parameters to the different subdetectors inside the muon system.
Definition: MuonAlignmentPar.h:15
MuonAlignmentPar::m_station
std::string m_station
Definition: MuonAlignmentPar.h:39
id
SG::auxid_t id
Definition: Control/AthContainers/Root/debug.cxx:194
plotBeamSpotMon.b
b
Definition: plotBeamSpotMon.py:77
MuonAlignmentPar::identify
const Identifier & identify() const
Definition: MuonAlignmentPar.cxx:11
a
TList * a
Definition: liststreamerinfos.cxx:10
InDetDD::other
@ other
Definition: InDetDD_Defs.h:16
MuonAlignmentPar::AmdbStation
std::string AmdbStation() const
station Name
Definition: MuonAlignmentPar.cxx:22
MuonAlignmentPar::m_id
Identifier m_id
Definition: MuonAlignmentPar.h:38
operator<
bool operator<(const Identifier &a, const MuonAlignmentPar &b)
Operator for.
Definition: MuonAlignmentPar.cxx:7
MuonAlignmentPar::AmdbJob
int AmdbJob() const
Seems to correspond to the multilayer but sometimes also stEta.
Definition: MuonAlignmentPar.cxx:19