 |
ATLAS Offline Software
|
Go to the documentation of this file.
5 #include "GeoModelKernel/throwExcept.h"
10 m_idHelperSvc{idHelperSvc},
11 m_defaultEffi{defaultEffi}{}
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;
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
TechnologyIndex
enum to classify the different layers in the muon spectrometer
const Muon::IMuonIdHelperSvc * m_idHelperSvc
#define ATH_MSG_VERBOSE(x)
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.
virtual Identifier layerId(const Identifier &id) const =0
create a layer ID, returns tube id for the MDTs
::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)
#define THROW_EXCEPTION(MESSAGE)
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