<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div><br></div><div>Hi All,</div><div><br></div><div> I have just pushed a set of changes to the DAQ library onto the “davidl” branch of sim-recon.</div><div>Because there are several changes that might break something, I’m holding off submitting a</div><div>pull request until some people have had a chance to test out the changes. Kei has already</div><div>volunteered to test this out, but if others wanted to have a look too, that would be swell.</div><div><br></div><div>These changes clean up the emulation configuration parameters and bring the  configuration</div><div>options for f250 and f125 emulation into better alignment. The original motivation was to allow</div><div>emulation of mixed-mode data. In particular, the triplet polarimeter data was always taken</div><div>with mode 8, regardless of the mode of the other f250 modules. (Thanks Kei for pointing this out.)</div><div>Originally, emulation was done only if no mode 7 data existed for any channel. The default behavior</div><div>now is to check channel by channel and do emulation only for channels that have no mode 7 data.</div><div>In addition, there are now variables to force emulation to always happen or never happen.</div><div>I’ve tried to summarize the changes to configuration parameters below. </div><div><br></div><div>Please let me know if you have any questions.</div><div><br></div><div>-David</div><div><br></div><div><br></div><div><b>Config. Parameters that were deleted</b></div><div><span style="font-family: Courier;">EVIO:</span><font face="Courier">F250_IGNORE_PULSETIME</font></div><div><span style="font-family: Courier;">EVIO:</span><font face="Courier">F125_IGNORE_PULSETIME</font></div><div><span style="font-family: Courier;">EVIO:</span><font face="Courier">EMULATE_FADC250_TIME_THRESHOLD</font></div><div><span style="font-family: Courier;">EVIO:</span><font face="Courier">EMULATE_FADC125_TIME_THRESHOLD</font></div><div><span style="font-family: Monaco; font-size: 10px;"><br></span></div><div><b>Config. Parameters that were renamed</b></div><div><span style="font-family: Courier;">EVIO:</span><font face="Courier">EMULATE_SPARSIFICATION_THRESHOLD --> </font><span style="font-family: Courier;">EVIO:</span><span style="font-family: Courier;">F250_SPARSIFICATION_THRESHOLD</span></div><div><font face="Courier">                                      \-> </font><span style="font-family: Courier;">EVIO:</span><span style="font-family: Courier;">F125_SPARSIFICATION_THRESHOLD</span></div><div><span style="font-family: Courier;"><br></span></div><div><span style="font-family: Courier;">EVIO:</span><font face="Courier">F250_EMULATION_THRESHOLD         --> </font><span style="font-family: Courier;">EVIO:</span><span style="font-family: Courier;">F250_EMULATION_MIN_SWING</span></div><div><div style="margin: 0px;"><font face="Courier"><br></font></div><div style="margin: 0px;"><div><span style="font-family: Courier;">EVIO:</span><font face="Courier">F125_EMULATION_THRESHOLD         --> </font><span style="font-family: Courier;">EVIO:</span><span style="font-family: Courier;">F125_EMULATION_MIN_SWING</span></div><div></div></div><div style="margin: 0px;"><font face="Courier"><br></font></div><div style="margin: 0px;"><span style="font-family: Courier;">EVIO:</span><font face="Courier">EMULATE_PULSE_INTEGRAL_MODE      --> </font><span style="font-family: Courier;">EVIO:</span><span style="font-family: Courier;">F250_PI_EMULATION_MODE</span></div></div><div style="margin: 0px;"><font face="Courier">                                      \-> </font><span style="font-family: Courier;">EVIO:</span><span style="font-family: Courier;">F125_PI_EMULATION_MODE</span></div><div><font face="Courier"><br></font></div><div><span style="font-family: Courier;">EVIO:</span><font face="Courier">EMULATE_FADC125_TIME_UPSAMPLE    --> </font><span style="font-family: Courier;">EVIO:</span><span style="font-family: Courier;">F125_TIME_UPSAMPLE</span></div><div><br></div><div><b>Config. Parameters that were added</b></div><div><div style="margin: 0px;"><span style="font-family: Courier;">EVIO:</span><font face="Courier">F250_PT_EMULATION_MODE</font></div><div style="margin: 0px;"><span style="font-family: Courier;">EVIO:</span><font face="Courier">F250_PP_EMULATION_MODE</font></div></div><div><div style="margin: 0px;"><span style="font-family: Courier;">EVIO:</span><font face="Courier">F125_PT_EMULATION_MODE</font></div><div style="margin: 0px;"><span style="font-family: Courier;">EVIO:</span><font face="Courier">F125_PP_EMULATION_MODE</font></div></div><div style="margin: 0px;"><span style="font-family: Courier;">EVIO:</span><font face="Courier">F125_THRESHOLD</font></div><div><br></div><div><div><b>Config. Parameters that were kept the same</b></div><div></div></div><div><div style="margin: 0px;"><div style="margin: 0px;"><span style="font-family: Courier;">EVIO:</span><font face="Courier">F250_THRESHOLD</font></div><div style="margin: 0px;"><span style="font-family: Courier;">EVIO:</span><font face="Courier">F250_NSA</font></div><div style="margin: 0px;"><span style="font-family: Courier;">EVIO:</span><font face="Courier">F250_NSB</font></div><div style="margin: 0px;"><span style="font-family: Courier;">EVIO:</span><font face="Courier">F250_NSPED</font></div><div><div style="margin: 0px;"><span style="font-family: Courier;">EVIO:</span><font face="Courier">F125_NSA</font></div><div style="margin: 0px;"><span style="font-family: Courier;">EVIO:</span><font face="Courier">F125_NSB</font></div><div style="margin: 0px;"><span style="font-family: Courier;">EVIO:</span><font face="Courier">F125_NSA_CDC</font></div><div style="margin: 0px;"><span style="font-family: Courier;">EVIO:</span><font face="Courier">F125_NSB_CDC</font></div><div style="margin: 0px;"><span style="font-family: Courier;">EVIO:</span><font face="Courier">F125_NSPED</font></div></div><div><br></div><div><b>Here are descriptions of some parameters as reported by hd_ana —dumpconfig file.evio:</b></div><div><div><font face="Courier">EVIO:F125_EMULATION_MIN_SWING      0                  # Minimum difference between min and max sample required for emulation of f125.</font></div><div><font face="Courier">EVIO:F125_NSA                      40                 # For f125PulseIntegral object.  NSA value for emulation from window raw data and for pulse integral pedestal normalization.</font></div><div><font face="Courier">EVIO:F125_NSA_CDC                  80                 # For f125PulseIntegral object.  NSA value for emulation from window raw data and for pulse integral pedestal normalization.</font></div><div><font face="Courier">                                                      #   This is applied to rocid 24-28 only!</font></div><div><font face="Courier">EVIO:F125_NSB                      3                  # For f125PulseIntegral object.  NSB value for emulation from window raw data and for pulse integral pedestal normalization.</font></div><div><font face="Courier">EVIO:F125_NSB_CDC                  5                  # For f125PulseIntegral object.  NSB value for emulation from window raw data and for pulse integral pedestal normalization.</font></div><div><font face="Courier">                                                      #   This is applied to rocid 24-28 only!</font></div><div><font face="Courier">EVIO:F125_NSPED                    16                 # For f125PulseIntegral object.  Number of pedestal samples value for emulation from window raw data and for pulse integral normalization.</font></div><div><font face="Courier">EVIO:F125_PI_EMULATION_MODE        2                  # Set f125 pulse integral emulation mode. 0=no emulation, 1=always, 2=auto. Default is 2 (auto).</font></div><div><font face="Courier">EVIO:F125_PP_EMULATION_MODE        2                  # Set f125 pulse pedestal emulation mode. 0=no emulation, 1=always, 2=auto. Default is 2 (auto).</font></div><div><font face="Courier">EVIO:F125_PT_EMULATION_MODE        2                  # Set f125 pulse time emulation mode. 0=no emulation, 1=always, 2=auto. Default is 2 (auto).</font></div><div><font face="Courier">EVIO:F125_SPARSIFICATION_THRESHOLD 0                  # Sparsification threshold used during emulation of f125.</font></div><div><font face="Courier">EVIO:F125_THRESHOLD                80                 # Identified pulse threshold used during emulation of f125.</font></div><div><font face="Courier">EVIO:F125_TIME_UPSAMPLE            1                  # If true, then use the CMU upsampling algorithm to determine times for the DF125PulseTime objects when using emulation.</font></div><div><font face="Courier">                                                      #   Set to zero to use the f250 algorithm that was in f125 firmware for 2014 commissioning data.</font></div><div><span style="font-family: Courier;">EVIO:F250_EMULATION_MIN_SWING      20                 # Minimum difference between min and max sample required for emulation of f250.</span></div><div><font face="Courier">EVIO:F250_NSA                      50                 # For f250PulseIntegral object.  NSA value for emulation from window raw data and for pulse integral pedestal normalization.</font></div><div><font face="Courier">EVIO:F250_NSB                      5                  # For f250PulseIntegral object.  NSB value for emulation from window raw data and for pulse integral pedestal normalization.</font></div><div><font face="Courier">EVIO:F250_NSPED                    4                  # For f250PulseIntegral object.  Number of pedestal samples value for emulation from window raw data and for pulse integral normalization.</font></div><div><font face="Courier">EVIO:F250_PI_EMULATION_MODE        2                  # Set f250 pulse integral emulation mode. 0=no emulation, 1=always, 2=auto. Default is 2 (auto).</font></div><div><font face="Courier">EVIO:F250_PP_EMULATION_MODE        2                  # Set f250 pulse pedestal emulation mode. 0=no emulation, 1=always, 2=auto. Default is 2 (auto).</font></div><div><font face="Courier">EVIO:F250_PT_EMULATION_MODE        2                  # Set f250 pulse time emulation mode. 0=no emulation, 1=always, 2=auto. Default is 2 (auto).</font></div><div><font face="Courier">EVIO:F250_SPARSIFICATION_THRESHOLD 0                  # Sparsification threshold used during emulation of f250.</font></div><div><font face="Courier">EVIO:F250_THRESHOLD                120                # Identified pulse threshold used during emulation of f250.</font></div></div><div><br></div></div><div style="margin: 0px; font-size: 10px; font-family: Monaco;"><br></div></div></body></html>