|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #include "GeoModelKernel/throwExcept.h"
10 m_idHelperSvc{idHelperSvc},
11 m_defaultEffi{defaultEffi}{}
40 return effi_itr->second;
48 auto insert_itr =
m_effiData.insert(std::make_pair(gasGapId,
effi));
49 if (!insert_itr.second) {
51 <<
" has already been stored "<<
m_effiData[gasGapId]<<
" vs. "<<
effi);
52 return StatusCode::FAILURE;
54 return StatusCode::SUCCESS;
virtual const sTgcIdHelper & stgcIdHelper() const =0
access to TgcIdHelper
DigitEffiData(const Muon::IMuonIdHelperSvc *idHelperSvc, double defaultEffi)
Constructor taking the pointer to the IdHelperSvc & defining a default efficiency for cases wher the ...
Identifier febID(int stationName, int stationEta, int stationPhi, int multilayer, int gasGap, int radius) const
const Muon::IMuonIdHelperSvc * m_idHelperSvc
#define ATH_MSG_VERBOSE(x)
#define THROW_EXCEPTION(MSG)
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
virtual const MmIdHelper & mmIdHelper() const =0
access to CscIdHelper
StatusCode setEfficiency(const Identifier §ionId, const double effi, bool isInnerQ1=false)
Sets the efficiency for a given minimal section of the dector.
::StatusCode StatusCode
StatusCode definition for legacy code.
Identifier getLookUpId(const Identifier &channelId, bool isInnerQ1=false) const
double getEfficiency(const Identifier &channelId, bool isInnerQ1=false) const
Returns the signal generation efficiency of the sTgc channel.
Class to provide easy MsgStream access and capabilities.
virtual MuonStationIndex::TechnologyIndex technologyIndex(const Identifier &id) const =0
calculate layer index from Identifier
virtual Identifier gasGapId(const Identifier &id) const =0
create a gasGap ID (will return layer Id for MDTs)
virtual std::string toString(const Identifier &id) const =0
print all fields to string
Interface for Helper service that creates muon Identifiers and can be used to print Identifiers.
Identifier hvID(int stationName, int stationEta, int stationPhi, int multilayer, int gasGap, bool isInnerQ1) const
TechnologyIndex
enum to classify the different layers in the muon spectrometer