ATLAS Offline Software
TgcDigitThresholdData.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_TGCDIGITTHRESHOLDDATA_H
5 #define MUONCONDDATA_TGCDIGITTHRESHOLDDATA_H
6 
7 //STL includes
8 #include <map>
9 
10 //Athena includes
12 #include "AthenaKernel/CondCont.h"
13 #include "AthenaKernel/BaseInfo.h"
15 
20  public:
23 
24  bool setThreshold(const Identifier& layerId, const double threshold);
25 
26  double getThreshold(const Identifier& channelId) const;
27 
28 
29  private:
31  std::unordered_map<Identifier, double> m_thresholds{};
32 };
33 
34 CLASS_DEF( TgcDigitThresholdData , 142756895 , 1 );
36 #endif
CondCont.h
Hold mappings of ranges to condition objects.
CLASS_DEF
CLASS_DEF(TgcDigitThresholdData, 142756895, 1)
TgcDigitThresholdData::m_thresholds
std::unordered_map< Identifier, double > m_thresholds
Definition: TgcDigitThresholdData.h:31
CONDCONT_DEF
CONDCONT_DEF(TgcDigitThresholdData, 226980043)
BaseInfo.h
Provide an interface for finding inheritance information at run time.
AthMessaging
Class to provide easy MsgStream access and capabilities.
Definition: AthMessaging.h:55
CaloCondBlobAlgs_fillNoiseFromASCII.channelId
channelId
Definition: CaloCondBlobAlgs_fillNoiseFromASCII.py:122
TgcDigitThresholdData::setThreshold
bool setThreshold(const Identifier &layerId, const double threshold)
Definition: TgcDigitThresholdData.cxx:11
TgcDigitThresholdData::m_idHelperSvc
const Muon::IMuonIdHelperSvc * m_idHelperSvc
Definition: TgcDigitThresholdData.h:30
threshold
Definition: chainparser.cxx:74
TgcDigitThresholdData::TgcDigitThresholdData
TgcDigitThresholdData(const Muon::IMuonIdHelperSvc *idHelperSvc)
Definition: TgcDigitThresholdData.cxx:7
TgcDigitThresholdData::getThreshold
double getThreshold(const Identifier &channelId) const
Definition: TgcDigitThresholdData.cxx:22
AthMessaging.h
TgcDigitThresholdData::~TgcDigitThresholdData
~TgcDigitThresholdData()=default
Muon::IMuonIdHelperSvc
Interface for Helper service that creates muon Identifiers and can be used to print Identifiers.
Definition: IMuonIdHelperSvc.h:27
TgcDigitThresholdData
Conditions object to cache.
Definition: TgcDigitThresholdData.h:19
IMuonIdHelperSvc.h
Identifier
Definition: IdentifierFieldParser.cxx:14