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(const int &ddu, const int &ros, const int &rob, const int &tdc, const int &channel)
static const int ROS_MASK
static const int ROB_MASK
DTROChainCoding()
Constructors.
void setTDC(const int &ID)
static const int ROB_SHIFT
uint32_t getCode() const
Getters ///////////////////////.
static const int ROS_SHIFT
void setChain(const int &ddu, const int &ros, const int &rob, const int &tdc, const int &channel)
static const int DDU_MASK
static const int TDC_MASK
void setChannel(const int &ID)
static const int CHANNEL_MASK
static const int DDU_SHIFT
void setROB(const int &ID)
void setROS(const int &ID)
void setDDU(const int &ID)
need to reset the bits before setting
static const int CHANNEL_SHIFT
static const int TDC_SHIFT
int getSC() const
SC getters: same as ROS getters (SC data goes in the corresponding ROS)
virtual ~DTROChainCoding()
Destructor.
void setCode(const uint32_t &code_)
Setters ///////////////////////.
DTROChainCoding(uint32_t code_)