ATLAS Offline Software
ALFA_RawDataProvider.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 // Top algorithm to decode the ALFA BS
8 
9 #ifndef ALFA_RAWDATABYTESTREAMCNV_ALFA_RAWDATAPROVIDER_H
10 #define ALFA_RAWDATABYTESTREAMCNV_ALFA_RAWDATAPROVIDER_H
11 
13 
14 #include "GaudiKernel/ClassID.h"
15 #include "GaudiKernel/Converter.h"
16 #include "GaudiKernel/MsgStream.h"
17 #include "GaudiKernel/ServiceHandle.h"
18 #include "GaudiKernel/ToolHandle.h"
19 
22 
24 
26 
27 #include <map>
28 #include <string>
29 
31 class ISvcLocator;
32 class StatusCode;
33 
34 
36 {
37  public:
38 
40  ALFA_RawDataProvider(const std::string &name, ISvcLocator *pSvcLocator);
41 
43  virtual StatusCode initialize();
44 
46  virtual StatusCode execute();
47 
49  virtual StatusCode finalize()
50  { return StatusCode::SUCCESS; }
51 
54 
55  private:
56 
59 
61  ToolHandle<ALFA_RawDataProviderTool> m_rawDataTool;
63 
64  std::string m_collection;
65 
66 };
67 
68 #endif
69 
70 
ALFA_RawDataProviderTool
Definition: ALFA_RawDataProviderTool.h:32
ALFA_RawDataProvider::~ALFA_RawDataProvider
~ALFA_RawDataProvider()
Destructor.
Definition: ALFA_RawDataProvider.cxx:31
ALFA_RawDataProviderTool.h
ALFA_RawDataProvider::finalize
virtual StatusCode finalize()
Finalize.
Definition: ALFA_RawDataProvider.h:49
ALFA_RawDataProvider::m_ALFA_RawDataCollectionKey
std::string m_ALFA_RawDataCollectionKey
Definition: ALFA_RawDataProvider.h:62
AthAlgorithm.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ALFA_RawDataProvider::ALFA_RawDataProvider
ALFA_RawDataProvider(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition: ALFA_RawDataProvider.cxx:17
ALFA_RawDataProvider::initialize
virtual StatusCode initialize()
Initialize.
Definition: ALFA_RawDataProvider.cxx:36
ALFA_RawDataProvider
Definition: ALFA_RawDataProvider.h:36
ALFA_RawDataProvider::m_rawDataTool
ToolHandle< ALFA_RawDataProviderTool > m_rawDataTool
Tool that does the actual work.
Definition: ALFA_RawDataProvider.h:61
ALFA_RawDataProvider::execute
virtual StatusCode execute()
Execute.
Definition: ALFA_RawDataProvider.cxx:67
AthAlgorithm
Definition: AthAlgorithm.h:47
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
ALFA_RawDataProvider::m_robDataProvider
ServiceHandle< IROBDataProviderSvc > m_robDataProvider
Service for reading bytestream.
Definition: ALFA_RawDataProvider.h:58
DataVector.h
An STL vector of pointers that by default owns its pointed-to elements.
ALFA_RawDataProvider::m_collection
std::string m_collection
Definition: ALFA_RawDataProvider.h:64
IROBDataProviderSvc.h
ALFA_RawEvDict.h
ServiceHandle< IROBDataProviderSvc >