ATLAS Offline Software
MuonAlignmentPar.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef MUONALIGNMENTDATA_MUONALIGNMENTPAR_H
6 #define MUONALIGNMENTDATA_MUONALIGNMENTPAR_H
7 
8 #include <string>
9 #include <Identifier/Identifier.h>
10 
16 public:
17  MuonAlignmentPar() = default;
18  virtual ~MuonAlignmentPar() = default;
19 
21  void setIdentifier(const Identifier& id);
22  const Identifier& identify() const;
24  bool operator<(const MuonAlignmentPar& other) const;
25 
27  void setAmdbId(const std::string& stName, int stEta, int stPhi, int stJob);
29  int AmdbJob() const;
31  int AmdbEta() const;
33  int AmdbPhi() const;
35  const std::string& AmdbStation() const;
36 
37 private:
39  std::string m_station{};
40  int m_eta{0};
41  int m_phi{0};
42  int m_job{0};
43 };
45 bool operator<(const Identifier& a, const MuonAlignmentPar& b);
46 bool operator<(const MuonAlignmentPar& a, const Identifier& b);
47 
48 #endif // MUONALIGNMENTDATA_MUONALIGNMENTPAR_H
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::AmdbStation
const std::string & AmdbStation() const
station Name
Definition: MuonAlignmentPar.cxx:22
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
MuonAlignmentPar::operator<
bool operator<(const MuonAlignmentPar &other) const
Odering operater using the Identifier.
Definition: MuonAlignmentPar.cxx:12
MuonAlignmentPar::AmdbPhi
int AmdbPhi() const
station phi
Definition: MuonAlignmentPar.cxx:21
operator<
bool operator<(const Identifier &a, const MuonAlignmentPar &b)
Operator for.
Definition: MuonAlignmentPar.cxx:7
MuonAlignmentPar::MuonAlignmentPar
MuonAlignmentPar()=default
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
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::m_id
Identifier m_id
Definition: MuonAlignmentPar.h:38
MuonAlignmentPar::~MuonAlignmentPar
virtual ~MuonAlignmentPar()=default
MuonAlignmentPar::AmdbJob
int AmdbJob() const
Seems to correspond to the multilayer but sometimes also stEta.
Definition: MuonAlignmentPar.cxx:19
Identifier
Definition: IdentifierFieldParser.cxx:14