ATLAS Offline Software
RPCbytestream.h
Go to the documentation of this file.
1 /* // -*- C++ -*- */
2 
3 /*
4  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 
8 #ifndef RPCbytestream_H
9 #define RPCbytestream_H
10 
11 #include <algorithm>
12 #include <map>
13 #include "TrigT1RPClogic/CMAdata.h"
16 
17 #include "GaudiKernel/MsgStream.h"
18 
20 {
21  public:
22  typedef unsigned long int debu;
23  typedef std::map < int, CMAreadout, std::less <int> > CMA_Readout;
24  typedef std::map < int, PADreadout, std::less <int> > PAD_Readout;
25 
26  private:
27  debu m_cma_ro_debug; // bits for debugging CMA readout
28  debu m_pad_ro_debug; // bits for debugging PAD readout
29  debu m_rx_ro_debug; // bits for debugging Rx readout
30  debu m_sl_ro_debug; // bits for debugging SL readout
31 
32  debu m_cma_rostruct_debug; // bits for debugging CMA ro struct
33  debu m_pad_rostruct_debug; // bits for debugging PAD ro struct
34  debu m_rx_rostruct_debug; // bits for debugging Rx ro struct
35  debu m_sl_rostruct_debug; // bits for debugging SL ro struct
36 
37  std::string m_filename;
38 
41 
42  void build_pad_readout(MsgStream& log, uint NOBXS);
43  void dump_rpc_bytestream(void);
44 
45  public:
46  RPCbytestream(CMAdata&,const std::string&,MsgStream&,
50 
51  debu cma_ro_debug(void) const {return m_cma_ro_debug;}
52  debu pad_ro_debug(void) const {return m_pad_ro_debug;}
53  debu rx_ro_debug(void) const {return m_rx_ro_debug;}
54  debu sl_ro_debug(void) const {return m_sl_ro_debug;}
55 
60 
61  std::string filename(void) const {return m_filename;}
62 
63  CMA_Readout cma_readout(void) const {return m_cma_readout;}
64  PAD_Readout pad_readout(void) const {return m_pad_readout;}
65 };
66 
67 #endif
RPCbytestream::filename
std::string filename(void) const
Definition: RPCbytestream.h:61
RPCbytestream::m_pad_ro_debug
debu m_pad_ro_debug
Definition: RPCbytestream.h:28
RPCbytestream::debu
unsigned long int debu
Definition: RPCbytestream.h:22
RPCbytestream::rx_ro_debug
debu rx_ro_debug(void) const
Definition: RPCbytestream.h:53
RPCbytestream::m_sl_ro_debug
debu m_sl_ro_debug
Definition: RPCbytestream.h:30
RPCbytestream::pad_rostruct_debug
debu pad_rostruct_debug(void) const
Definition: RPCbytestream.h:57
RPCbytestream::RPCbytestream
RPCbytestream(CMAdata &, const std::string &, MsgStream &, debu, debu, debu, debu, debu, debu, debu, debu, uint, uint)
Definition: RPCbytestream.cxx:13
RPCbytestream::rx_rostruct_debug
debu rx_rostruct_debug(void) const
Definition: RPCbytestream.h:58
CMAreadout.h
RPCbytestream::m_cma_readout
CMA_Readout m_cma_readout
Definition: RPCbytestream.h:39
RPCbytestream::dump_rpc_bytestream
void dump_rpc_bytestream(void)
Definition: RPCbytestream.cxx:126
RPCbytestream::cma_rostruct_debug
debu cma_rostruct_debug(void) const
Definition: RPCbytestream.h:56
RPCbytestream::build_pad_readout
void build_pad_readout(MsgStream &log, uint NOBXS)
Definition: RPCbytestream.cxx:77
RPCbytestream::pad_readout
PAD_Readout pad_readout(void) const
Definition: RPCbytestream.h:64
CMAdata
Definition: CMAdata.h:19
RPCbytestream::m_rx_ro_debug
debu m_rx_ro_debug
Definition: RPCbytestream.h:29
RPCbytestream::m_sl_rostruct_debug
debu m_sl_rostruct_debug
Definition: RPCbytestream.h:35
RPCbytestream::m_pad_rostruct_debug
debu m_pad_rostruct_debug
Definition: RPCbytestream.h:33
PADreadout.h
CMAdata.h
uint
unsigned int uint
Definition: LArOFPhaseFill.cxx:20
RPCbytestream::cma_ro_debug
debu cma_ro_debug(void) const
Definition: RPCbytestream.h:51
RPCbytestream::cma_readout
CMA_Readout cma_readout(void) const
Definition: RPCbytestream.h:63
RPCbytestream::m_filename
std::string m_filename
Definition: RPCbytestream.h:37
RPCbytestream::~RPCbytestream
~RPCbytestream()
Definition: RPCbytestream.cxx:70
RPCtrigDataObject
Definition: RPCtrigDataObject.h:15
RPCbytestream
Definition: RPCbytestream.h:20
RPCbytestream::m_rx_rostruct_debug
debu m_rx_rostruct_debug
Definition: RPCbytestream.h:34
RPCbytestream::m_cma_ro_debug
debu m_cma_ro_debug
Definition: RPCbytestream.h:27
RPCbytestream::sl_ro_debug
debu sl_ro_debug(void) const
Definition: RPCbytestream.h:54
python.CaloCondTools.log
log
Definition: CaloCondTools.py:20
RPCbytestream::m_pad_readout
PAD_Readout m_pad_readout
Definition: RPCbytestream.h:40
RPCbytestream::sl_rostruct_debug
debu sl_rostruct_debug(void) const
Definition: RPCbytestream.h:59
RPCbytestream::m_cma_rostruct_debug
debu m_cma_rostruct_debug
Definition: RPCbytestream.h:32
RPCbytestream::PAD_Readout
std::map< int, PADreadout, std::less< int > > PAD_Readout
Definition: RPCbytestream.h:24
RPCbytestream::pad_ro_debug
debu pad_ro_debug(void) const
Definition: RPCbytestream.h:52
RPCbytestream::CMA_Readout
std::map< int, CMAreadout, std::less< int > > CMA_Readout
Definition: RPCbytestream.h:23