ATLAS Offline Software
ALFA_RawDataProviderTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef ALFA_RAWDATAPROVIDERTOOL_H
6 #define ALFA_RAWDATAPROVIDERTOOL_H
7 
9 #include "GaudiKernel/ToolHandle.h"
10 
14 
15 #include "ALFA_Decoder.h"
16 
17 #include <stdint.h>
18 
19 #include <vector>
20 #include <set>
21 #include <string>
22 
23 
24 class ALFA_RawData;
27 
28 
29 // the tool to decode a ROB fragment
30 
32 {
33 
34  public:
35 
37  ALFA_RawDataProviderTool(const std::string& type, const std::string& name, const IInterface* parent);
38 
40  virtual ~ALFA_RawDataProviderTool();
41 
43  virtual StatusCode initialize() override;
44 
46  StatusCode convert(std::vector<const OFFLINE_FRAGMENTS_NAMESPACE::ROBFragment*>& vecRobs,ALFA_RawDataContainer* rdoCont);
47 
48 private:
49 
50  ToolHandle<ALFA_Decoder> m_decoder{this, "Decoder", "ALFA_Decoder"};
51 
52 };
53 
54 #endif
55 
ALFA_RawDataProviderTool
Definition: ALFA_RawDataProviderTool.h:32
ALFA_RawDataContainer.h
ALFA_RawDataProviderTool::m_decoder
ToolHandle< ALFA_Decoder > m_decoder
Definition: ALFA_RawDataProviderTool.h:50
ALFA_RawData
Definition: ALFA_RawData.h:21
ALFA_RawData.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
test_pyathena.parent
parent
Definition: test_pyathena.py:15
ALFA_RawDataProviderTool::~ALFA_RawDataProviderTool
virtual ~ALFA_RawDataProviderTool()
destructor
Definition: ALFA_RawDataProviderTool.cxx:22
ALFA_RawDataCollection
RDOs : Chamber Service Module, collection of RawData.
Definition: ALFA_RawDataCollection.h:19
ALFA_RawDataProviderTool::initialize
virtual StatusCode initialize() override
initialize
Definition: ALFA_RawDataProviderTool.cxx:27
ALFA_RawDataProviderTool::convert
StatusCode convert(std::vector< const OFFLINE_FRAGMENTS_NAMESPACE::ROBFragment * > &vecRobs, ALFA_RawDataContainer *rdoCont)
this is the main decoding method
Definition: ALFA_RawDataProviderTool.cxx:41
ALFA_RawDataProviderTool::ALFA_RawDataProviderTool
ALFA_RawDataProviderTool(const std::string &type, const std::string &name, const IInterface *parent)
constructor
Definition: ALFA_RawDataProviderTool.cxx:14
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
ALFA_RawDataContainer
This container provides acces to the PMF RDOs.
Definition: ALFA_RawDataContainer.h:21
ALFA_Decoder.h
AthAlgTool
Definition: AthAlgTool.h:26
ALFA_RawDataCollection.h