ATLAS Offline Software
Loading...
Searching...
No Matches
TgcByteStream.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef MUONTGC_CNVTOOLS_TGCBYTESTREAM_H
6#define MUONTGC_CNVTOOLS_TGCBYTESTREAM_H
7
8#include <inttypes.h>
9#include <vector>
10
11class TgcRdo;
12class MsgStream;
13
14namespace Muon
15{
16
22
24 {
25 private:
26 typedef std::vector<uint32_t> ByteStream;
27
28 public:
34 static void rdo2ByteStream(const TgcRdo* rdo, ByteStream& bs, MsgStream& log);
36 static void byteStream2Rdo(const ByteStream& bs, TgcRdo& rdo, uint32_t source_id, MsgStream& log);
37 };
38} // end of namespace
39
40#endif // MUONTGC_CNVTOOLS_TGCBYTESTREAM_H
std::vector< uint32_t > ByteStream
static void byteStream2Rdo(const ByteStream &bs, TgcRdo &rdo, uint32_t source_id, MsgStream &log)
Convert ByteStream to RDO.
TgcByteStream()
Constructor.
~TgcByteStream()
Destructor.
static void rdo2ByteStream(const TgcRdo *rdo, ByteStream &bs, MsgStream &log)
Convert RDO to ByteStream.
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.