ATLAS Offline Software
ALFA_RawDataProviderTool_charge.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_CHARGE_H
6 #define ALFA_RAWDATAPROVIDERTOOL_CHARGE_H
7 
9 #include "GaudiKernel/ToolHandle.h"
10 
11 #include "ByteStreamData/RawEvent.h"
12 
16 
17 #include "ALFA_Decoder_charge.h"
18 
19 #include <stdint.h>
20 
21 #include <vector>
22 #include <set>
23 #include <string>
24 
25 
29 
30 
31 // the tool to decode a ROB fragment
32 
34 {
35 
36  public:
37 
39  ALFA_RawDataProviderTool_charge(const std::string& type, const std::string& name, const IInterface* parent);
40 
43 
45  virtual StatusCode initialize() override;
46 
48  StatusCode convert_charge(std::vector<const OFFLINE_FRAGMENTS_NAMESPACE::ROBFragment*>& vecRobs,ALFA_RawDataContainer_charge* rdoCont);
49 
50 private:
51 
52  ToolHandle<ALFA_Decoder_charge> m_decoder_charge{this, "Decoder_charge", "ALFA_Decoder_charge"};
53 
54 };
55 
56 #endif
57 
ALFA_RawDataContainer_charge.h
ALFA_RawDataCollection_charge
RDOs : Chamber Service Module, collection of RawData.
Definition: ALFA_RawDataCollection_charge.h:19
ALFA_RawDataProviderTool_charge::m_decoder_charge
ToolHandle< ALFA_Decoder_charge > m_decoder_charge
Definition: ALFA_RawDataProviderTool_charge.h:52
ALFA_RawDataProviderTool_charge::ALFA_RawDataProviderTool_charge
ALFA_RawDataProviderTool_charge(const std::string &type, const std::string &name, const IInterface *parent)
constructor
Definition: ALFA_RawDataProviderTool_charge.cxx:14
ALFA_RawData_charge.h
ALFA_RawData_charge
Definition: ALFA_RawData_charge.h:21
RawEvent.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ALFA_Decoder_charge.h
AthAlgTool.h
test_pyathena.parent
parent
Definition: test_pyathena.py:15
ALFA_RawDataProviderTool_charge::~ALFA_RawDataProviderTool_charge
virtual ~ALFA_RawDataProviderTool_charge()
destructor
Definition: ALFA_RawDataProviderTool_charge.cxx:22
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:192
ALFA_RawDataProviderTool_charge
Definition: ALFA_RawDataProviderTool_charge.h:34
ALFA_RawDataContainer_charge
This container provides acces to the PMF RDOs.
Definition: ALFA_RawDataContainer_charge.h:21
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
ALFA_RawDataProviderTool_charge::convert_charge
StatusCode convert_charge(std::vector< const OFFLINE_FRAGMENTS_NAMESPACE::ROBFragment * > &vecRobs, ALFA_RawDataContainer_charge *rdoCont)
this is the main decoding method
Definition: ALFA_RawDataProviderTool_charge.cxx:41
AthAlgTool
Definition: AthAlgTool.h:26
ALFA_RawDataCollection_charge.h
ALFA_RawDataProviderTool_charge::initialize
virtual StatusCode initialize() override
initialize
Definition: ALFA_RawDataProviderTool_charge.cxx:27