10#include "GaudiKernel/MsgStream.h"
74 log << MSG::INFO <<
"fault_decoding() - RPC decoder error: received " <<
s_value_descriptions[
type] <<
" = " << value
161 if (side ==
NoView)
return -1;
162 return (side == Eta) ? 2 : 1;
166 unsigned int div = 247;
169 stream <<
"RPC strip hash code " <<
code() <<
":" << std::endl;
171 stream <<
" half barrel = " << half << std::endl;
172 stream <<
" type (1=Phi/2=Eta) = " <<
strip_type() << std::endl;
173 stream <<
" logic sector (0" << (char)div <<
"63) = " <<
logic_sector() << std::endl;
174 stream <<
" level-1 station (1" << (char)div <<
"n) = " <<
lvl1_station() << std::endl;
175 stream <<
" RPC layer (0/1) = " <<
rpc_layer() << std::endl;
176 stream <<
" RPC z index (0" << (char)div <<
"n) = " <<
rpc_z_index() << std::endl;
177 stream <<
" RPC strip number (0" << (char)div <<
"n) = " <<
strip_number() << std::endl;
178 stream <<
" strip cabling code = " <<
cabling_code() << std::endl;
int cabling_code(void) const
unsigned int code(void) const
void fault_decoding(int, value_type)
RPCdecoder & operator()(unsigned int)
int strip_type(void) const
static const int s_value_boundaries[4][2]
void set_indexes(unsigned int)
int side2type(ViewType side) const
int rpc_layer(void) const
static const char s_value_descriptions[4][15]
int strip_number(void) const
int lvl1_station(void) const
int logic_sector(void) const
HalfType half_barrel(void) const
void set_code(int, int, int, int, int, int)
void Print(std::ostream &, bool) const
RPCdecoder & operator=(const RPCdecoder &deco)
int rpc_z_index(void) const
ViewType view(void) const
bool OK(int, value_type) const
singleton-like access to IMessageSvc via open function and helper
IMessageSvc * getMessageSvc(bool quiet=false)