ATLAS Offline Software
ALFA_RawDataProvider_charge.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_CHARGE_H
10 #define ALFA_RAWDATABYTESTREAMCNV_ALFA_RAWDATAPROVIDER_CHARGE_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_charge(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 
52 
55 
56  private:
57 
60 
62  ToolHandle<ALFA_RawDataProviderTool_charge> m_rawDataTool_charge;
63 
65  std::string m_collection;
66 
67 };
68 
69 #endif
70 
71 
ALFA_RawDataProvider_charge
Definition: ALFA_RawDataProvider_charge.h:36
ALFA_RawDataProvider_charge::m_rawDataTool_charge
ToolHandle< ALFA_RawDataProviderTool_charge > m_rawDataTool_charge
Tool that does the actual work.
Definition: ALFA_RawDataProvider_charge.h:62
ALFA_RawDataProvider_charge::ALFA_RawDataProvider_charge
ALFA_RawDataProvider_charge(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition: ALFA_RawDataProvider_charge.cxx:17
ALFA_RawDataProviderTool_charge.h
ALFA_RawDataProvider_charge::m_ALFA_RawDataCollectionKey_charge
std::string m_ALFA_RawDataCollectionKey_charge
Definition: ALFA_RawDataProvider_charge.h:64
ALFA_RawDataProvider_charge::initialize
virtual StatusCode initialize()
Initialize.
Definition: ALFA_RawDataProvider_charge.cxx:37
ALFA_RawDataProvider_charge::~ALFA_RawDataProvider_charge
~ALFA_RawDataProvider_charge()
Destructor.
Definition: ALFA_RawDataProvider_charge.cxx:31
ALFA_RawDataProvider_charge::m_collection
std::string m_collection
Definition: ALFA_RawDataProvider_charge.h:65
AthAlgorithm.h
ALFA_RawDataProvider_charge::finalize
virtual StatusCode finalize()
Finalize.
Definition: ALFA_RawDataProvider_charge.h:49
ALFA_RawDataProvider_charge::m_robDataProvider
ServiceHandle< IROBDataProviderSvc > m_robDataProvider
Service for reading bytestream.
Definition: ALFA_RawDataProvider_charge.h:59
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ALFA_RawDataProvider_charge::execute
virtual StatusCode execute()
Execute.
Definition: ALFA_RawDataProvider_charge.cxx:65
AthAlgorithm
Definition: AthAlgorithm.h:47
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
ALFA_RawDataProviderTool_charge
Definition: ALFA_RawDataProviderTool_charge.h:34
DataVector.h
An STL vector of pointers that by default owns its pointed-to elements.
IROBDataProviderSvc.h
ALFA_RawEvDict.h
ServiceHandle< IROBDataProviderSvc >