ATLAS Offline Software
MdtRawDataProvider.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_MDTRAWDATAPROVIDER_H
6 #define MUONBYTESTREAM_MDTRAWDATAPROVIDER_H
7 
8 // Base class
11 #include "GaudiKernel/ServiceHandle.h"
12 #include "GaudiKernel/ToolHandle.h"
16 
17 namespace Muon {
18 
20  public:
22  MdtRawDataProvider(const std::string &name, ISvcLocator *pSvcLocator);
23 
25  virtual StatusCode initialize();
26 
28  virtual StatusCode execute(const EventContext &ctx) const;
29 
31  ~MdtRawDataProvider() = default;
32 
33  private:
35  ToolHandle<Muon::IMuonRawDataProviderTool> m_rawDataTool{this, "ProviderTool",
36  "Muon::MDT_RawDataProviderToolMT/MdtRawDataProviderTool"};
37 
39  ToolHandle<IRegSelTool> m_regsel_mdt{this, "RegionSelectionTool", "RegSelTool/RegSelTool_MDT", "MDT Region Selector Tool"};
40 
42  Gaudi::Property<bool> m_seededDecoding{this, "DoSeededDecoding", false, "If true do decoding in RoIs"};
43 
45  SG::ReadHandleKey<TrigRoiDescriptorCollection> m_roiCollectionKey{this, "RoIs", "OutputRoIs", "Name of RoI collection to read in"};
46  };
47 } // namespace Muon
48 
49 #endif
IRegSelTool.h
Muon::MdtRawDataProvider::MdtRawDataProvider
MdtRawDataProvider(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition: MdtRawDataProvider.cxx:9
Muon::MdtRawDataProvider::initialize
virtual StatusCode initialize()
Initialize.
Definition: MdtRawDataProvider.cxx:12
Muon::MdtRawDataProvider::m_regsel_mdt
ToolHandle< IRegSelTool > m_regsel_mdt
Handle for region selector service.
Definition: MdtRawDataProvider.h:39
CondAttrListCollection.h
This file defines the class for a collection of AttributeLists where each one is associated with a ch...
Muon::MdtRawDataProvider::m_rawDataTool
ToolHandle< Muon::IMuonRawDataProviderTool > m_rawDataTool
Tool handle for raw data provider tool.
Definition: MdtRawDataProvider.h:35
Muon::MdtRawDataProvider::m_roiCollectionKey
SG::ReadHandleKey< TrigRoiDescriptorCollection > m_roiCollectionKey
ReadHandle for the input RoIs.
Definition: MdtRawDataProvider.h:45
IMuonRawDataProviderTool.h
SG::ReadHandleKey< TrigRoiDescriptorCollection >
Muon
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
Definition: TrackSystemController.h:45
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
AthReentrantAlgorithm.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
Muon::MdtRawDataProvider::~MdtRawDataProvider
~MdtRawDataProvider()=default
Destructur.
Muon::MdtRawDataProvider::m_seededDecoding
Gaudi::Property< bool > m_seededDecoding
Property to decide whether or not to do RoI based decoding.
Definition: MdtRawDataProvider.h:42
Muon::MdtRawDataProvider::execute
virtual StatusCode execute(const EventContext &ctx) const
Execute.
Definition: MdtRawDataProvider.cxx:37
TrigRoiDescriptor.h
Muon::MdtRawDataProvider
Definition: MdtRawDataProvider.h:19