ATLAS Offline Software
MM_RawDataProvider.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_MM_RAWDATAPROVIDER_H
6 #define MUONBYTESTREAM_MM_RAWDATAPROVIDER_H
7 
10 #include "GaudiKernel/ServiceHandle.h"
11 #include "GaudiKernel/ToolHandle.h"
15 
16 namespace Muon {
17 
19  public:
21  MM_RawDataProvider(const std::string &name, ISvcLocator *pSvcLocator);
22 
24  virtual StatusCode initialize() override;
25 
27  virtual StatusCode execute(const EventContext &ctx) const override;
28 
30  ~MM_RawDataProvider() = default;
31 
32  private:
34  ToolHandle<Muon::IMuonRawDataProviderTool> m_rawDataTool{this, "ProviderTool",
35  "Muon::MM_RawDataProviderToolMT/MmRawDataProviderTool"};
36 
38  ToolHandle<IRegSelTool> m_regsel_mm{this, "RegionSelectionTool", "RegSelTool/RegSelTool_MM", "MM 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::MM_RawDataProvider::m_rawDataTool
ToolHandle< Muon::IMuonRawDataProviderTool > m_rawDataTool
Tool handle for raw data provider tool.
Definition: MM_RawDataProvider.h:34
CondAttrListCollection.h
This file defines the class for a collection of AttributeLists where each one is associated with a ch...
Muon::MM_RawDataProvider::execute
virtual StatusCode execute(const EventContext &ctx) const override
Execute.
Definition: MM_RawDataProvider.cxx:24
Muon::MM_RawDataProvider
Definition: MM_RawDataProvider.h:18
IMuonRawDataProviderTool.h
Muon::MM_RawDataProvider::initialize
virtual StatusCode initialize() override
Initialize.
Definition: MM_RawDataProvider.cxx:12
SG::ReadHandleKey< TrigRoiDescriptorCollection >
Muon
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
Definition: TrackSystemController.h:45
Muon::MM_RawDataProvider::m_seededDecoding
Gaudi::Property< bool > m_seededDecoding
Property to decide whether or not to do RoI based decoding.
Definition: MM_RawDataProvider.h:41
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
Muon::MM_RawDataProvider::MM_RawDataProvider
MM_RawDataProvider(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition: MM_RawDataProvider.cxx:8
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
Muon::MM_RawDataProvider::m_roiCollectionKey
SG::ReadHandleKey< TrigRoiDescriptorCollection > m_roiCollectionKey
ReadHandle for the input RoIs.
Definition: MM_RawDataProvider.h:44
AthReentrantAlgorithm.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
Muon::MM_RawDataProvider::~MM_RawDataProvider
~MM_RawDataProvider()=default
Destructur.
Muon::MM_RawDataProvider::m_regsel_mm
ToolHandle< IRegSelTool > m_regsel_mm
Handle for region selector service.
Definition: MM_RawDataProvider.h:38
TrigRoiDescriptor.h