This repository has been archived by the owner on Jan 31, 2022. It is now read-only.
New Feature: Adding functionality for V3 electronics calibration #13
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Adding functionality for new CTP7 RPC modules for VFAT3 functionality.
@evka85, @mexanick, @jsturdy, @cbravo135
Types of changes
Motivation and Context
New CTP7 RPC modules have been added in: cms-gem-daq-project/ctp7_modules#2
Right now I've tried to add the following new functions to
src/common/rpc_standalone_client/rwreg.cpp
:vfatSyncCheck(...)
,configureVFAT3s(...)
,configureTTC(...)
, andscanDAC(...)
However I had a couple of questions about this implementation:
rwreg.cpp
into multiple files?configureVFATs(...)
vs.configureVFAT3s(...)
orconfigureTTC(...)
vs.getmonTTCmain(...)
. It seems since thewisc::RPCMsg
object should be a specific RPC module should we keep separate methods as I have done here, or have a single method, e.g.configureVFATs
which correctly chooses the rightwisc::RPCMsg
object? If so on what basis? A flag? Or the CTP7 firmware version (I guess preferred?)setup.sh
doesn't seem to set the computing environment such that this can be compiled. Could I get some advice on this @mexanick?Finally, what is the way to move forward to use this functionality in our scan routines? Maybe this is a more appropriate discussion in
vfatqc-python-scripts
; but for the case of ultraThreshold.py I would envision changing lines 91-111 to something like:The final goal being the hardware version is transparent to the user and keeping the output
TTree
structure identical so no changes togem-plotting-tools
are needed so analysis is immediate.How Has This Been Tested?
Has not yet been tested. Have a couple of questions.
Screenshots (if appropriate):
Checklist: