ATLAS Offline Software
Loading...
Searching...
No Matches
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):
20class CTP_RDO;
21
34
35private:
37
38public:
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
51private:
56
57}; // class CTPByteStreamTool
58
59#endif // TRIGT1RESULTBYTESTREAM_CTPBYTESTREAMTOOL_H
const boost::regex re(r_e)
OFFLINE_FRAGMENTS_NAMESPACE_WRITE::FullEventFragment RawEventWrite
data type for writing raw event
Definition RawEvent.h:39
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
StatusCode convert(const ROBF *rob, CTP_RDO *&result)
Convert ROBFragment to CTP_RDO.
CTPSrcIdMap m_srcIdMap
Object storing the various IDs of the CTP fragment.
FullEventAssembler< CTPSrcIdMap > m_fea
Object used in creating the CTP ROB fragment.
CTPByteStreamTool(const std::string &type, const std::string &name, const IInterface *parent)
Default constructor.
OFFLINE_FRAGMENTS_NAMESPACE::ROBFragment ROBF
static const InterfaceID & interfaceID()
AlgTool InterfaceID.
This class provides conversion between Lower level Source ID to higher level source ID for CTP ByteSt...
Definition CTPSrcIdMap.h:16
eformat::ROBFragment< PointerType > ROBFragment
Definition RawEvent.h:27