ATLAS Offline Software
Loading...
Searching...
No Matches
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
14namespace TrigL2MuonSA {
15
16class 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
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
PtBarrelLUT(const std::string &type, const std::string &name, const IInterface *parent)
const LUT & lut(void) const
Definition PtBarrelLUT.h:42
const LUTsp & lutSP(void) const
Definition PtBarrelLUT.h:43
StatusCode readLUT(const std::string &lut_fileName, const std::string &lutSP_fileName)
float table[4][2][60][60][2]
Definition PtBarrelLUT.h:28
float table_LargeSP[2][2][30][30][2]
Definition PtBarrelLUT.h:33