ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigT1
TrigT1ResultByteStream
src
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):
11
#include "
AthenaBaseComps/AthAlgTool.h
"
12
13
#include "
ByteStreamData/RawEvent.h
"
14
#include "
ByteStreamCnvSvcBase/FullEventAssembler.h
"
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
:
36
typedef
OFFLINE_FRAGMENTS_NAMESPACE::ROBFragment
ROBF
;
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 );
49
StatusCode
convert
(
const
CTP_RDO
* result,
RawEventWrite
*
re
);
50
51
private
:
53
CTPSrcIdMap
m_srcIdMap
;
55
FullEventAssembler< CTPSrcIdMap >
m_fea
;
56
57
};
// class CTPByteStreamTool
58
59
#endif
// TRIGT1RESULTBYTESTREAM_CTPBYTESTREAMTOOL_H
re
const std::regex re(r_e)
AthAlgTool.h
CTPSrcIdMap.h
FullEventAssembler.h
RawEvent.h
RawEventWrite
OFFLINE_FRAGMENTS_NAMESPACE_WRITE::FullEventFragment RawEventWrite
data type for writing raw event
Definition
RawEvent.h:39
AthAlgTool::AthAlgTool
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
Definition
AthAlgTool.cxx:16
CTPByteStreamTool::convert
StatusCode convert(const ROBF *rob, CTP_RDO *&result)
Convert ROBFragment to CTP_RDO.
Definition
CTPByteStreamTool.cxx:96
CTPByteStreamTool::m_srcIdMap
CTPSrcIdMap m_srcIdMap
Object storing the various IDs of the CTP fragment.
Definition
CTPByteStreamTool.h:53
CTPByteStreamTool::m_fea
FullEventAssembler< CTPSrcIdMap > m_fea
Object used in creating the CTP ROB fragment.
Definition
CTPByteStreamTool.h:55
CTPByteStreamTool::CTPByteStreamTool
CTPByteStreamTool(const std::string &type, const std::string &name, const IInterface *parent)
Default constructor.
Definition
CTPByteStreamTool.cxx:31
CTPByteStreamTool::ROBF
OFFLINE_FRAGMENTS_NAMESPACE::ROBFragment ROBF
Definition
CTPByteStreamTool.h:36
CTPByteStreamTool::interfaceID
static const InterfaceID & interfaceID()
AlgTool InterfaceID.
Definition
CTPByteStreamTool.cxx:23
CTPSrcIdMap
This class provides conversion between Lower level Source ID to higher level source ID for CTP ByteSt...
Definition
CTPSrcIdMap.h:16
CTP_RDO
Definition
CTP_RDO.h:20
FullEventAssembler< CTPSrcIdMap >
OFFLINE_FRAGMENTS_NAMESPACE::ROBFragment
eformat::ROBFragment< PointerType > ROBFragment
Definition
RawEvent.h:27
type
Generated on
for ATLAS Offline Software by
1.17.0