From: Michael Traxler Date: Mon, 1 Mar 2021 22:30:29 +0000 (+0100) Subject: corrected usage and added examples, mt X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=54a23d686cbf0a740ac7417492c51dbd7945996c;p=daqtools.git corrected usage and added examples, mt --- diff --git a/thresholds/thresholds_automatic.pl b/thresholds/thresholds_automatic.pl index 8283e08..d1d9725 100755 --- a/thresholds/thresholds_automatic.pl +++ b/thresholds/thresholds_automatic.pl @@ -499,7 +499,13 @@ thresholds_automatic.pl --endpoint=0x303 --chain=0 --offset=0x10 --32channel or in short thresholds_automatic.pl -e 0x303 -o 0x10 -c 0 -currently only mode "padiwa" is implemented. +currently only mode "padiwa" and "dirich2" are implemented. + +example to find correct threshold for a dirich2 system from high values to lower ones (above pedestal) +./run_thresh_on_system.pl --endpoint=0x1200-0x120b --offset=0 --polarity=1 --direction=-1 --32channel --mode=dirich2 + +example to find correct threshold for a dirich2 system from low values to higher ones (below pedestal) +./run_thresh_on_system.pl --endpoint=0x1200-0x120b --offset=0 --polarity=0 --direction=1 --32channel --mode=dirich2 polarity: tells what the status of bit 32 is in the TDC, when the thresholds are set to 0 this is needed just for the convention, that an inactive channel shows up in the TDC registers