[Halld-offline] Emulation mode changes
David Lawrence
davidl at jlab.org
Tue Aug 4 15:54:01 EDT 2015
Hi All,
I have just pushed a set of changes to the DAQ library onto the “davidl” branch of sim-recon.
Because there are several changes that might break something, I’m holding off submitting a
pull request until some people have had a chance to test out the changes. Kei has already
volunteered to test this out, but if others wanted to have a look too, that would be swell.
These changes clean up the emulation configuration parameters and bring the configuration
options for f250 and f125 emulation into better alignment. The original motivation was to allow
emulation of mixed-mode data. In particular, the triplet polarimeter data was always taken
with mode 8, regardless of the mode of the other f250 modules. (Thanks Kei for pointing this out.)
Originally, emulation was done only if no mode 7 data existed for any channel. The default behavior
now is to check channel by channel and do emulation only for channels that have no mode 7 data.
In addition, there are now variables to force emulation to always happen or never happen.
I’ve tried to summarize the changes to configuration parameters below.
Please let me know if you have any questions.
-David
Config. Parameters that were deleted
EVIO:F250_IGNORE_PULSETIME
EVIO:F125_IGNORE_PULSETIME
EVIO:EMULATE_FADC250_TIME_THRESHOLD
EVIO:EMULATE_FADC125_TIME_THRESHOLD
Config. Parameters that were renamed
EVIO:EMULATE_SPARSIFICATION_THRESHOLD --> EVIO:F250_SPARSIFICATION_THRESHOLD
\-> EVIO:F125_SPARSIFICATION_THRESHOLD
EVIO:F250_EMULATION_THRESHOLD --> EVIO:F250_EMULATION_MIN_SWING
EVIO:F125_EMULATION_THRESHOLD --> EVIO:F125_EMULATION_MIN_SWING
EVIO:EMULATE_PULSE_INTEGRAL_MODE --> EVIO:F250_PI_EMULATION_MODE
\-> EVIO:F125_PI_EMULATION_MODE
EVIO:EMULATE_FADC125_TIME_UPSAMPLE --> EVIO:F125_TIME_UPSAMPLE
Config. Parameters that were added
EVIO:F250_PT_EMULATION_MODE
EVIO:F250_PP_EMULATION_MODE
EVIO:F125_PT_EMULATION_MODE
EVIO:F125_PP_EMULATION_MODE
EVIO:F125_THRESHOLD
Config. Parameters that were kept the same
EVIO:F250_THRESHOLD
EVIO:F250_NSA
EVIO:F250_NSB
EVIO:F250_NSPED
EVIO:F125_NSA
EVIO:F125_NSB
EVIO:F125_NSA_CDC
EVIO:F125_NSB_CDC
EVIO:F125_NSPED
Here are descriptions of some parameters as reported by hd_ana —dumpconfig file.evio:
EVIO:F125_EMULATION_MIN_SWING 0 # Minimum difference between min and max sample required for emulation of f125.
EVIO:F125_NSA 40 # For f125PulseIntegral object. NSA value for emulation from window raw data and for pulse integral pedestal normalization.
EVIO:F125_NSA_CDC 80 # For f125PulseIntegral object. NSA value for emulation from window raw data and for pulse integral pedestal normalization.
# This is applied to rocid 24-28 only!
EVIO:F125_NSB 3 # For f125PulseIntegral object. NSB value for emulation from window raw data and for pulse integral pedestal normalization.
EVIO:F125_NSB_CDC 5 # For f125PulseIntegral object. NSB value for emulation from window raw data and for pulse integral pedestal normalization.
# This is applied to rocid 24-28 only!
EVIO:F125_NSPED 16 # For f125PulseIntegral object. Number of pedestal samples value for emulation from window raw data and for pulse integral normalization.
EVIO:F125_PI_EMULATION_MODE 2 # Set f125 pulse integral emulation mode. 0=no emulation, 1=always, 2=auto. Default is 2 (auto).
EVIO:F125_PP_EMULATION_MODE 2 # Set f125 pulse pedestal emulation mode. 0=no emulation, 1=always, 2=auto. Default is 2 (auto).
EVIO:F125_PT_EMULATION_MODE 2 # Set f125 pulse time emulation mode. 0=no emulation, 1=always, 2=auto. Default is 2 (auto).
EVIO:F125_SPARSIFICATION_THRESHOLD 0 # Sparsification threshold used during emulation of f125.
EVIO:F125_THRESHOLD 80 # Identified pulse threshold used during emulation of f125.
EVIO:F125_TIME_UPSAMPLE 1 # If true, then use the CMU upsampling algorithm to determine times for the DF125PulseTime objects when using emulation.
# Set to zero to use the f250 algorithm that was in f125 firmware for 2014 commissioning data.
EVIO:F250_EMULATION_MIN_SWING 20 # Minimum difference between min and max sample required for emulation of f250.
EVIO:F250_NSA 50 # For f250PulseIntegral object. NSA value for emulation from window raw data and for pulse integral pedestal normalization.
EVIO:F250_NSB 5 # For f250PulseIntegral object. NSB value for emulation from window raw data and for pulse integral pedestal normalization.
EVIO:F250_NSPED 4 # For f250PulseIntegral object. Number of pedestal samples value for emulation from window raw data and for pulse integral normalization.
EVIO:F250_PI_EMULATION_MODE 2 # Set f250 pulse integral emulation mode. 0=no emulation, 1=always, 2=auto. Default is 2 (auto).
EVIO:F250_PP_EMULATION_MODE 2 # Set f250 pulse pedestal emulation mode. 0=no emulation, 1=always, 2=auto. Default is 2 (auto).
EVIO:F250_PT_EMULATION_MODE 2 # Set f250 pulse time emulation mode. 0=no emulation, 1=always, 2=auto. Default is 2 (auto).
EVIO:F250_SPARSIFICATION_THRESHOLD 0 # Sparsification threshold used during emulation of f250.
EVIO:F250_THRESHOLD 120 # Identified pulse threshold used during emulation of f250.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.jlab.org/pipermail/halld-offline/attachments/20150804/8b8e63bf/attachment.html>
More information about the Halld-offline
mailing list