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
10#include <vector>
11
12class TgcRdo;
13class MsgStream;
14
15namespace Muon {
16
22
24 private:
25 typedef std::vector<uint32_t> ByteStream;
26
27 public:
33 static void rdo2ByteStream(const TgcRdo* rdo, ByteStream& bs,
34 MsgStream& log);
36 static void byteStream2Rdo(const ByteStream& bs, TgcRdo& rdo,
37 uint32_t source_id, MsgStream& log);
38};
39} // namespace Muon
40
41#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.