ATLAS Offline Software
|
#include <NswCalibDbThresholdData.h>
Public Types | |
enum | ThrsldTechType { ThrsldTechType::MM, ThrsldTechType::STGC } |
Public Member Functions | |
NswCalibDbThresholdData (const Muon::IMuonIdHelperSvc *idHelperSvc) | |
virtual | ~NswCalibDbThresholdData ()=default |
void | setData (const Identifier &, const float) |
void | setZero (ThrsldTechType, const float) |
std::vector< Identifier > | getChannelIds (const std::string="", const std::string="") const |
bool | getThreshold (const Identifier &, float &) const |
Private Types | |
using | ChannelMap = std::map< unsigned long long, std::vector< float > > |
using | ZeroMap = std::map< ThrsldTechType, float > |
Private Attributes | |
ChannelMap | m_data {} |
ZeroMap | m_zero {} |
const Muon::IMuonIdHelperSvc * | m_idHelperSvc {} |
Friends | |
class | NswCalibDbAlg |
Definition at line 17 of file NswCalibDbThresholdData.h.
|
private |
Definition at line 42 of file NswCalibDbThresholdData.h.
|
private |
Definition at line 43 of file NswCalibDbThresholdData.h.
|
strong |
Enumerator | |
---|---|
MM | |
STGC |
Definition at line 22 of file NswCalibDbThresholdData.h.
NswCalibDbThresholdData::NswCalibDbThresholdData | ( | const Muon::IMuonIdHelperSvc * | idHelperSvc | ) |
Definition at line 12 of file NswCalibDbThresholdData.cxx.
|
virtualdefault |
std::vector< Identifier > NswCalibDbThresholdData::getChannelIds | ( | const std::string | tech = "" , |
const std::string | side = "" |
||
) | const |
Definition at line 40 of file NswCalibDbThresholdData.cxx.
bool NswCalibDbThresholdData::getThreshold | ( | const Identifier & | chnlId, |
float & | threshold | ||
) | const |
For the moment require that there is only one channel per identifier
Definition at line 63 of file NswCalibDbThresholdData.cxx.
void NswCalibDbThresholdData::setData | ( | const Identifier & | chnlId, |
const float | threshold | ||
) |
Definition at line 22 of file NswCalibDbThresholdData.cxx.
void NswCalibDbThresholdData::setZero | ( | ThrsldTechType | tech, |
const float | threshold | ||
) |
Definition at line 31 of file NswCalibDbThresholdData.cxx.
|
friend |
Definition at line 19 of file NswCalibDbThresholdData.h.
|
private |
Definition at line 44 of file NswCalibDbThresholdData.h.
|
private |
Definition at line 48 of file NswCalibDbThresholdData.h.
|
private |
Definition at line 45 of file NswCalibDbThresholdData.h.