ATLAS Offline Software
TgcRawDataProvider.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_TGCRAWDATAPROVIDER_H
6 #define MUONBYTESTREAM_TGCRAWDATAPROVIDER_H
7 
8 // Base class
10 #include "GaudiKernel/ServiceHandle.h"
11 #include "GaudiKernel/ToolHandle.h"
15 
16 namespace Muon {
17 
19  public:
21  TgcRawDataProvider(const std::string &name, ISvcLocator *pSvcLocator);
22 
24  virtual StatusCode initialize();
25 
27  virtual StatusCode execute(const EventContext &ctx) const;
28 
30  ~TgcRawDataProvider() = default;
31 
32  private:
33  ToolHandle<Muon::IMuonRawDataProviderTool> m_rawDataTool{this, "ProviderTool",
34  "Muon::TGC_RawDataProviderToolMT/TgcRawDataProviderTool"};
35 
37  ToolHandle<IRegSelTool> m_regsel_tgc{this, "RegionSelectionTool", "RegSelTool/RegSelTool_TGC", "TGC Region Selector Tool"};
38 
40  Gaudi::Property<bool> m_seededDecoding{this, "DoSeededDecoding", false, "If true do decoding in RoIs"};
41 
43  SG::ReadHandleKey<TrigRoiDescriptorCollection> m_roiCollectionKey{this, "RoIs", "OutputRoIs", "Name of RoI collection to read in"};
44  };
45 } // namespace Muon
46 
47 #endif
IRegSelTool.h
IMuonRawDataProviderTool.h
Muon::TgcRawDataProvider
Definition: TgcRawDataProvider.h:18
Muon::TgcRawDataProvider::TgcRawDataProvider
TgcRawDataProvider(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition: TgcRawDataProvider.cxx:14
Muon::TgcRawDataProvider::m_roiCollectionKey
SG::ReadHandleKey< TrigRoiDescriptorCollection > m_roiCollectionKey
ReadHandle for the input RoIs.
Definition: TgcRawDataProvider.h:43
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
Muon::TgcRawDataProvider::m_seededDecoding
Gaudi::Property< bool > m_seededDecoding
Property to decide whether or not to do RoI based decoding.
Definition: TgcRawDataProvider.h:40
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
Muon::TgcRawDataProvider::m_rawDataTool
ToolHandle< Muon::IMuonRawDataProviderTool > m_rawDataTool
Definition: TgcRawDataProvider.h:33
Muon::TgcRawDataProvider::~TgcRawDataProvider
~TgcRawDataProvider()=default
Destructur.
AthReentrantAlgorithm.h
Muon::TgcRawDataProvider::execute
virtual StatusCode execute(const EventContext &ctx) const
Execute.
Definition: TgcRawDataProvider.cxx:42
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
Muon::TgcRawDataProvider::m_regsel_tgc
ToolHandle< IRegSelTool > m_regsel_tgc
Handle for region selector service.
Definition: TgcRawDataProvider.h:37
TrigRoiDescriptor.h
Muon::TgcRawDataProvider::initialize
virtual StatusCode initialize()
Initialize.
Definition: TgcRawDataProvider.cxx:17