![]() |
ATLAS Offline Software
|
Provides conversion from TileRawChannel, TileL2 and TMDB (digits,MF raw channel,decision) to ROD format. More...
#include <TileROD_Encoder.h>
Public Member Functions | |
| TileROD_Encoder () | |
| constructor | |
| void | setTileHWID (const TileHWID *tileHWID, bool verbose, unsigned int type=4) |
| set all necessary parameters for the encoder | |
| void | setTileHWID (const TileHWID *tileHWID, int m_runPeriod) |
| void | setTypeAndUnit (TileFragHash::TYPE type, TileRawChannelUnit::UNIT unit) |
| set OF algorigtm type and amplitude units for a drawer | |
| void | setMaxChannels (int maxChannels) |
| set maximum number of channels in a drawer | |
| ~TileROD_Encoder () | |
| destructor | |
| void | add (const TileFastRawChannel *rc) |
| add TileRawChannels to the current list | |
| void | addL2 (const TileL2 *l2) |
| add TileL2s to the current list | |
| void | addTileMuRcvObj (const TileMuonReceiverObj *tileMuRcvObj) |
| add TMBDs ROD sub-fragmens TileMuRcvObj (type3) to the current list | |
| void | addDigi (const TileDigits *digi) |
| add TileDigits to the current list | |
| void | fillROD (std::vector< uint32_t > &v) |
| convert all TileRawChannels in the current list to a vector of 32bit words | |
| void | fillROD2 (std::vector< uint32_t > &v) |
| void | fillROD3 (std::vector< uint32_t > &v) |
| void | fillROD4 (std::vector< uint32_t > &v) |
| void | fillROD5 (std::vector< uint32_t > &v) |
| void | fillROD10 (std::vector< uint32_t > &v) |
| convert all TileL2s in the current list to a vector of 32bit words | |
| void | fillROD12 (std::vector< uint32_t > &v) |
| void | fillRODL2 (std::vector< uint32_t > &v) |
| void | fillROD1 (std::vector< uint32_t > &v) |
| convert all TileDigits in the current list to a vector of 32bit words | |
| void | fillROD5D (std::vector< uint32_t > &v) |
| void | fillRODTileMuRcvDigi (std::vector< uint32_t > &v) |
| convert the TMDB objects into a vector of 32bit words: 8bit words/digit, 16bit words/RC, 16bit words/decision | |
| void | fillRODTileMuRcvRawChannel (std::vector< uint32_t > &v) |
| void | fillRODTileMuRcvObj (std::vector< uint32_t > &v) |
| void | dumpROD (const std::vector< uint32_t > &v) |
| dump contents of the ROD fragment | |
| bool | msgLvl (const MSG::Level lvl) const |
| Test the output level. | |
| MsgStream & | msg () const |
| The standard message stream. | |
| MsgStream & | msg (const MSG::Level lvl) const |
| The standard message stream. | |
| void | setLevel (MSG::Level lvl) |
| Change the current logging level. | |
Private Member Functions | |
| void | setBit (uint32_t *p, int chan) |
| set the bitmap for a channel | |
| bool | checkBit (const uint32_t *p, int chan) |
| check the bitmap for a channel | |
| void | initMessaging () const |
| Initialize our message level and MessageSvc. | |
Private Attributes | |
| std::vector< const TileFastRawChannel * > | m_vTileRC |
| std::vector< const TileL2 * > | m_vTileL2 |
| std::vector< const TileDigits * > | m_vTileDigi |
| std::vector< const TileMuonReceiverObj * > | m_vTileMuRcvObj |
| TileDigits2Bytes | m_Digi2bytes |
| TileRawChannel2Bytes2 | m_rc2bytes2 |
| TileRawChannel2Bytes | m_rc2bytes3 |
| TileRawChannel2Bytes4 | m_rc2bytes4 |
| TileRawChannel2Bytes5 | m_rc2bytes5 |
| const TileHWID * | m_tileHWID |
| TileRawDataOrdering | m_order |
| bool | m_verbose |
| unsigned int | m_type |
| unsigned int | m_unitType |
| unsigned int | m_rChUnit |
| int | m_maxChannels |
| int | m_runPeriod |
| std::string | m_nm |
| Message source name. | |
| boost::thread_specific_ptr< MsgStream > | m_msg_tls |
| MsgStream instance (a std::cout like with print-out levels) | |
| std::atomic< IMessageSvc * > | m_imsg { nullptr } |
| MessageSvc pointer. | |
| std::atomic< MSG::Level > | m_lvl { MSG::NIL } |
| Current logging level. | |
| std::atomic_flag m_initialized | ATLAS_THREAD_SAFE = ATOMIC_FLAG_INIT |
| Messaging initialized (initMessaging) | |
Provides conversion from TileRawChannel, TileL2 and TMDB (digits,MF raw channel,decision) to ROD format.
Modified, Jan 20, 2003 Split from TileROD_Decoder.
Definition at line 44 of file TileROD_Encoder.h.
| TileROD_Encoder::TileROD_Encoder | ( | ) |
constructor
Definition at line 56 of file TileROD_Encoder.cxx.
|
inline |
|
inline |
add TileRawChannels to the current list
Definition at line 73 of file TileROD_Encoder.h.
|
inline |
add TileDigits to the current list
Definition at line 85 of file TileROD_Encoder.h.
|
inline |
add TileL2s to the current list
Definition at line 77 of file TileROD_Encoder.h.
|
inline |
add TMBDs ROD sub-fragmens TileMuRcvObj (type3) to the current list
Definition at line 81 of file TileROD_Encoder.h.
|
private |
check the bitmap for a channel
Definition at line 965 of file TileROD_Encoder.cxx.
| void TileROD_Encoder::dumpROD | ( | const std::vector< uint32_t > & | v | ) |
dump contents of the ROD fragment
Definition at line 974 of file TileROD_Encoder.cxx.
| void TileROD_Encoder::fillROD | ( | std::vector< uint32_t > & | v | ) |
convert all TileRawChannels in the current list to a vector of 32bit words
Definition at line 140 of file TileROD_Encoder.cxx.
| void TileROD_Encoder::fillROD1 | ( | std::vector< uint32_t > & | v | ) |
convert all TileDigits in the current list to a vector of 32bit words
Definition at line 494 of file TileROD_Encoder.cxx.
| void TileROD_Encoder::fillROD10 | ( | std::vector< uint32_t > & | v | ) |
convert all TileL2s in the current list to a vector of 32bit words
Definition at line 172 of file TileROD_Encoder.cxx.
| void TileROD_Encoder::fillROD12 | ( | std::vector< uint32_t > & | v | ) |
Definition at line 238 of file TileROD_Encoder.cxx.
| void TileROD_Encoder::fillROD2 | ( | std::vector< uint32_t > & | v | ) |
Definition at line 288 of file TileROD_Encoder.cxx.
| void TileROD_Encoder::fillROD3 | ( | std::vector< uint32_t > & | v | ) |
Definition at line 332 of file TileROD_Encoder.cxx.
| void TileROD_Encoder::fillROD4 | ( | std::vector< uint32_t > & | v | ) |
Definition at line 406 of file TileROD_Encoder.cxx.
| void TileROD_Encoder::fillROD5 | ( | std::vector< uint32_t > & | v | ) |
Definition at line 521 of file TileROD_Encoder.cxx.
| void TileROD_Encoder::fillROD5D | ( | std::vector< uint32_t > & | v | ) |
Definition at line 525 of file TileROD_Encoder.cxx.
| void TileROD_Encoder::fillRODL2 | ( | std::vector< uint32_t > & | v | ) |
Definition at line 455 of file TileROD_Encoder.cxx.
| void TileROD_Encoder::fillRODTileMuRcvDigi | ( | std::vector< uint32_t > & | v | ) |
convert the TMDB objects into a vector of 32bit words: 8bit words/digit, 16bit words/RC, 16bit words/decision
Definition at line 533 of file TileROD_Encoder.cxx.
| void TileROD_Encoder::fillRODTileMuRcvObj | ( | std::vector< uint32_t > & | v | ) |
Definition at line 788 of file TileROD_Encoder.cxx.
| void TileROD_Encoder::fillRODTileMuRcvRawChannel | ( | std::vector< uint32_t > & | v | ) |
Definition at line 664 of file TileROD_Encoder.cxx.
|
privateinherited |
Initialize our message level and MessageSvc.
This method should only be called once.
Definition at line 39 of file AthMessaging.cxx.
|
inlineinherited |
The standard message stream.
Returns a reference to the default message stream May not be invoked before sysInitialize() has been invoked.
Definition at line 163 of file AthMessaging.h.
|
inlineinherited |
The standard message stream.
Returns a reference to the default message stream May not be invoked before sysInitialize() has been invoked.
Definition at line 178 of file AthMessaging.h.
|
inlineinherited |
Test the output level.
| lvl | The message level to test against |
| true | Messages at level "lvl" will be printed |
Definition at line 151 of file AthMessaging.h.
|
private |
|
inherited |
Change the current logging level.
Use this rather than msg().setLevel() for proper operation with MT.
Definition at line 28 of file AthMessaging.cxx.
| void TileROD_Encoder::setMaxChannels | ( | int | maxChannels | ) |
set maximum number of channels in a drawer
Definition at line 132 of file TileROD_Encoder.cxx.
| void TileROD_Encoder::setTileHWID | ( | const TileHWID * | tileHWID, |
| bool | verbose, | ||
| unsigned int | type = 4 ) |
set all necessary parameters for the encoder
Definition at line 68 of file TileROD_Encoder.cxx.
| void TileROD_Encoder::setTileHWID | ( | const TileHWID * | tileHWID, |
| int | m_runPeriod ) |
Definition at line 92 of file TileROD_Encoder.cxx.
| void TileROD_Encoder::setTypeAndUnit | ( | TileFragHash::TYPE | type, |
| TileRawChannelUnit::UNIT | unit ) |
set OF algorigtm type and amplitude units for a drawer
Definition at line 97 of file TileROD_Encoder.cxx.
|
mutableprivateinherited |
Messaging initialized (initMessaging)
Definition at line 141 of file AthMessaging.h.
|
private |
Definition at line 132 of file TileROD_Encoder.h.
|
mutableprivateinherited |
|
mutableprivateinherited |
|
private |
Definition at line 149 of file TileROD_Encoder.h.
|
mutableprivateinherited |
MsgStream instance (a std::cout like with print-out levels)
Definition at line 132 of file AthMessaging.h.
|
privateinherited |
Message source name.
Definition at line 129 of file AthMessaging.h.
|
private |
Definition at line 142 of file TileROD_Encoder.h.
|
private |
Definition at line 133 of file TileROD_Encoder.h.
|
private |
Definition at line 134 of file TileROD_Encoder.h.
|
private |
Definition at line 135 of file TileROD_Encoder.h.
|
private |
Definition at line 136 of file TileROD_Encoder.h.
|
private |
Definition at line 147 of file TileROD_Encoder.h.
|
private |
Definition at line 150 of file TileROD_Encoder.h.
|
private |
Definition at line 138 of file TileROD_Encoder.h.
|
private |
Definition at line 145 of file TileROD_Encoder.h.
|
private |
Definition at line 146 of file TileROD_Encoder.h.
|
private |
Definition at line 144 of file TileROD_Encoder.h.
|
private |
Definition at line 128 of file TileROD_Encoder.h.
|
private |
Definition at line 127 of file TileROD_Encoder.h.
|
private |
Definition at line 130 of file TileROD_Encoder.h.
|
private |
Definition at line 126 of file TileROD_Encoder.h.