ATLAS Offline Software
PtBarrelLUT.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_PTBARRELLUT_H
6 #define TRIGL2MUONSA_PTBARRELLUT_H
7 
9 
10 #include "GaudiKernel/Service.h"
11 
12 #include <string>
13 
14 namespace TrigL2MuonSA {
15 
16 class PtBarrelLUT: public AthAlgTool
17 {
18  public:
19  struct LUT {
20  int NbinEta[4];
21  int NbinPhi[4];
22  float EtaMin[4];
23  float EtaMax[4];
24  float EtaStep[4];
25  float PhiMin[4];
26  float PhiMax[4];
27  float PhiStep[4];
28  float table[4][2][60][60][2];
29  };
30 
31  struct LUTsp {
32  // [innerR][charge][eta][phi][parms]
33  float table_LargeSP[2][2][30][30][2];
34  };
35 
36  public:
37 
38  PtBarrelLUT(const std::string& type,
39  const std::string& name,
40  const IInterface* parent);
41 
42  const LUT& lut(void) const { return m_lut; };
43  const LUTsp& lutSP(void) const { return m_lutSP; };
44 
45  StatusCode readLUT(const std::string& lut_fileName,
46  const std::string& lutSP_fileName);
47 
48  private:
51 
52 };
53 
54 }
55 
56 #endif // PHYSICS_MU_PTBARRELLUT_H
TrigL2MuonSA::PtBarrelLUT::LUT::EtaStep
float EtaStep[4]
Definition: PtBarrelLUT.h:24
TrigL2MuonSA::PtBarrelLUT::lutSP
const LUTsp & lutSP(void) const
Definition: PtBarrelLUT.h:43
TrigL2MuonSA::PtBarrelLUT::LUT
Definition: PtBarrelLUT.h:19
TrigL2MuonSA::PtBarrelLUT::LUTsp
Definition: PtBarrelLUT.h:31
TrigL2MuonSA::PtBarrelLUT::lut
const LUT & lut(void) const
Definition: PtBarrelLUT.h:42
TrigL2MuonSA::PtBarrelLUT::LUT::EtaMax
float EtaMax[4]
Definition: PtBarrelLUT.h:23
TrigL2MuonSA::PtBarrelLUT
Definition: PtBarrelLUT.h:17
TrigL2MuonSA::PtBarrelLUT::LUT::NbinEta
int NbinEta[4]
Definition: PtBarrelLUT.h:20
TrigL2MuonSA::PtBarrelLUT::m_lut
LUT m_lut
Definition: PtBarrelLUT.h:49
TrigL2MuonSA::PtBarrelLUT::LUT::table
float table[4][2][60][60][2]
Definition: PtBarrelLUT.h:28
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
TrigL2MuonSA::PtBarrelLUT::LUT::EtaMin
float EtaMin[4]
Definition: PtBarrelLUT.h:22
AthAlgTool.h
test_pyathena.parent
parent
Definition: test_pyathena.py:15
TrigL2MuonSA::PtBarrelLUT::readLUT
StatusCode readLUT(const std::string &lut_fileName, const std::string &lutSP_fileName)
Definition: PtBarrelLUT.cxx:24
TrigL2MuonSA::PtBarrelLUT::m_lutSP
LUTsp m_lutSP
Definition: PtBarrelLUT.h:50
TrigL2MuonSA::PtBarrelLUT::LUT::PhiMax
float PhiMax[4]
Definition: PtBarrelLUT.h:26
TrigL2MuonSA::PtBarrelLUT::LUT::PhiMin
float PhiMin[4]
Definition: PtBarrelLUT.h:25
TrigL2MuonSA::PtBarrelLUT::LUT::PhiStep
float PhiStep[4]
Definition: PtBarrelLUT.h:27
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
TrigL2MuonSA::PtBarrelLUT::LUTsp::table_LargeSP
float table_LargeSP[2][2][30][30][2]
Definition: PtBarrelLUT.h:33
TrigL2MuonSA::PtBarrelLUT::LUT::NbinPhi
int NbinPhi[4]
Definition: PtBarrelLUT.h:21
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
TrigL2MuonSA::PtBarrelLUT::PtBarrelLUT
PtBarrelLUT(const std::string &type, const std::string &name, const IInterface *parent)
Definition: PtBarrelLUT.cxx:14
AthAlgTool
Definition: AthAlgTool.h:26
TrigL2MuonSA
Definition: AlignmentBarrelLUT.h:13