ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
MuonSpectrometer
MuonCnv
MuonRdoToPrepData
src
MuonPRDCacheCreator.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#pragma once
6
7
#include "GaudiKernel/ServiceHandle.h"
8
#include "
MuonIdHelpers/IMuonIdHelperSvc.h
"
9
#include "
MuonPrepRawData/MuonPrepDataCollection_Cache.h
"
10
#include "
MuonTrigCoinData/MuonTrigCoinData_Cache.h
"
11
#include "
ViewAlgs/IDCCacheCreatorBase.h
"
12
13
// Class for setting up PRD cache containers
14
class
MuonPRDCacheCreator
:
public
IDCCacheCreatorBase
{
15
public
:
17
using
IDCCacheCreatorBase::IDCCacheCreatorBase
;
19
virtual
~MuonPRDCacheCreator
() =
default
;
20
22
virtual
StatusCode
initialize
()
override
;
23
25
virtual
StatusCode
execute
(
const
EventContext &ctx)
const override
;
26
27
protected
:
29
SG::WriteHandleKey<CscPrepDataCollection_Cache>
m_CscCacheKey
{
this
,
"CscCacheKey"
,
""
};
30
SG::WriteHandleKey<CscStripPrepDataCollection_Cache>
m_CscStripCacheKey
{
this
,
"CscStripCacheKey"
,
""
};
31
SG::WriteHandleKey<MdtPrepDataCollection_Cache>
m_MdtCacheKey
{
this
,
"MdtCacheKey"
,
""
};
32
SG::WriteHandleKey<RpcPrepDataCollection_Cache>
m_RpcCacheKey
{
this
,
"RpcCacheKey"
,
""
};
33
SG::WriteHandleKey<TgcPrepDataCollection_Cache>
m_TgcCacheKey
{
this
,
"TgcCacheKey"
,
""
};
34
SG::WriteHandleKey<sTgcPrepDataCollection_Cache>
m_sTgcCacheKey
{
this
,
"sTgcCacheKey"
,
""
};
35
SG::WriteHandleKey<MMPrepDataCollection_Cache>
m_MmCacheKey
{
this
,
"MmCacheKey"
,
""
};
36
SG::WriteHandleKey<RpcCoinDataCollection_Cache>
m_RpcCoinCacheKey
{
this
,
"RpcCoinCacheKey"
,
""
};
37
SG::WriteHandleKeyArray<TgcCoinDataCollection_Cache>
m_TgcCoinCacheKeys
{
this
,
"TgcCoinCacheKeys"
, {}};
38
40
Gaudi::Property<std::string>
m_tgcCoinCacheKeyStr
{
this
,
"TgcCoinCacheStr"
,
""
,
"Prefix for names of TGC Coin Cache collections"
};
41
42
ServiceHandle<Muon::IMuonIdHelperSvc>
m_idHelperSvc
{
this
,
"MuonIdHelperSvc"
,
"Muon::MuonIdHelperSvc/MuonIdHelperSvc"
};
43
44
Gaudi::Property<bool>
m_disableWarning
{
this
,
"disableWarning"
,
false
};
45
46
};
// class MuonPRDCacheCreator
IDCCacheCreatorBase.h
IMuonIdHelperSvc.h
MuonPrepDataCollection_Cache.h
MuonTrigCoinData_Cache.h
IDCCacheCreatorBase::IDCCacheCreatorBase
IDCCacheCreatorBase(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition
IDCCacheCreatorBase.cxx:15
MuonPRDCacheCreator
Definition
MuonPRDCacheCreator.h:14
MuonPRDCacheCreator::m_CscCacheKey
SG::WriteHandleKey< CscPrepDataCollection_Cache > m_CscCacheKey
Write handle keys for the PRD caches.
Definition
MuonPRDCacheCreator.h:29
MuonPRDCacheCreator::execute
virtual StatusCode execute(const EventContext &ctx) const override
Execture the algorithm.
Definition
MuonPRDCacheCreator.cxx:40
MuonPRDCacheCreator::IDCCacheCreatorBase
IDCCacheCreatorBase(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition
IDCCacheCreatorBase.cxx:15
MuonPRDCacheCreator::m_TgcCacheKey
SG::WriteHandleKey< TgcPrepDataCollection_Cache > m_TgcCacheKey
Definition
MuonPRDCacheCreator.h:33
MuonPRDCacheCreator::m_disableWarning
Gaudi::Property< bool > m_disableWarning
Definition
MuonPRDCacheCreator.h:44
MuonPRDCacheCreator::initialize
virtual StatusCode initialize() override
Initialize the algorithm.
Definition
MuonPRDCacheCreator.cxx:11
MuonPRDCacheCreator::m_idHelperSvc
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
Definition
MuonPRDCacheCreator.h:42
MuonPRDCacheCreator::m_TgcCoinCacheKeys
SG::WriteHandleKeyArray< TgcCoinDataCollection_Cache > m_TgcCoinCacheKeys
Definition
MuonPRDCacheCreator.h:37
MuonPRDCacheCreator::~MuonPRDCacheCreator
virtual ~MuonPRDCacheCreator()=default
Destructor.
MuonPRDCacheCreator::m_MmCacheKey
SG::WriteHandleKey< MMPrepDataCollection_Cache > m_MmCacheKey
Definition
MuonPRDCacheCreator.h:35
MuonPRDCacheCreator::m_CscStripCacheKey
SG::WriteHandleKey< CscStripPrepDataCollection_Cache > m_CscStripCacheKey
Definition
MuonPRDCacheCreator.h:30
MuonPRDCacheCreator::m_tgcCoinCacheKeyStr
Gaudi::Property< std::string > m_tgcCoinCacheKeyStr
Name for the TGC Coin cache containers.
Definition
MuonPRDCacheCreator.h:40
MuonPRDCacheCreator::m_RpcCoinCacheKey
SG::WriteHandleKey< RpcCoinDataCollection_Cache > m_RpcCoinCacheKey
Definition
MuonPRDCacheCreator.h:36
MuonPRDCacheCreator::m_RpcCacheKey
SG::WriteHandleKey< RpcPrepDataCollection_Cache > m_RpcCacheKey
Definition
MuonPRDCacheCreator.h:32
MuonPRDCacheCreator::m_MdtCacheKey
SG::WriteHandleKey< MdtPrepDataCollection_Cache > m_MdtCacheKey
Definition
MuonPRDCacheCreator.h:31
MuonPRDCacheCreator::m_sTgcCacheKey
SG::WriteHandleKey< sTgcPrepDataCollection_Cache > m_sTgcCacheKey
Definition
MuonPRDCacheCreator.h:34
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition
StoreGate/StoreGate/WriteHandleKey.h:40
ServiceHandle
Definition
ClusterMakerTool.h:36
SG::WriteHandleKeyArray
HandleKeyArray< WriteHandle< T >, WriteHandleKey< T >, Gaudi::DataHandle::Writer > WriteHandleKeyArray
Definition
WriteHandleKeyArray.h:32
Generated on
for ATLAS Offline Software by
1.17.0