<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi Folks,<div class=""><br class=""></div><div class="">I sent this out to the GlueX Software Help google group yesterday but it occurred to me</div><div class="">not everyone may be on that. Since this has been talked about at some meetings I thought</div><div class="">I would announce it to a wider audience:</div><div class=""><br class=""></div><div class="">One issue we have had with stand alone DAQ data is that there is no BOR record and recently,</div><div class="">the fADC250 config data is also missing. The current sim-recon code will leave the values</div><div class="">of nsamples_integral and nsamples_pedestal both as 0 if both those things are missing.</div><div class=""><br class=""></div><div class="">Last night I committed a modification that <span style="color: rgb(34, 34, 34); font-family: Arial, Helvetica, sans-serif; font-size: 13px; orphans: 2; widows: 2; background-color: rgb(255, 255, 255);" class="">allows this to be addressed via config. parameters.</span></div><div class=""><span style="color: rgb(34, 34, 34); font-family: Arial, Helvetica, sans-serif; font-size: 13px; orphans: 2; widows: 2; background-color: rgb(255, 255, 255);" class="">There are now 2 parameters defined for each fADC DigiHit type with names like:</span></div><div class=""><div style="margin: 0px; padding: 0px; border: 0px; color: rgb(34, 34, 34); font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: rgb(255, 255, 255);" class=""><br class=""></div><div style="margin: 0px; padding: 0px; border: 0px; color: rgb(34, 34, 34); font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: rgb(255, 255, 255);" class=""><p style="margin: 1em 0px; padding: 0px; border: 0px; line-height: normal; color: rgb(51, 51, 51);" class="">TT:NSAMPLES_INTEGRAL_<wbr class="">DBCALDigiHit</p><p style="margin: 1em 0px; padding: 0px; border: 0px; line-height: normal; color: rgb(51, 51, 51);" class="">TT:NSAMPLES_PEDESTAL_<wbr class="">DBCALDigiHit</p><div class=""><br class=""></div><div class="">So, to set the number of pedestal samples to 4 for the DSCDigiHit objects do something like:</div><div class=""><br class=""></div><div class="">hd_root -PTT:NSAMPLES_PEDESTAL_DSCDigiHit=4 ….</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">These are applied at the Translation Table level and so can be set differently for each detector</div><div class="">system. They do not affect the nsamples_xxx members of the lower level objects like Df250PulseData.</div><div class="">The default value for these parameters is 0 which is assumed to mean “don’t overwrite”.</div><div class=""><br class=""></div><div class="">As reminder, you can get a list of config parameters by running the executable with just the</div><div class="">--listconfig option. For example:</div><div class=""><br class=""></div><div class="">hd_root --listconfig</div><div class=""><br class=""></div><div class="">So, if you were interested in seeing if any config. parameters were related to “samples” you</div><div class="">could do:</div><div class=""><br class=""></div><div class="">hd_root --listconfig | grep -i samples</div><div class=""><br class=""></div><div class="">This will print all config parameters that have the word “samples” in either the name or description</div><div class="">of the parameter.</div><div class=""><br class=""></div><div class="">Let me know if anything is unclear.</div><div class=""><br class=""></div><div class="">Regards,</div><div class="">-David</div></div></div></body></html>