![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Go to the documentation of this file.
5 #include "GeoModelHelpers/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 ...
const Muon::IMuonIdHelperSvc * m_idHelperSvc
#define ATH_MSG_VERBOSE(x)
#define THROW_EXCEPTION(MSG)
This class provides conversion from CSC RDO data to CSC Digits.
virtual const MmIdHelper & mmIdHelper() const =0
access to CscIdHelper
::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.
virtual std::string toStringGasGap(const Identifier &id) const =0
print all fields up to gas gap to string
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
Identifier pcbID(int stationName, int stationEta, int stationPhi, int multilayer, int gasGap, int pcb) const
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
StatusCode setEfficiency(const Identifier §ionId, const double effi)
Sets the efficiency for a given minimal section of the dector.