FIXEME: More...
#include <DTROChainCoding.h>
Public Member Functions | |
DTROChainCoding () | |
Constructors. More... | |
DTROChainCoding (const int &ddu, const int &ros, const int &rob, const int &tdc, const int &channel) | |
DTROChainCoding (uint32_t code_) | |
int | getChannel () const |
int | getChannelID () const |
uint32_t | getCode () const |
Getters ///////////////////////. More... | |
int | getDDU () const |
int | getDDUID () const |
int | getROB () const |
int | getROBID () const |
int | getROS () const |
int | getROSID () const |
int | getSC () const |
SC getters: same as ROS getters (SC data goes in the corresponding ROS) More... | |
int | getSCID () const |
int | getTDC () const |
int | getTDCID () const |
void | setChain (const int &ddu, const int &ros, const int &rob, const int &tdc, const int &channel) |
void | setChannel (const int &ID) |
void | setCode (const uint32_t &code_) |
Setters ///////////////////////. More... | |
void | setDDU (const int &ID) |
need to reset the bits before setting More... | |
void | setROB (const int &ID) |
void | setROS (const int &ID) |
void | setTDC (const int &ID) |
virtual | ~DTROChainCoding () |
Destructor. More... | |
Private Attributes | |
uint32_t | code |
Static Private Attributes | |
static const int | CHANNEL_MASK = 0x1F |
static const int | CHANNEL_SHIFT = 0 |
static const int | DDU_MASK = 0x3FF |
static const int | DDU_SHIFT = 16 |
static const int | ROB_MASK = 0x1F |
static const int | ROB_SHIFT = 7 |
static const int | ROS_MASK = 0xF |
static const int | ROS_SHIFT = 12 |
static const int | TDC_MASK = 0x3 |
static const int | TDC_SHIFT = 5 |
FIXEME:
A class for handling the DT Read-out chain.
Definition at line 28 of file DTROChainCoding.h.
|
inline |
|
inline |
Definition at line 34 of file DTROChainCoding.h.
References CHANNEL_SHIFT, code, DDU_SHIFT, ROB_SHIFT, ROS_SHIFT, and TDC_SHIFT.
|
inline |
Definition at line 38 of file DTROChainCoding.h.
|
inlinevirtual |
|
inline |
|
inline |
|
inline |
Getters ///////////////////////.
Definition at line 57 of file DTROChainCoding.h.
References code.
Referenced by DTROS25Unpacker::interpretRawData(), and DTuROSRawToDigi::process().
|
inline |
|
inline |
Definition at line 59 of file DTROChainCoding.h.
References code, and DDU_SHIFT.
Referenced by DTDataIntegrityROSOffline::processFED(), and DTDataIntegrityROSOffline::processROS25().
|
inline |
Definition at line 62 of file DTROChainCoding.h.
References code, ROB_MASK, and ROB_SHIFT.
Referenced by DTDataIntegrityROSOffline::processROS25().
|
inline |
|
inline |
Definition at line 60 of file DTROChainCoding.h.
References code, ROS_MASK, and ROS_SHIFT.
Referenced by DTDataIntegrityROSOffline::processROS25().
|
inline |
Definition at line 61 of file DTROChainCoding.h.
References code, and ROS_SHIFT.
Referenced by DTDataIntegrityROSOffline::processROS25().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 45 of file DTROChainCoding.h.
References CHANNEL_SHIFT, code, DDU_SHIFT, ROB_SHIFT, ROS_SHIFT, and TDC_SHIFT.
|
inline |
|
inline |
|
inline |
need to reset the bits before setting
Definition at line 50 of file DTROChainCoding.h.
References code, DDU_MASK, and DDU_SHIFT.
Referenced by DTDataIntegrityROSOffline::bookHistograms(), DTDataIntegrityROSOffline::processFED(), and DTDataIntegrityROSOffline::processROS25().
|
inline |
|
inline |
Definition at line 51 of file DTROChainCoding.h.
References code, ROS_MASK, and ROS_SHIFT.
Referenced by DTDataIntegrityROSOffline::bookHistograms(), and DTDataIntegrityROSOffline::processROS25().
|
inline |
|
staticprivate |
Definition at line 92 of file DTROChainCoding.h.
Referenced by getChannel(), and setChannel().
|
staticprivate |
Definition at line 91 of file DTROChainCoding.h.
Referenced by DTROChainCoding(), getChannel(), getChannelID(), setChain(), and setChannel().
|
private |
Definition at line 74 of file DTROChainCoding.h.
Referenced by DTROChainCoding(), getChannel(), getChannelID(), getCode(), getDDU(), getDDUID(), getROB(), getROBID(), getROS(), getROSID(), getSC(), getSCID(), getTDC(), getTDCID(), setChain(), setChannel(), setCode(), setDDU(), setROB(), setROS(), and setTDC().
|
staticprivate |
Definition at line 80 of file DTROChainCoding.h.
|
staticprivate |
Definition at line 79 of file DTROChainCoding.h.
Referenced by DTROChainCoding(), getDDU(), getDDUID(), setChain(), and setDDU().
|
staticprivate |
Definition at line 86 of file DTROChainCoding.h.
|
staticprivate |
Definition at line 85 of file DTROChainCoding.h.
Referenced by DTROChainCoding(), getROB(), getROBID(), setChain(), and setROB().
|
staticprivate |
Definition at line 83 of file DTROChainCoding.h.
|
staticprivate |
Definition at line 82 of file DTROChainCoding.h.
Referenced by DTROChainCoding(), getROS(), getROSID(), getSC(), getSCID(), setChain(), and setROS().
|
staticprivate |
Definition at line 89 of file DTROChainCoding.h.
|
staticprivate |
Definition at line 88 of file DTROChainCoding.h.
Referenced by DTROChainCoding(), getTDC(), getTDCID(), setChain(), and setTDC().