ATLAS Offline Software
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
15 public:
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 
27 protected:
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
MuonPrepDataCollection_Cache.h
MuonPRDCacheCreator::m_RpcCoinCacheKey
SG::WriteHandleKey< RpcCoinDataCollection_Cache > m_RpcCoinCacheKey
Definition: MuonPRDCacheCreator.h:36
MuonPRDCacheCreator::m_MdtCacheKey
SG::WriteHandleKey< MdtPrepDataCollection_Cache > m_MdtCacheKey
Definition: MuonPRDCacheCreator.h:31
SG::HandleKeyArray
Definition: StoreGate/StoreGate/HandleKeyArray.h:38
MuonPRDCacheCreator::initialize
virtual StatusCode initialize() override
Initialize the algorithm.
Definition: MuonPRDCacheCreator.cxx:30
MuonPRDCacheCreator
Definition: MuonPRDCacheCreator.h:14
MuonPRDCacheCreator::~MuonPRDCacheCreator
virtual ~MuonPRDCacheCreator()=default
Destructor.
MuonPRDCacheCreator::m_CscStripCacheKey
SG::WriteHandleKey< CscStripPrepDataCollection_Cache > m_CscStripCacheKey
Definition: MuonPRDCacheCreator.h:30
MuonPRDCacheCreator::MuonPRDCacheCreator
MuonPRDCacheCreator(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition: MuonPRDCacheCreator.cxx:11
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition: StoreGate/StoreGate/WriteHandleKey.h:40
MuonPRDCacheCreator::m_tgcCoinCacheKeyStr
Gaudi::Property< std::string > m_tgcCoinCacheKeyStr
Name for the TGC Coin cache containers.
Definition: MuonPRDCacheCreator.h:42
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
MuonTrigCoinData_Cache.h
MuonPRDCacheCreator::m_sTgcCacheKey
SG::WriteHandleKey< sTgcPrepDataCollection_Cache > m_sTgcCacheKey
Definition: MuonPRDCacheCreator.h:34
MuonPRDCacheCreator::m_RpcCacheKey
SG::WriteHandleKey< RpcPrepDataCollection_Cache > m_RpcCacheKey
Definition: MuonPRDCacheCreator.h:32
MuonPRDCacheCreator::m_MmCacheKey
SG::WriteHandleKey< MMPrepDataCollection_Cache > m_MmCacheKey
Definition: MuonPRDCacheCreator.h:35
IDCCacheCreatorBase.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
MuonPRDCacheCreator::m_TgcCoinCacheKeys
SG::WriteHandleKeyArray< TgcCoinDataCollection_Cache > m_TgcCoinCacheKeys
Definition: MuonPRDCacheCreator.h:37
MuonPRDCacheCreator::m_CscCacheKey
SG::WriteHandleKey< CscPrepDataCollection_Cache > m_CscCacheKey
Write handle keys for the PRD caches.
Definition: MuonPRDCacheCreator.h:29
IDCCacheCreatorBase
Definition: IDCCacheCreatorBase.h:13
MuonPRDCacheCreator::m_tgcPrdCacheKeyStr
Gaudi::Property< std::string > m_tgcPrdCacheKeyStr
Name for the TGC PRD cache containers.
Definition: MuonPRDCacheCreator.h:40
MuonPRDCacheCreator::m_idHelperSvc
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
Definition: MuonPRDCacheCreator.h:44
MuonPRDCacheCreator::m_TgcCacheKeys
SG::WriteHandleKeyArray< TgcPrepDataCollection_Cache > m_TgcCacheKeys
Definition: MuonPRDCacheCreator.h:33
MuonPRDCacheCreator::execute
virtual StatusCode execute(const EventContext &ctx) const override
Execture the algorithm.
Definition: MuonPRDCacheCreator.cxx:92
MuonPRDCacheCreator::m_disableWarning
bool m_disableWarning
Definition: MuonPRDCacheCreator.h:46
IMuonIdHelperSvc.h
ServiceHandle< Muon::IMuonIdHelperSvc >