ATLAS Offline Software
Loading...
Searching...
No Matches
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
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
36#endif
Hold mappings of ranges to condition objects.
#define CONDCONT_DEF(...)
Definition CondCont.h:1413
Provide an interface for finding inheritance information at run time.
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
AthMessaging(IMessageSvc *msgSvc, const std::string &name)
Constructor.
Interface for Helper service that creates muon Identifiers and can be used to print Identifiers.
Conditions object to cache.
std::unordered_map< Identifier, double > m_thresholds
bool setThreshold(const Identifier &layerId, const double threshold)
const Muon::IMuonIdHelperSvc * m_idHelperSvc
double getThreshold(const Identifier &channelId) const
TgcDigitThresholdData(const Muon::IMuonIdHelperSvc *idHelperSvc)
~TgcDigitThresholdData()=default