ATLAS Offline Software
Loading...
Searching...
No Matches
MuonPRDCacheCreator.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3*/
4
5#pragma once
6
7#include "GaudiKernel/ServiceHandle.h"
12
13// Class for setting up PRD cache containers
15public:
17 MuonPRDCacheCreator(const std::string &name, ISvcLocator *pSvcLocator);
19 virtual ~MuonPRDCacheCreator() = default;
20
22 virtual StatusCode initialize() override;
23
25 virtual StatusCode execute(const EventContext &ctx) const override;
26
27protected:
38
40 Gaudi::Property<std::string> m_tgcPrdCacheKeyStr{this, "TgcCacheStr", "", "Prefix for names of TGC PRD Cache collections"};
42 Gaudi::Property<std::string> m_tgcCoinCacheKeyStr{this, "TgcCoinCacheStr", "", "Prefix for names of TGC Coin Cache collections"};
43
44 ServiceHandle<Muon::IMuonIdHelperSvc> m_idHelperSvc{this, "MuonIdHelperSvc", "Muon::MuonIdHelperSvc/MuonIdHelperSvc"};
45
46 bool m_disableWarning = false;
47
48}; // class MuonPRDCacheCreator
IDCCacheCreatorBase(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
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
virtual ~MuonPRDCacheCreator()=default
Destructor.
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
Property holding a SG store/key/clid from which a WriteHandle is made.
HandleKeyArray< WriteHandle< T >, WriteHandleKey< T >, Gaudi::DataHandle::Writer > WriteHandleKeyArray