#include <RpcByteStreamDecoder.h>
Definition at line 24 of file RpcByteStreamDecoder.h.
◆ RpcByteStreamDecoder() [1/2]
◆ ~RpcByteStreamDecoder()
RpcByteStreamDecoder::~RpcByteStreamDecoder |
( |
| ) |
|
◆ RpcByteStreamDecoder() [2/2]
◆ decodeByteStream()
StatusCode RpcByteStreamDecoder::decodeByteStream |
( |
| ) |
|
◆ decodeMatrix()
Definition at line 129 of file RpcByteStreamDecoder.cxx.
150 for (
int j = 0; j <
matrix->numberOfBodyWords(); ++j) {
151 cm_hit =
matrix->getCMAHit(j);
156 if (cm_hit.
ijk() < rpcRawHitWordLength) {
158 }
else if (cm_hit.
ijk() == rpcRawHitWordLength) {
◆ decodePad()
Definition at line 52 of file RpcByteStreamDecoder.cxx.
70 int pad_id = pad.
PAD();
72 int side = (sector < 32) ? 0 : 1;
73 int logic_sector = sector % 32;
75 int key =
side * 10000 + logic_sector * 100 + pad_id;
83 index.offline_indexes(
name,
eta,
phi, doublet_r, doublet_z, doublet_phi, gas_gap, measures_phi,
strip);
90 *
m_log << MSG::ERROR <<
"Invalid pad offline indices " <<
endmsg;
93 *
m_log << MSG::ERROR <<
"Doublet r " << doublet_r <<
" Doublet_z " << doublet_z <<
" Doublet_phi " << doublet_phi <<
endmsg;
94 *
m_log << MSG::ERROR <<
"Gas gap " << gas_gap <<
" Measures_phi " << measures_phi <<
" Strip " <<
strip <<
endmsg;
106 unsigned int hashId =
index.hash();
107 unsigned int onlineId = pad_id;
110 unsigned int errorCode = pad_footer.
errorCode();
◆ getPads()
std::vector<RpcPad*>* RpcByteStreamDecoder::getPads |
( |
| ) |
|
|
inline |
◆ operator=()
◆ print()
void RpcByteStreamDecoder::print |
( |
| ) |
|
Definition at line 170 of file RpcByteStreamDecoder.cxx.
171 std::cout <<
"Printing out RPC RDO's : " << std::endl;
172 std::cout <<
"Number of Pads in event : " <<
m_rpcpads->size() << std::endl;
173 std::vector<RpcPad*>::const_iterator pad_it;
177 std::cout <<
"Pad number " << ipad <<
" Identifier : " << std::endl;
178 (*pad_it)->identify().show();
179 std::cout << std::endl;
180 std::cout <<
"Number of Matrices in Pad : " << (*pad_it)->size() << std::endl;
184 for (mat_it = (*pad_it)->begin(); mat_it != (*pad_it)->end(); ++mat_it, ++imat) {
185 std::cout <<
"Matrix number " << imat << std::endl;
186 std::cout <<
"Number of fired channels: " << (*mat_it)->size() << std::endl;
190 for (chan_it = (*mat_it)->begin(); chan_it != (*mat_it)->end(); ++chan_it, ++
ichan) {
191 std::cout <<
"Fired Channel " <<
ichan <<
" :: bcid " << (*chan_it)->bcid() <<
" ijk " << (*chan_it)->ijk()
192 <<
" channel " << (*chan_it)->channel() << std::endl;
◆ m_bytestream
◆ m_cabling
◆ m_debug
bool RpcByteStreamDecoder::m_debug |
|
private |
◆ m_log
MsgStream* RpcByteStreamDecoder::m_log |
|
private |
◆ m_rpcIdHelper
◆ m_rpcpads
std::vector<RpcPad*>* RpcByteStreamDecoder::m_rpcpads |
|
private |
◆ m_verbose
bool RpcByteStreamDecoder::m_verbose |
|
private |
The documentation for this class was generated from the following files: