ATLAS Offline Software
MuonCacheCreator.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"
10 #include "MuonRDO/MdtCsm_Cache.h"
11 #include "MuonRDO/RpcPad_Cache.h"
12 #include "MuonRDO/TgcRdo_Cache.h"
14 
16 public:
18  MuonCacheCreator(const std::string &name, ISvcLocator *pSvcLocator);
20  virtual ~MuonCacheCreator() = default;
21 
23  virtual StatusCode initialize() override;
24 
26  virtual StatusCode execute(const EventContext &ctx) const override;
27 
28 protected:
34  ServiceHandle<Muon::IMuonIdHelperSvc> m_idHelperSvc{this, "MuonIdHelperSvc", "Muon::MuonIdHelperSvc/MuonIdHelperSvc"};
35  BooleanProperty m_disableWarning{this, "DisableViewWarning", false};
36 
37 }; // class MuonCacheCreator
MuonCacheCreator::m_disableWarning
BooleanProperty m_disableWarning
Definition: MuonCacheCreator.h:35
MuonCacheCreator::m_MdtCsmCacheKey
SG::WriteHandleKey< MdtCsm_Cache > m_MdtCsmCacheKey
Write handle key for the MDT CSM cache container.
Definition: MuonCacheCreator.h:30
MdtCsm_Cache.h
MuonCacheCreator::m_RpcCacheKey
SG::WriteHandleKey< RpcPad_Cache > m_RpcCacheKey
Definition: MuonCacheCreator.h:32
TgcRdo_Cache.h
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition: StoreGate/StoreGate/WriteHandleKey.h:40
MuonCacheCreator
Definition: MuonCacheCreator.h:15
MuonCacheCreator::m_idHelperSvc
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
Definition: MuonCacheCreator.h:34
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
MuonCacheCreator::~MuonCacheCreator
virtual ~MuonCacheCreator()=default
Destructor.
MuonCacheCreator::m_CscCacheKey
SG::WriteHandleKey< CscRawDataCollection_Cache > m_CscCacheKey
Definition: MuonCacheCreator.h:31
MuonCacheCreator::m_TgcCacheKey
SG::WriteHandleKey< TgcRdo_Cache > m_TgcCacheKey
Definition: MuonCacheCreator.h:33
MuonCacheCreator::initialize
virtual StatusCode initialize() override
Initialize the algorithm.
Definition: MuonCacheCreator.cxx:16
MuonCacheCreator::MuonCacheCreator
MuonCacheCreator(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition: MuonCacheCreator.cxx:8
IDCCacheCreatorBase.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
IDCCacheCreatorBase
Definition: IDCCacheCreatorBase.h:13
MuonCacheCreator::execute
virtual StatusCode execute(const EventContext &ctx) const override
Execture the algorithm.
Definition: MuonCacheCreator.cxx:30
RpcPad_Cache.h
IMuonIdHelperSvc.h
CscRawDataCollection_Cache.h
ServiceHandle< Muon::IMuonIdHelperSvc >