ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
MuonSpectrometer
MuonConditions
MuonCondGeneral
MuonCondData
MuonCondData
TgcCondDbData.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3
*/
4
#ifndef MUONCONDDATA_TGCCONDDBDATA_H
5
#define MUONCONDDATA_TGCCONDDBDATA_H
6
7
//STL includes
8
#include <string>
9
#include <set>
10
11
//Athena includes
12
#include "
MuonIdHelpers/IMuonIdHelperSvc.h
"
13
#include "Identifier/Identifier.h"
14
#include "
AthenaKernel/CondCont.h
"
15
#include "
AthenaKernel/BaseInfo.h
"
16
20
class
TgcCondDbData
{
21
22
public
:
23
TgcCondDbData
(
const
Muon::IMuonIdHelperSvc
* idHelperSvc);
24
virtual
~TgcCondDbData
() =
default
;
26
void
setDeadGasGap
(
const
Identifier
&
id
);
28
bool
isGood
(
const
Identifier
& channelId)
const
;
29
30
private
:
31
const
Muon::IMuonIdHelperSvc
*
m_idHelperSvc
{
nullptr
};
32
std::unordered_set<Identifier>
m_cachedDeadStationsId
{};
33
34
};
35
36
CLASS_DEF
(
TgcCondDbData
, 130737053, 1);
37
CONDCONT_DEF
(
TgcCondDbData
, 178252645 );
38
#endif
CondCont.h
Hold mappings of ranges to condition objects.
CONDCONT_DEF
#define CONDCONT_DEF(...)
Definition
CondCont.h:1413
BaseInfo.h
Provide an interface for finding inheritance information at run time.
CLASS_DEF
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
Definition
Control/AthenaKernel/AthenaKernel/CLASS_DEF.h:67
IMuonIdHelperSvc.h
Muon::IMuonIdHelperSvc
Interface for Helper service that creates muon Identifiers and can be used to print Identifiers.
Definition
IMuonIdHelperSvc.h:27
TgcCondDbData
Conditions object to mark switched-off Tgc gasGaps.
Definition
TgcCondDbData.h:20
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::~TgcCondDbData
virtual ~TgcCondDbData()=default
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