Digital and Analog Injection prescan configuration
Enable/disable certain registers eg. ABC reg32[TestPatt, TestPattEnable, TestPulseEnable, LP/PR_Enable], reg33[CalPulseEnable] in prescan.
From ScanFactory::preScan(), it's suppose to be broadcasted to all ABC as StarChips::makeGlobal() set the global FE ID to 15.
Need some works to StarChips::writeNamedRegister(), StarChips::setAndWriteABCSubRegister(n, val, this_chipID), and StarCfg::setSubRegisterValue to get the correct chip_index and chip ID.
Set appropriate registers in prescan and test digital injection. Using static test mode to verify:
- channel output pattern == input mask pattern
- number of trigger == number of hits.
*Test pulse mode will be opened in another issue.