Skip to content

Modifications to retrieve adc_good information in SBSGEMModule#121

Open
efuchey wants to merge 6 commits intoJeffersonLab:masterfrom
efuchey:gem_mc_frac
Open

Modifications to retrieve adc_good information in SBSGEMModule#121
efuchey wants to merge 6 commits intoJeffersonLab:masterfrom
efuchey:gem_mc_frac

Conversation

@efuchey
Copy link
Contributor

@efuchey efuchey commented Feb 25, 2026

Modifications to retrieve "adc_good" information for GEM FT and FPP:

  • added "adc_good" branches in gep_tree_digitized class
  • read through "adc_good" branches while reading other branches (adc, samp, strip, etc) for detectors gemFT and gemFPP in SBSSimDecoder
  • encoding adc_good info in the front 12 bits of the 32 bits data word (i.e. loading from bit 20 to 31 i.e. bitwise << 20) loaded by SBSSimDecoder into the THaEvData object
  • retrieving adc_good info for MC inside SBSGEMModule::Decode()
    => in the event adc_good is not zero, it ends up being tangled with strip in THaEvData::GetRawData(...)
    => further decoding to get strip info and adc_good info disentangled (for MC only!);

… ADC coming from protons of interest in gep_tree_digitized class, for FT and FPP;

Added a commented call in SBSSimDecoder of this branch for FT and FPP.
Remains to know what we should do with it...
Encoded the "adc_good" info into the words loaded by SBSSimDecoder
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