ATLAS Offline Software
Loading...
Searching...
No Matches
JepByteStreamV2Cnv.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_JEPBYTESTREAMV2CNV_H
6#define TRIGT1CALOBYTESTREAM_JEPBYTESTREAMV2CNV_H
7
8#include <string>
9
11#include "GaudiKernel/ClassID.h"
12#include "GaudiKernel/ServiceHandle.h"
13#include "GaudiKernel/ToolHandle.h"
14
15class DataObject;
16class IOpaqueAddress;
17class ISvcLocator;
18class StatusCode;
19
20template <typename> class CnvFactory;
21
22
23namespace LVL1BS {
24
26
31
33public:
34 JepByteStreamV2Cnv(ISvcLocator* svcloc);
35
36 virtual ~JepByteStreamV2Cnv();
37
38 virtual StatusCode initialize() override;
40 virtual StatusCode createRepConst(DataObject* pObj, IOpaqueAddress*& pAddr) 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
47private:
49 ToolHandle<LVL1BS::JepByteStreamV2Tool> m_tool;
50};
51
52} // end namespace
53
54#endif
Gaudi converter base class with const interfaces.
uint32_t CLID
The Class ID type.
AthConstConverter(long storage_type, const CLID &class_type, ISvcLocator *svc, const std::string &name)
Abstract factory to create the converter.
virtual long repSvcType() const override
JepByteStreamV2Cnv(ISvcLocator *svcloc)
ToolHandle< LVL1BS::JepByteStreamV2Tool > m_tool
Tool that does the actual work.
static const CLID & classID()
virtual StatusCode createRepConst(DataObject *pObj, IOpaqueAddress *&pAddr) const override
Create ByteStream from JEP Container.
virtual StatusCode initialize() override
Tool to perform ROB fragments to jet elements, jet hits and energy sums, and JEP container to raw dat...