ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigT1
Muon
L0MuonS1TGCFloatingTools
src
TgcL0GoodMagMap.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3
*/
4
#ifndef L0MUONS1TGCFLOATINGTOOLS_TGCL0GOODMAGMAP_H
5
#define L0MUONS1TGCFLOATINGTOOLS_TGCL0GOODMAGMAP_H
6
7
#include <cstddef>
8
#include <memory>
9
#include <string>
10
#include <vector>
11
12
namespace
L0Muon
{
13
15
class
TgcL0GoodMagMap
{
16
public
:
17
static
std::unique_ptr<TgcL0GoodMagMap>
loadAscii
(
18
const
std::string& calibrationPath, std::string&
error
);
19
21
bool
isGood
(
int
etaBin
,
int
phiFoldBin
)
const
;
22
30
bool
isGood
(
float
eta
,
float
phi
,
float
absEtaMin,
31
float
absEtaMax)
const
;
32
33
const
std::string&
version
()
const
{
return
m_version
; }
34
unsigned
int
etaBins
()
const
{
return
m_etaBins
; }
35
unsigned
int
phiBinsPerFold
()
const
{
return
m_phiBinsPerFold
; }
36
std::size_t
poorBinCount
()
const
{
return
m_poorBinCount
; }
37
38
private
:
39
TgcL0GoodMagMap
() =
default
;
40
41
int
etaBin
(
float
eta
,
float
absEtaMin,
float
absEtaMax)
const
;
42
int
phiFoldBin
(
float
phi
)
const
;
43
44
std::string
m_version
{};
45
unsigned
int
m_etaBins
{0U};
46
unsigned
int
m_phiBinsPerFold
{0U};
47
std::vector<bool>
m_poorBins
{};
48
std::size_t
m_poorBinCount
{0U};
49
};
50
51
}
// namespace L0Muon
52
53
#endif
eta
Scalar eta() const
pseudorapidity method
Definition
AmgMatrixBasePlugin.h:83
phi
Scalar phi() const
phi method
Definition
AmgMatrixBasePlugin.h:67
L0Muon::TgcL0GoodMagMap::m_version
std::string m_version
Definition
TgcL0GoodMagMap.h:44
L0Muon::TgcL0GoodMagMap::phiFoldBin
int phiFoldBin(float phi) const
Definition
TgcL0GoodMagMap.cxx:195
L0Muon::TgcL0GoodMagMap::loadAscii
static std::unique_ptr< TgcL0GoodMagMap > loadAscii(const std::string &calibrationPath, std::string &error)
Definition
TgcL0GoodMagMap.cxx:42
L0Muon::TgcL0GoodMagMap::TgcL0GoodMagMap
TgcL0GoodMagMap()=default
L0Muon::TgcL0GoodMagMap::poorBinCount
std::size_t poorBinCount() const
Definition
TgcL0GoodMagMap.h:36
L0Muon::TgcL0GoodMagMap::etaBins
unsigned int etaBins() const
Definition
TgcL0GoodMagMap.h:34
L0Muon::TgcL0GoodMagMap::m_etaBins
unsigned int m_etaBins
Definition
TgcL0GoodMagMap.h:45
L0Muon::TgcL0GoodMagMap::phiBinsPerFold
unsigned int phiBinsPerFold() const
Definition
TgcL0GoodMagMap.h:35
L0Muon::TgcL0GoodMagMap::version
const std::string & version() const
Definition
TgcL0GoodMagMap.h:33
L0Muon::TgcL0GoodMagMap::m_poorBinCount
std::size_t m_poorBinCount
Definition
TgcL0GoodMagMap.h:48
L0Muon::TgcL0GoodMagMap::isGood
bool isGood(int etaBin, int phiFoldBin) const
Return false for a masked or out-of-range calibration bin.
Definition
TgcL0GoodMagMap.cxx:167
L0Muon::TgcL0GoodMagMap::m_phiBinsPerFold
unsigned int m_phiBinsPerFold
Definition
TgcL0GoodMagMap.h:46
L0Muon::TgcL0GoodMagMap::m_poorBins
std::vector< bool > m_poorBins
Definition
TgcL0GoodMagMap.h:47
L0Muon::TgcL0GoodMagMap::etaBin
int etaBin(float eta, float absEtaMin, float absEtaMax) const
Definition
TgcL0GoodMagMap.cxx:180
L0Muon
Definition
NSWTPBits.h:7
error
Definition
IImpactPoint3dEstimator.h:72
Generated on
for ATLAS Offline Software by
1.17.0