rest-for-physics / rest-for-physics/rawlib
ARC Support
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 2
- Forks
- 4
- PR merge metrics
- No merged PRs in 30d
Description
After some offline discussions, I outline what is required to have full support for the ARC acquisition electronics.
-
A method that translates the
.aqsformat produced by the baseline client (pclient) into REST-for-Physics root file. Something similar to https://github.com/rest-for-physics/rawlib/blob/master/src/TRestRawMultiFEMINOSToSignalProcess.cxx. -
It appears that the frame format is no the same as in the
mclient, so the old method wouldn't just work, there are some (hopefully small) modifications to be made. -
After this method has been implemented, the core logic can be copy-pasted into https://github.com/rest-for-physics/feminos-daq in order to decode the frames and build the
.aqsand feminos-daq-format root files (in particular this is the section that needs modifying: https://github.com/rest-for-physics/feminos-daq/blob/main/src/root/storage.cpp). -
In order to process the feminos-daq-format root files into REST-for-Physics, the https://github.com/rest-for-physics/rawlib/blob/master/src/TRestRawFeminosRootToSignalProcess.cxx method should keep working just fine, as the feminos-daq-format root format is independant of the ARC/feminos, it just an event container for signals. The method should probably be renamed to include both the ARC and Feminos electronics though.
-
Issue to track progress in the
feminos-daqrepo: https://github.com/rest-for-physics/feminos-daq/issues/19
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with rawlib/src/TRestRawMultiFEMINOSToSignalProcess.cxx and compare its framing logic with the ARC .aqs format and the mclient format. Then inspect feminos-daq/src/root/storage.cpp and the existing TRestRawFeminosRootToSignalProcess.cxx. Done means ARC .aqs conversion and feminos-daq decoding are supported, with progress tracked in feminos-daq issue 19.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- backend, data
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100