[Halld-offline] nsamples_pedestal=0
David Lawrence
davidl at jlab.org
Fri Jan 27 10:36:50 EST 2017
Hi Folks,
I sent this out to the GlueX Software Help google group yesterday but it occurred to me
not everyone may be on that. Since this has been talked about at some meetings I thought
I would announce it to a wider audience:
One issue we have had with stand alone DAQ data is that there is no BOR record and recently,
the fADC250 config data is also missing. The current sim-recon code will leave the values
of nsamples_integral and nsamples_pedestal both as 0 if both those things are missing.
Last night I committed a modification that allows this to be addressed via config. parameters.
There are now 2 parameters defined for each fADC DigiHit type with names like:
TT:NSAMPLES_INTEGRAL_DBCALDigiHit
TT:NSAMPLES_PEDESTAL_DBCALDigiHit
So, to set the number of pedestal samples to 4 for the DSCDigiHit objects do something like:
hd_root -PTT:NSAMPLES_PEDESTAL_DSCDigiHit=4 ….
These are applied at the Translation Table level and so can be set differently for each detector
system. They do not affect the nsamples_xxx members of the lower level objects like Df250PulseData.
The default value for these parameters is 0 which is assumed to mean “don’t overwrite”.
As reminder, you can get a list of config parameters by running the executable with just the
--listconfig option. For example:
hd_root --listconfig
So, if you were interested in seeing if any config. parameters were related to “samples” you
could do:
hd_root --listconfig | grep -i samples
This will print all config parameters that have the word “samples” in either the name or description
of the parameter.
Let me know if anything is unclear.
Regards,
-David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.jlab.org/pipermail/halld-offline/attachments/20170127/e0960aab/attachment.html>
More information about the Halld-offline
mailing list