ATLAS Offline Software
AlignmentBarrelLUT.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TRIGL2MUONSA_ALIGNMENTBARRELLUT_H
6 #define TRIGL2MUONSA_ALIGNMENTBARRELLUT_H
7 
9 
10 
11 #include <string>
12 
13 namespace TrigL2MuonSA {
14 
16 {
17 
18  public:
19 
20  AlignmentBarrelLUT(const std::string& type,
21  const std::string& name,
22  const IInterface* parent);
23 
24  StatusCode readLUT(const std::string& lut_fileName);
25 
26  double GetDeltaZ(int& saddress, double& etaMap, double& phiMap, double& MFphi, float& sp1R ) const;
27 
28  std::pair<int, int> GetBinNumber(int saddress, int innerR, double etaMap, double phiMap) const;
29 
30  private:
31 
32  static constexpr int s_saddress = 4;
33  static constexpr int s_innerR = 2;
34  static constexpr int s_eta = 15;
35  static constexpr int s_phi = 30;
36  static constexpr int s_etaQ = 2;
37 
39 
48 
49  };
50 
51 }
52 
53 #endif
TrigL2MuonSA::AlignmentBarrelLUT::m_PhiMin
float m_PhiMin[s_saddress][s_innerR]
Definition: AlignmentBarrelLUT.h:45
TrigL2MuonSA::AlignmentBarrelLUT::m_EtaMax
float m_EtaMax[s_saddress][s_innerR]
Definition: AlignmentBarrelLUT.h:42
TrigL2MuonSA::AlignmentBarrelLUT::AlignmentBarrelLUT
AlignmentBarrelLUT(const std::string &type, const std::string &name, const IInterface *parent)
Definition: AlignmentBarrelLUT.cxx:13
TrigL2MuonSA::AlignmentBarrelLUT::s_saddress
static constexpr int s_saddress
Definition: AlignmentBarrelLUT.h:32
TrigL2MuonSA::AlignmentBarrelLUT::readLUT
StatusCode readLUT(const std::string &lut_fileName)
Definition: AlignmentBarrelLUT.cxx:23
TrigL2MuonSA::AlignmentBarrelLUT::s_etaQ
static constexpr int s_etaQ
Definition: AlignmentBarrelLUT.h:36
TrigL2MuonSA::AlignmentBarrelLUT::s_eta
static constexpr int s_eta
Definition: AlignmentBarrelLUT.h:34
TrigL2MuonSA::AlignmentBarrelLUT::m_NbinPhi
int m_NbinPhi[s_saddress][s_innerR]
Definition: AlignmentBarrelLUT.h:44
TrigL2MuonSA::AlignmentBarrelLUT::m_EtaMin
float m_EtaMin[s_saddress][s_innerR]
Definition: AlignmentBarrelLUT.h:41
TrigL2MuonSA::AlignmentBarrelLUT::m_EtaStep
float m_EtaStep[s_saddress][s_innerR]
Definition: AlignmentBarrelLUT.h:43
TrigL2MuonSA::AlignmentBarrelLUT::m_dZ
double m_dZ[s_saddress][s_innerR][s_eta][s_phi][s_etaQ]
Definition: AlignmentBarrelLUT.h:38
TrigL2MuonSA::AlignmentBarrelLUT::GetBinNumber
std::pair< int, int > GetBinNumber(int saddress, int innerR, double etaMap, double phiMap) const
Definition: AlignmentBarrelLUT.cxx:142
TrigL2MuonSA::AlignmentBarrelLUT::s_innerR
static constexpr int s_innerR
Definition: AlignmentBarrelLUT.h:33
TrigL2MuonSA::AlignmentBarrelLUT::m_NbinEta
int m_NbinEta[s_saddress][s_innerR]
Definition: AlignmentBarrelLUT.h:40
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
xAOD::etaMap
setSAddress setEtaMS setDirPhiMS setDirZMS setBarrelRadius setEndcapAlpha setEndcapRadius setInterceptInner etaMap
Definition: L2StandAloneMuon_v1.cxx:144
TrigL2MuonSA::AlignmentBarrelLUT::m_PhiStep
float m_PhiStep[s_saddress][s_innerR]
Definition: AlignmentBarrelLUT.h:47
AthAlgTool.h
test_pyathena.parent
parent
Definition: test_pyathena.py:15
xAOD::phiMap
setSAddress setEtaMS setDirPhiMS setDirZMS setBarrelRadius setEndcapAlpha setEndcapRadius phiMap
Definition: L2StandAloneMuon_v2.cxx:140
TrigL2MuonSA::AlignmentBarrelLUT
Definition: AlignmentBarrelLUT.h:16
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
TrigL2MuonSA::AlignmentBarrelLUT::s_phi
static constexpr int s_phi
Definition: AlignmentBarrelLUT.h:35
TrigL2MuonSA::AlignmentBarrelLUT::GetDeltaZ
double GetDeltaZ(int &saddress, double &etaMap, double &phiMap, double &MFphi, float &sp1R) const
Definition: AlignmentBarrelLUT.cxx:89
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
TrigL2MuonSA::AlignmentBarrelLUT::m_PhiMax
float m_PhiMax[s_saddress][s_innerR]
Definition: AlignmentBarrelLUT.h:46
AthAlgTool
Definition: AthAlgTool.h:26
TrigL2MuonSA
Definition: AlignmentBarrelLUT.h:13