Go to the documentation of this file. 1 #ifndef DTRawToDigi_DTROChainCoding_h
2 #define DTRawToDigi_DTROChainCoding_h
34 DTROChainCoding(
const int& ddu,
const int& ros,
const int& rob,
const int& tdc,
const int& channel) {
45 inline void setChain(
const int& ddu,
const int& ros,
const int& rob,
const int& tdc,
const int& channel) {
DTROChainCoding()
Constructors.
static const int DDU_MASK
static const int TDC_MASK
static const int ROB_MASK
virtual ~DTROChainCoding()
Destructor.
static const int ROS_SHIFT
void setDDU(const int &ID)
need to reset the bits before setting
void setCode(const uint32_t &code_)
Setters ///////////////////////.
DTROChainCoding(uint32_t code_)
uint32_t getCode() const
Getters ///////////////////////.
static const int ROB_SHIFT
void setChannel(const int &ID)
static const int DDU_SHIFT
void setROB(const int &ID)
int getSC() const
SC getters: same as ROS getters (SC data goes in the corresponding ROS)
DTROChainCoding(const int &ddu, const int &ros, const int &rob, const int &tdc, const int &channel)
void setChain(const int &ddu, const int &ros, const int &rob, const int &tdc, const int &channel)
void setROS(const int &ID)
void setTDC(const int &ID)
static const int TDC_SHIFT
static const int CHANNEL_SHIFT
static const int ROS_MASK
static const int CHANNEL_MASK