ATLAS Offline Software
L1CaloErrorByteStreamCnv.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TRIGT1CALOBYTESTREAM_L1CALOERRORBYTESTREAMCNV_H
6 #define TRIGT1CALOBYTESTREAM_L1CALOERRORBYTESTREAMCNV_H
7 
8 #include <string>
9 
11 #include "GaudiKernel/ClassID.h"
12 #include "GaudiKernel/ToolHandle.h"
13 
14 class DataObject;
15 class IOpaqueAddress;
16 class ISvcLocator;
17 class StatusCode;
18 
19 template <typename> class CnvFactory;
20 
21 
22 namespace LVL1BS {
23 
24 class L1CaloErrorByteStreamTool;
25 
32 
33 public:
34  L1CaloErrorByteStreamCnv(ISvcLocator* svcloc);
35 
36  virtual ~L1CaloErrorByteStreamCnv();
37 
38  virtual StatusCode initialize() override;
40  virtual StatusCode createObjConst (IOpaqueAddress* pAddr, DataObject*& pObj) const override;
41 
42  // Storage type and class ID
43  virtual long repSvcType() const override { return i_repSvcType(); }
44  static long storageType();
45  static const CLID& classID();
46 
47 private:
49  ToolHandle<LVL1BS::L1CaloErrorByteStreamTool> m_tool;
50 };
51 
52 } // end namespace
53 
54 #endif
LVL1BS::L1CaloErrorByteStreamCnv::initialize
virtual StatusCode initialize() override
Definition: L1CaloErrorByteStreamCnv.cxx:51
LVL1BS::L1CaloErrorByteStreamCnv::createObjConst
virtual StatusCode createObjConst(IOpaqueAddress *pAddr, DataObject *&pObj) const override
Create error vector from ByteStream.
Definition: L1CaloErrorByteStreamCnv.cxx:61
LVL1BS::L1CaloErrorByteStreamCnv::repSvcType
virtual long repSvcType() const override
Definition: L1CaloErrorByteStreamCnv.h:43
AthConstConverter
Gaudi converter base class with const interfaces.
Definition: AthConstConverter.h:33
LVL1BS::L1CaloErrorByteStreamCnv::~L1CaloErrorByteStreamCnv
virtual ~L1CaloErrorByteStreamCnv()
Definition: L1CaloErrorByteStreamCnv.cxx:32
LVL1BS::L1CaloErrorByteStreamCnv::m_tool
ToolHandle< LVL1BS::L1CaloErrorByteStreamTool > m_tool
Tool that does the actual work.
Definition: L1CaloErrorByteStreamCnv.h:49
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthConstConverter.h
Gaudi converter base class with const interfaces.
CnvFactory
Abstract factory to create the converter.
Definition: ToyConverter.h:16
CLID
uint32_t CLID
The Class ID type.
Definition: Event/xAOD/xAODCore/xAODCore/ClassID_traits.h:47
LVL1BS::L1CaloErrorByteStreamCnv::storageType
static long storageType()
Definition: L1CaloErrorByteStreamCnv.cxx:43
LVL1BS
Definition: ZdcByteStreamReadV1V2Tool.h:47
LVL1BS::L1CaloErrorByteStreamCnv::classID
static const CLID & classID()
Definition: L1CaloErrorByteStreamCnv.cxx:38
LVL1BS::L1CaloErrorByteStreamCnv
Returns vector of errors detected during data unpacking.
Definition: L1CaloErrorByteStreamCnv.h:31
LVL1BS::L1CaloErrorByteStreamCnv::L1CaloErrorByteStreamCnv
L1CaloErrorByteStreamCnv(ISvcLocator *svcloc)
Definition: L1CaloErrorByteStreamCnv.cxx:26