5#include "GeoModelKernel/throwExcept.h"
31 lookUpId =
m_idHelperSvc->stgcIdHelper().hvID(channelId, isInnerQ1);
42 return effi_itr->second;
50 auto insert_itr =
m_effiData.insert(std::make_pair(gasGapId, effi));
51 if (!insert_itr.second) {
53 <<
" has already been stored "<<
m_effiData[gasGapId]<<
" vs. "<<effi);
54 return StatusCode::FAILURE;
56 return StatusCode::SUCCESS;
#define ATH_MSG_VERBOSE(x)
AthMessaging(IMessageSvc *msgSvc, const std::string &name)
Constructor.
const Muon::IMuonIdHelperSvc * m_idHelperSvc
Identifier getLookUpId(const Identifier &channelId, bool isInnerQ1=false) const
StatusCode setEfficiency(const Identifier §ionId, const double effi, bool isInnerQ1=false)
Sets the efficiency for a given minimal section of the dector.
DigitEffiData(const Muon::IMuonIdHelperSvc *idHelperSvc, double defaultEffi)
Constructor taking the pointer to the IdHelperSvc & defining a default efficiency for cases wher the ...
double getEfficiency(const Identifier &channelId, bool isInnerQ1=false) const
Returns the signal generation efficiency of the sTgc channel.
Interface for Helper service that creates muon Identifiers and can be used to print Identifiers.
TechnologyIndex
enum to classify the different layers in the muon spectrometer
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
#define THROW_EXCEPTION(MESSAGE)