A level 1 calorimeter trigger conversion service: returns the Coordinate represented by a RoI word.
More...
#include <RoIDecoder.h>
A level 1 calorimeter trigger conversion service: returns the Coordinate represented by a RoI word.
- Author
- E.Moyse
- Todo:
- this should probably be a static class.
Definition at line 46 of file RoIDecoder.h.
◆ RoIDecoder()
LVL1::RoIDecoder::RoIDecoder |
( |
| ) |
|
◆ ~RoIDecoder()
LVL1::RoIDecoder::~RoIDecoder |
( |
| ) |
|
|
virtual |
◆ coordinate()
◆ extractBits()
unsigned int LVL1::RoIDecoder::extractBits |
( |
unsigned int |
word, |
|
|
const unsigned int |
start, |
|
|
const unsigned int |
length |
|
) |
| const |
|
protected |
returns the value of bits in word between bit "start" and bit "start" + "length"
Definition at line 34 of file RoIDecoder.cxx.
43 word = ( word >> (
start - 1 ) );
45 unsigned int bitmask = ( 1 <<
length ) - 1;
48 return ( word & bitmask );
◆ m_DEBUG
bool LVL1::RoIDecoder::m_DEBUG |
|
protected |
The documentation for this class was generated from the following files: