ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
MuonSpectrometer
MuonConditions
MuonCondGeneral
MuonCondData
src
TgcCondDbData.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
MuonCondData/TgcCondDbData.h
"
6
7
TgcCondDbData::TgcCondDbData
(
const
Muon::IMuonIdHelperSvc
* idHelperSvc):
8
m_idHelperSvc
{idHelperSvc}{}
9
10
void
TgcCondDbData::setDeadGasGap
(
const
Identifier
& Id) {
11
m_cachedDeadStationsId
.insert(
m_idHelperSvc
->gasGapId(Id));
12
}
13
bool
TgcCondDbData::isGood
(
const
Identifier
& Id)
const
{
14
return
!
m_cachedDeadStationsId
.count(
m_idHelperSvc
->gasGapId(Id));
15
}
TgcCondDbData.h
Muon::IMuonIdHelperSvc
Interface for Helper service that creates muon Identifiers and can be used to print Identifiers.
Definition
IMuonIdHelperSvc.h:27
TgcCondDbData::m_cachedDeadStationsId
std::unordered_set< Identifier > m_cachedDeadStationsId
Definition
TgcCondDbData.h:32
TgcCondDbData::isGood
bool isGood(const Identifier &channelId) const
Returns whether the channelId does not belong to a dead gasGap.
Definition
TgcCondDbData.cxx:13
TgcCondDbData::TgcCondDbData
TgcCondDbData(const Muon::IMuonIdHelperSvc *idHelperSvc)
Definition
TgcCondDbData.cxx:7
TgcCondDbData::m_idHelperSvc
const Muon::IMuonIdHelperSvc * m_idHelperSvc
Definition
TgcCondDbData.h:31
TgcCondDbData::setDeadGasGap
void setDeadGasGap(const Identifier &id)
Declare all channels wires + strips in a gasGap as dead.
Definition
TgcCondDbData.cxx:10
Identifier
Definition
IdentifierFieldParser.cxx:14
Generated on
for ATLAS Offline Software by
1.17.0