ATLAS Offline Software
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
13 #include "Identifier/Identifier.h"
14 #include "AthenaKernel/CondCont.h"
15 #include "AthenaKernel/BaseInfo.h"
16 
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:
32  std::unordered_set<Identifier> m_cachedDeadStationsId{};
33 
34 };
35 
36 CLASS_DEF( TgcCondDbData, 130737053, 1);
37 CONDCONT_DEF( TgcCondDbData , 178252645 );
38 #endif
TgcCondDbData::m_idHelperSvc
const Muon::IMuonIdHelperSvc * m_idHelperSvc
Definition: TgcCondDbData.h:31
CondCont.h
Hold mappings of ranges to condition objects.
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
virtual ~TgcCondDbData()=default
BaseInfo.h
Provide an interface for finding inheritance information at run time.
Identifier
Definition: DetectorDescription/Identifier/Identifier/Identifier.h:32
TgcCondDbData
Conditions object to mark switched-off Tgc gasGaps.
Definition: TgcCondDbData.h:20
CaloCondBlobAlgs_fillNoiseFromASCII.channelId
channelId
Definition: CaloCondBlobAlgs_fillNoiseFromASCII.py:122
TgcCondDbData::TgcCondDbData
TgcCondDbData(const Muon::IMuonIdHelperSvc *idHelperSvc)
Definition: TgcCondDbData.cxx:7
Muon::IMuonIdHelperSvc
Interface for Helper service that creates muon Identifiers and can be used to print Identifiers.
Definition: IMuonIdHelperSvc.h:26
TgcCondDbData::m_cachedDeadStationsId
std::unordered_set< Identifier > m_cachedDeadStationsId
Definition: TgcCondDbData.h:32
CONDCONT_DEF
CONDCONT_DEF(TgcCondDbData, 178252645)
CLASS_DEF
CLASS_DEF(TgcCondDbData, 130737053, 1)
IMuonIdHelperSvc.h
TgcCondDbData::setDeadGasGap
void setDeadGasGap(const Identifier &id)
Declare all channels wires + strips in a gasGap as dead.
Definition: TgcCondDbData.cxx:10