dinyar / uGMTfirmware

Firmware for the CMS uGMT.
0 stars 4 forks source link

Isolation assignment broken for some events #249

Closed dinyar closed 9 years ago

dinyar commented 9 years ago

The isolation assignment returns incorrect results for some events. This has been traced back to the check for a muon's charge. In [0] the position is noted when assuming a 62 bit word, however in [1] this is not taken into account and the offset not removed.

[0] https://github.com/dinyar/uGMTfirmware/blob/338428ec8cf42ebdcf6c8033fc1a70a1b28e0e0b/uGMT_algos/firmware/hdl/common/ugmt_constants.vhd#L95 [1] https://github.com/dinyar/uGMTfirmware/blob/338428ec8cf42ebdcf6c8033fc1a70a1b28e0e0b/uGMT_algos/firmware/hdl/deserializer_stages/gen_idx_bits.vhd#L146