ATLAS Offline Software
BCM_RawDataProvider.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 // Top algorithm to decode the BCM BS
8 
9 #ifndef BCM_RAWDATABYTESTREAMCNV_BCM_RAWDATAPROVIDER_H
10 #define BCM_RAWDATABYTESTREAMCNV_BCM_RAWDATAPROVIDER_H
11 
15 #include "GaudiKernel/ServiceHandle.h"
16 #include "GaudiKernel/ToolHandle.h"
18 
20 
22 {
23 public:
24 
27 
29  virtual StatusCode initialize() override;
30 
32  virtual StatusCode execute(const EventContext& ctx) const override;
33 
35  virtual StatusCode finalize() override
36  { return StatusCode::SUCCESS; }
37 
39  virtual ~BCM_RawDataProvider();
40 
41 private:
42 
43  ServiceHandle<IROBDataProviderSvc> m_robDataProvider{this,"ROBDataProviderSvc","ROBDataProviderSvc"};
44  ToolHandle<BCM_RawDataProviderTool> m_rawDataTool{this,"ProviderTool","BCM_RawDataProviderTool"};
45  SG::WriteHandleKey<BCM_RDO_Container> m_RDO_Key{this, "RDOKey", "BCM_RDOs", "" };
46 };
47 
48 #endif
49 
BCM_RawDataProvider::initialize
virtual StatusCode initialize() override
Initialize.
Definition: BCM_RawDataProvider.cxx:27
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
BCM_RawDataProvider::~BCM_RawDataProvider
virtual ~BCM_RawDataProvider()
Destructor.
Definition: BCM_RawDataProvider.cxx:21
BCM_RawDataProvider::finalize
virtual StatusCode finalize() override
Finalize.
Definition: BCM_RawDataProvider.h:35
AthReentrantAlgorithm::AthReentrantAlgorithm
AthReentrantAlgorithm()
Default constructor:
SG::WriteHandleKey< BCM_RDO_Container >
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
BCM_RawDataProvider::m_rawDataTool
ToolHandle< BCM_RawDataProviderTool > m_rawDataTool
Definition: BCM_RawDataProvider.h:44
BCM_RawDataProvider::execute
virtual StatusCode execute(const EventContext &ctx) const override
Execute.
Definition: BCM_RawDataProvider.cxx:53
BCM_RawDataProviderTool
Definition: BCM_RawDataProviderTool.h:18
AthReentrantAlgorithm.h
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
BCM_RawDataProvider::m_robDataProvider
ServiceHandle< IROBDataProviderSvc > m_robDataProvider
Definition: BCM_RawDataProvider.h:43
BCM_RDO_Container.h
BCM_RawDataProvider::m_RDO_Key
SG::WriteHandleKey< BCM_RDO_Container > m_RDO_Key
Definition: BCM_RawDataProvider.h:45
BCM_RawDataProvider
Definition: BCM_RawDataProvider.h:22
IROBDataProviderSvc.h
ServiceHandle< IROBDataProviderSvc >