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
23
const
std::string&
version
()
const
{
return
m_version
; }
24
unsigned
int
etaBins
()
const
{
return
m_etaBins
; }
25
unsigned
int
phiBinsPerFold
()
const
{
return
m_phiBinsPerFold
; }
26
std::size_t
poorBinCount
()
const
{
return
m_poorBinCount
; }
27
28
private
:
29
TgcL0GoodMagMap
() =
default
;
30
31
std::string
m_version
{};
32
unsigned
int
m_etaBins
{0U};
33
unsigned
int
m_phiBinsPerFold
{0U};
34
std::vector<bool>
m_poorBins
{};
35
std::size_t
m_poorBinCount
{0U};
36
};
37
38
}
// namespace L0Muon
39
40
#endif
L0Muon::TgcL0GoodMagMap::m_version
std::string m_version
Definition
TgcL0GoodMagMap.h:31
L0Muon::TgcL0GoodMagMap::loadAscii
static std::unique_ptr< TgcL0GoodMagMap > loadAscii(const std::string &calibrationPath, std::string &error)
Definition
TgcL0GoodMagMap.cxx:39
L0Muon::TgcL0GoodMagMap::TgcL0GoodMagMap
TgcL0GoodMagMap()=default
L0Muon::TgcL0GoodMagMap::poorBinCount
std::size_t poorBinCount() const
Definition
TgcL0GoodMagMap.h:26
L0Muon::TgcL0GoodMagMap::etaBins
unsigned int etaBins() const
Definition
TgcL0GoodMagMap.h:24
L0Muon::TgcL0GoodMagMap::m_etaBins
unsigned int m_etaBins
Definition
TgcL0GoodMagMap.h:32
L0Muon::TgcL0GoodMagMap::phiBinsPerFold
unsigned int phiBinsPerFold() const
Definition
TgcL0GoodMagMap.h:25
L0Muon::TgcL0GoodMagMap::version
const std::string & version() const
Definition
TgcL0GoodMagMap.h:23
L0Muon::TgcL0GoodMagMap::m_poorBinCount
std::size_t m_poorBinCount
Definition
TgcL0GoodMagMap.h:35
L0Muon::TgcL0GoodMagMap::isGood
bool isGood(int etaBin, int phiFoldBin) const
Return false for a masked or out-of-range calibration bin.
Definition
TgcL0GoodMagMap.cxx:164
L0Muon::TgcL0GoodMagMap::m_phiBinsPerFold
unsigned int m_phiBinsPerFold
Definition
TgcL0GoodMagMap.h:33
L0Muon::TgcL0GoodMagMap::m_poorBins
std::vector< bool > m_poorBins
Definition
TgcL0GoodMagMap.h:34
L0Muon
Definition
NSWTPBits.h:7
error
Definition
IImpactPoint3dEstimator.h:72
Generated on
for ATLAS Offline Software by
1.17.0