Skip to content

Add detector lookup functions to the Settings class#108

Merged
lpgaff merged 6 commits into
Miniball:mainfrom
lpgaff:lookups
Jul 14, 2026
Merged

Add detector lookup functions to the Settings class#108
lpgaff merged 6 commits into
Miniball:mainfrom
lpgaff:lookups

Conversation

@lpgaff

@lpgaff lpgaff commented May 20, 2026

Copy link
Copy Markdown
Contributor

Add lookup functions to the Settings class to find the corresponding DAQ channels for a given detector element. Each detector has it's own GetDAQ function, which returns a vector of length 3. The first element is the SFP ID for the FEBEX DAQ, and if this is -1 it means that it might be found in the DGFs or ADCs instead for the case of the old DAQ. The second and third elements are the board/module and channel numbers, respectively.

…DAQ channels for a given detector element. Each detector has it's own Get<detector>DAQ function, which returns a vector of length 3. The first element is the SFP ID for the FEBEX DAQ, and if this is -1 it means that it might be found in the DGFs or ADCs instead for the case of the old DAQ. The second and third elements are the board/module and channel numbers, respectively.
@lpgaff

lpgaff commented May 20, 2026

Copy link
Copy Markdown
Contributor Author

@hannahkleis-ctrl Is this what you need for the CD calibration? You should be able to use the GetCDDAQ function to return the SFP, Board and Channel numbers. In the case of the old DAQ, you can test the first element of the vector to see if it is negative.

@lpgaff
lpgaff merged commit 0e429f1 into Miniball:main Jul 14, 2026
1 check passed
@lpgaff
lpgaff deleted the lookups branch July 14, 2026 10:20
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.

1 participant