ATLAS Offline Software
CTPByteStreamTool.h
Go to the documentation of this file.
1 // Dear emacs, this is -*- c++ -*-
2 
3 /*
4  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 #ifndef TRIGT1RESULTBYTESTREAM_CTPBYTESTREAMTOOL_H
8 #define TRIGT1RESULTBYTESTREAM_CTPBYTESTREAMTOOL_H
9 
10 // Gaudi/Athena include(s):
12 
15 
16 // Local include(s):
17 #include "CTPSrcIdMap.h"
18 
19 // Forward declaration(s):
20 class CTP_RDO;
21 
33 class CTPByteStreamTool : public AthAlgTool {
34 
35 private:
37 
38 public:
40  CTPByteStreamTool( const std::string& type, const std::string& name,
41  const IInterface* parent );
42 
44  static const InterfaceID& interfaceID();
45 
47  StatusCode convert( const ROBF* rob, CTP_RDO*& result );
50 
51 private:
56 
57 }; // class CTPByteStreamTool
58 
59 #endif // TRIGT1RESULTBYTESTREAM_CTPBYTESTREAMTOOL_H
RawEventWrite
OFFLINE_FRAGMENTS_NAMESPACE_WRITE::FullEventFragment RawEventWrite
data type for writing raw event
Definition: RawEvent.h:39
get_generator_info.result
result
Definition: get_generator_info.py:21
FullEventAssembler< CTPSrcIdMap >
CTPByteStreamTool::m_fea
FullEventAssembler< CTPSrcIdMap > m_fea
Object used in creating the CTP ROB fragment.
Definition: CTPByteStreamTool.h:55
CTPByteStreamTool::m_srcIdMap
CTPSrcIdMap m_srcIdMap
Object storing the various IDs of the CTP fragment.
Definition: CTPByteStreamTool.h:53
eformat::ROBFragment
Definition: L1CaloBsDecoderUtil.h:12
RawEvent.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
CTPByteStreamTool::convert
StatusCode convert(const ROBF *rob, CTP_RDO *&result)
Convert ROBFragment to CTP_RDO.
Definition: CTPByteStreamTool.cxx:96
FullEventAssembler.h
CTPSrcIdMap.h
CTPByteStreamTool::interfaceID
static const InterfaceID & interfaceID()
AlgTool InterfaceID.
Definition: CTPByteStreamTool.cxx:23
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
CTPSrcIdMap
This class provides conversion between Lower level Source ID to higher level source ID for CTP ByteSt...
Definition: CTPSrcIdMap.h:16
CTPByteStreamTool::CTPByteStreamTool
CTPByteStreamTool(const std::string &type, const std::string &name, const IInterface *parent)
Default constructor.
Definition: CTPByteStreamTool.cxx:31
CTP_RDO
Definition: CTP_RDO.h:20
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
re
const boost::regex re(r_e)
CTPByteStreamTool
Tool doing the CTP_RDO <-> ByteStream conversion.
Definition: CTPByteStreamTool.h:33
AthAlgTool
Definition: AthAlgTool.h:26
CTPByteStreamTool::ROBF
OFFLINE_FRAGMENTS_NAMESPACE::ROBFragment ROBF
Definition: CTPByteStreamTool.h:36