ATLAS Offline Software
CscRawDataProvider.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef MUONBYTESTREAM_CSCRAWDATAPROVIDER_H
6 #define MUONBYTESTREAM_CSCRAWDATAPROVIDER_H
7 
8 // Base class
10 #include "GaudiKernel/ServiceHandle.h"
11 #include "GaudiKernel/ToolHandle.h"
16 
17 namespace Muon {
18 
20  public:
22  CscRawDataProvider(const std::string &name, ISvcLocator *pSvcLocator);
23 
25  virtual StatusCode initialize();
26 
28  virtual StatusCode execute(const EventContext &ctx) const;
29 
31  ~CscRawDataProvider() = default;
32 
33  private:
34  ToolHandle<Muon::IMuonRawDataProviderTool> m_rawDataTool{this, "ProviderTool",
35  "Muon::CSC_RawDataProviderToolMT/CscRawDataProviderTool"};
36 
38  ToolHandle<IRegSelTool> m_regsel_csc{this, "RegionSelectionTool", "RegSelTool/RegSelTool_CSC", "CSC 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  // MuonDetectorManager from the conditions store
46  SG::ReadCondHandleKey<MuonGM::MuonDetectorManager> m_detMgrKey{this, "DetectorManagerKey", "MuonDetectorManager",
47  "Key of input MuonDetectorManager condition data"};
48 
49  };
50 } // namespace Muon
51 
52 #endif
IRegSelTool.h
IMuonRawDataProviderTool.h
Muon::CscRawDataProvider::~CscRawDataProvider
~CscRawDataProvider()=default
Destructor.
SG::ReadHandleKey< TrigRoiDescriptorCollection >
Muon
This class provides conversion from CSC RDO data to CSC Digits.
Definition: TrackSystemController.h:49
Muon::CscRawDataProvider::m_rawDataTool
ToolHandle< Muon::IMuonRawDataProviderTool > m_rawDataTool
Definition: CscRawDataProvider.h:34
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
Muon::CscRawDataProvider::CscRawDataProvider
CscRawDataProvider(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition: CscRawDataProvider.cxx:12
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
Muon::CscRawDataProvider::m_roiCollectionKey
SG::ReadHandleKey< TrigRoiDescriptorCollection > m_roiCollectionKey
ReadHandle for the input RoIs.
Definition: CscRawDataProvider.h:44
AthReentrantAlgorithm.h
Muon::CscRawDataProvider
Definition: CscRawDataProvider.h:19
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
Muon::CscRawDataProvider::m_seededDecoding
Gaudi::Property< bool > m_seededDecoding
Property to decide whether or not to do RoI based decoding.
Definition: CscRawDataProvider.h:41
MuonDetectorManager.h
SG::ReadCondHandleKey< MuonGM::MuonDetectorManager >
Muon::CscRawDataProvider::m_regsel_csc
ToolHandle< IRegSelTool > m_regsel_csc
Handle for region selector service.
Definition: CscRawDataProvider.h:38
Muon::CscRawDataProvider::execute
virtual StatusCode execute(const EventContext &ctx) const
Execute.
Definition: CscRawDataProvider.cxx:37
Muon::CscRawDataProvider::m_detMgrKey
SG::ReadCondHandleKey< MuonGM::MuonDetectorManager > m_detMgrKey
Definition: CscRawDataProvider.h:46
TrigRoiDescriptor.h
Muon::CscRawDataProvider::initialize
virtual StatusCode initialize()
Initialize.
Definition: CscRawDataProvider.cxx:17