Skip to content

bias voltage readback with software cache - #448

Merged
tomeichlersmith merged 4 commits into
mainfrom
443-bias-voltage-readback
Jul 27, 2026
Merged

bias voltage readback with software cache#448
tomeichlersmith merged 4 commits into
mainfrom
443-bias-voltage-readback

Conversation

@tomeichlersmith

Copy link
Copy Markdown
Member

This ended up being a bit more involved than I expected since (a) we used to copy Bias around a lot and std::array does not copy its values around to save time (so I made Bias no-copy) and (b) the bias menu of pftool was only for HcalBackplanes so I added an intermediate Target which both HcalBackplane and HcalFiberless inherit from and declares the bias function .

The software cache uses std::optional so that we can be transparent about when we do know that the channel has been set to some value and when we don't.

tomeichlersmith and others added 4 commits July 27, 2026 14:36
- update tool to support fiberless in Bias menu again
- make Bias no-copy so cache never needs to be copied
something

print ???? when we are unsure on what the value is since we don't have
readback abilities
@tomeichlersmith tomeichlersmith linked an issue Jul 27, 2026 that may be closed by this pull request
@tomeichlersmith

Copy link
Copy Markdown
Member Author

See the wiki page on SiPM and LED Biases for more detail on the numbers that should be used.

@tomeichlersmith
tomeichlersmith merged commit 1b409bd into main Jul 27, 2026
@tomeichlersmith
tomeichlersmith deleted the 443-bias-voltage-readback branch July 27, 2026 16:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

unable to readback bias voltage settings on HcalBackplane

1 participant