ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
MuonSpectrometer
MuonConditions
MuonCondGeneral
MuonCondData
MuonCondData
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
11
#include "
MuonIdHelpers/IMuonIdHelperSvc.h
"
12
#include "
AthenaKernel/CondCont.h
"
13
#include "
AthenaKernel/BaseInfo.h
"
14
#include "
AthenaBaseComps/AthMessaging.h
"
15
19
class
TgcDigitThresholdData
:
public
AthMessaging
{
20
public
:
21
TgcDigitThresholdData
(
const
Muon::IMuonIdHelperSvc
* idHelperSvc);
22
~TgcDigitThresholdData
() =
default
;
23
24
bool
setThreshold
(
const
Identifier
& layerId,
const
double
threshold
);
25
26
double
getThreshold
(
const
Identifier
& channelId)
const
;
27
28
29
private
:
30
const
Muon::IMuonIdHelperSvc
*
m_idHelperSvc
{
nullptr
};
31
std::unordered_map<Identifier, double>
m_thresholds
{};
32
};
33
34
CLASS_DEF
(
TgcDigitThresholdData
, 142756895 , 1 );
35
CONDCONT_DEF
(
TgcDigitThresholdData
, 226980043 );
36
#endif
AthMessaging.h
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
AthMessaging::AthMessaging
AthMessaging(IMessageSvc *msgSvc, const std::string &name)
Constructor.
Definition
AthMessaging.cxx:13
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
TgcDigitThresholdData::m_thresholds
std::unordered_map< Identifier, double > m_thresholds
Definition
TgcDigitThresholdData.h:31
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
TgcDigitThresholdData::getThreshold
double getThreshold(const Identifier &channelId) const
Definition
TgcDigitThresholdData.cxx:22
TgcDigitThresholdData::TgcDigitThresholdData
TgcDigitThresholdData(const Muon::IMuonIdHelperSvc *idHelperSvc)
Definition
TgcDigitThresholdData.cxx:7
TgcDigitThresholdData::~TgcDigitThresholdData
~TgcDigitThresholdData()=default
Identifier
Definition
IdentifierFieldParser.cxx:14
threshold
Definition
chainparser.cxx:74
Generated on
for ATLAS Offline Software by
1.17.0