44 const int bcTag = ibc + 1;
45 std::ostringstream location;
49 ATH_MSG_INFO(
"Setting next TGC PRD Cache to " << location.str());
56 const int bcTag = ibc + 1;
57 std::ostringstream location;
61 ATH_MSG_INFO(
"Setting next TGC Coin Cache to " << location.str());
71 ATH_MSG_WARNING(
"CSC ID Helper is not available and CSC PRD cache was requested - This will not be created");
74 ATH_MSG_WARNING(
"MDT ID Helper is not available and MDT PRD cache was requested - This will not be created");
77 ATH_MSG_WARNING(
"RPC ID Helper is not available and RPC PRD cache was requested - This will not be created");
79 if (!
m_idHelperSvc->hasTGC() && (doTgcPrdCache || doTgcCoinCache)) {
80 ATH_MSG_WARNING(
"TGC ID Helper is not available and TGC cache was requested - This will not be created");
83 ATH_MSG_WARNING(
"STGC ID Helper is not available and STGC PRD cache was requested - This will not be created");
86 ATH_MSG_WARNING(
"MM ID Helper is not available and MM PRD cache was requested - This will not be created");
88 if (
m_disableWarning) m_disableWarningCheck.test_and_set(std::memory_order_relaxed);
89 return StatusCode::SUCCESS;
104 auto maxHashMDTs =
m_idHelperSvc->mdtIdHelper().stationNameIndex(
"BME") != -1
132 return StatusCode::SUCCESS;
#define ATH_CHECK
Evaluate an expression and check for errors.
#define ATH_MSG_WARNING(x)
unsigned bcTag(unsigned bcBitMap)
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)
IDCCacheCreatorBase(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
StatusCode checkInsideViewOnce(const EventContext &) const
StatusCode createContainer(const SG::WriteHandleKey< T > &, long unsigned int, const EventContext &) const
SG::WriteHandleKey< CscPrepDataCollection_Cache > m_CscCacheKey
Write handle keys for the PRD caches.
virtual StatusCode execute(const EventContext &ctx) const override
Execture the algorithm.
MuonPRDCacheCreator(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
virtual StatusCode initialize() override
Initialize the algorithm.
Gaudi::Property< std::string > m_tgcPrdCacheKeyStr
Name for the TGC PRD cache containers.
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
SG::WriteHandleKeyArray< TgcCoinDataCollection_Cache > m_TgcCoinCacheKeys
SG::WriteHandleKey< MMPrepDataCollection_Cache > m_MmCacheKey
SG::WriteHandleKey< CscStripPrepDataCollection_Cache > m_CscStripCacheKey
Gaudi::Property< std::string > m_tgcCoinCacheKeyStr
Name for the TGC Coin cache containers.
SG::WriteHandleKey< RpcCoinDataCollection_Cache > m_RpcCoinCacheKey
SG::WriteHandleKey< RpcPrepDataCollection_Cache > m_RpcCacheKey
SG::WriteHandleKeyArray< TgcPrepDataCollection_Cache > m_TgcCacheKeys
SG::WriteHandleKey< MdtPrepDataCollection_Cache > m_MdtCacheKey
SG::WriteHandleKey< sTgcPrepDataCollection_Cache > m_sTgcCacheKey