ATLAS Offline Software
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 
11 class TgcRdo;
12 class MsgStream;
13 
14 namespace Muon
15 {
16 
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
xAOD::uint32_t
setEventNumber uint32_t
Definition: EventInfo_v1.cxx:127
Muon
This class provides conversion from CSC RDO data to CSC Digits.
Definition: TrackSystemController.h:49
Muon::TgcByteStream::rdo2ByteStream
static void rdo2ByteStream(const TgcRdo *rdo, ByteStream &bs, MsgStream &log)
Convert RDO to ByteStream.
Definition: TgcByteStream.cxx:18
Muon::TgcByteStream::~TgcByteStream
~TgcByteStream()
Destructor.
Muon::TgcByteStream::TgcByteStream
TgcByteStream()
Constructor.
Muon::TgcByteStream::byteStream2Rdo
static void byteStream2Rdo(const ByteStream &bs, TgcRdo &rdo, uint32_t source_id, MsgStream &log)
Convert ByteStream to RDO.
Definition: TgcByteStream.cxx:200
Muon::TgcByteStream
Definition: TgcByteStream.h:24
python.CaloCondTools.log
log
Definition: CaloCondTools.py:20
TgcRdo
Definition: TgcRdo.h:22
Muon::TgcByteStream::ByteStream
std::vector< uint32_t > ByteStream
Definition: TgcByteStream.h:26