ATLAS Offline Software
RpcRawDataProvider.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 #ifndef MUONBYTESTREAM_RPCRAWDATAPROVIDER_H
6 #define MUONBYTESTREAM_RPCRAWDATAPROVIDER_H
7 
8 // Base class
10 #include "GaudiKernel/ServiceHandle.h"
11 #include "GaudiKernel/ToolHandle.h"
15 
16 namespace Muon {
17 
19  public:
21  RpcRawDataProvider(const std::string &name, ISvcLocator *pSvcLocator);
22 
24  virtual StatusCode initialize();
25 
27  virtual StatusCode execute(const EventContext &ctx) const;
28 
30  ~RpcRawDataProvider() = default;
31 
32  private:
34  ToolHandle<Muon::IMuonRawDataProviderTool> m_rawDataTool{this, "ProviderTool",
35  "Muon::RPC_RawDataProviderToolMT/RpcRawDataProviderTool"};
36 
38  ToolHandle<IRegSelTool> m_regsel_rpc{this, "RegionSelectionTool", "RegSelTool/RegSelTool_RPC", "RPC Region Selector Tool"};
39 
41  Gaudi::Property<bool> m_seededDecoding{this, "DoSeededDecoding", false, "If true do decoding in RoIs"};
42 
44  SG::ReadHandleKey<TrigRoiDescriptorCollection> m_roiCollectionKey{this, "RoIs", "OutputRoIs", "Name of RoI collection to read in"};
45  };
46 } // namespace Muon
47 
48 #endif
IRegSelTool.h
Muon::RpcRawDataProvider::execute
virtual StatusCode execute(const EventContext &ctx) const
Execute.
Definition: RpcRawDataProvider.cxx:38
Muon::RpcRawDataProvider::m_roiCollectionKey
SG::ReadHandleKey< TrigRoiDescriptorCollection > m_roiCollectionKey
ReadHandle for the input RoIs.
Definition: RpcRawDataProvider.h:44
Muon::RpcRawDataProvider::~RpcRawDataProvider
~RpcRawDataProvider()=default
Destructur.
IMuonRawDataProviderTool.h
Muon::RpcRawDataProvider::initialize
virtual StatusCode initialize()
Initialize.
Definition: RpcRawDataProvider.cxx:14
SG::ReadHandleKey< TrigRoiDescriptorCollection >
Muon
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
Definition: TrackSystemController.h:45
Muon::RpcRawDataProvider::m_rawDataTool
ToolHandle< Muon::IMuonRawDataProviderTool > m_rawDataTool
Tool handle for raw data provider tool.
Definition: RpcRawDataProvider.h:34
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
Muon::RpcRawDataProvider::m_regsel_rpc
ToolHandle< IRegSelTool > m_regsel_rpc
Handle for region selector service.
Definition: RpcRawDataProvider.h:38
AthReentrantAlgorithm.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
Muon::RpcRawDataProvider::RpcRawDataProvider
RpcRawDataProvider(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition: RpcRawDataProvider.cxx:11
Muon::RpcRawDataProvider
Definition: RpcRawDataProvider.h:18
TrigRoiDescriptor.h
Muon::RpcRawDataProvider::m_seededDecoding
Gaudi::Property< bool > m_seededDecoding
Property to decide whether or not to do RoI based decoding.
Definition: RpcRawDataProvider.h:41