]> jspc29.x-matter.uni-frankfurt.de Git - daqtools.git/commitdiff
corrected usage and added examples, mt
authorMichael Traxler <M.Traxler@gsi.de>
Mon, 1 Mar 2021 22:30:29 +0000 (23:30 +0100)
committerMichael Traxler <M.Traxler@gsi.de>
Mon, 1 Mar 2021 22:30:29 +0000 (23:30 +0100)
thresholds/thresholds_automatic.pl

index 8283e08dcc141a43d3da383a28a7749405a60e12..d1d9725ebb36366f0268e302fd8d1908ee6c6b12 100755 (executable)
@@ -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