ATLAS Offline Software
Loading...
Searching...
No Matches
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
16public:
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
37private:
39 std::string m_station{};
40 int m_eta{0};
41 int m_phi{0};
42 int m_job{0};
43};
44
45bool operator<(const Identifier& a, const MuonAlignmentPar& b);
46bool operator<(const MuonAlignmentPar& a, const Identifier& b);
47
48#endif // MUONALIGNMENTDATA_MUONALIGNMENTPAR_H
static Double_t a
bool operator<(const Identifier &a, const MuonAlignmentPar &b)
Operator for.
Basic class to map the MuonAlignment parameters to the different subdetectors inside the muon system.
int AmdbJob() const
Seems to correspond to the multilayer but sometimes also stEta.
std::string m_station
int AmdbEta() const
station Eta
const Identifier & identify() const
virtual ~MuonAlignmentPar()=default
void setIdentifier(const Identifier &id)
Setters and getters for the Athena Identifier.
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)
const std::string & AmdbStation() const
station Name
int AmdbPhi() const
station phi
MuonAlignmentPar()=default
bool operator<(const MuonAlignmentPar &other) const
Odering operater using the Identifier.