Commit graph

117 commits

Author SHA1 Message Date
Stephan I. Böttcher
55624a99af solo.step.l1l2: change default min_dt=20
STEP seems to see a lot of self-triggered events with dt < 20µs
after events deep in the landau tail.  One proposal is to raise
min dtime threshold in L2 up from 0.  This may starve the daq at very
high trigger rates but gives reliable PHA for those events that pass
the L2 trigger.

The other option is to set the I-DefX delayed startup bit, which delays
the reconnect of the shaper by 32µs after a readout.  That cannot
starve the daq, but may result in pileup and or balistic deficit errors
at high rate.

This patch adds infra to set the min_dt cut in step.ppss and
step.base_config and changes the default for all units to 20µs.
2021-03-01 23:05:00 +01:00
Jan Christoph Terasa
c141bc3905 Use proper modern string formatting. 2021-02-22 23:05:50 +01:00
Jan Christoph Terasa
309d2c4970 Add small comment. 2021-02-22 19:57:04 +01:00
Jan Christoph Terasa
82f4eb6fbc Generalize temp_calib file reader. 2021-02-22 19:50:37 +01:00
Jan Christoph Terasa
274b3306f0 Fix writing of .bins file. 2021-02-08 18:01:57 +01:00
Jan Christoph Terasa
25f2353b2d Use STABLE and UNSTABLE channels for INT and MAG data, respectively. 2021-02-08 18:01:57 +01:00
Jan Christoph Terasa
b0710fd74a Revert "Get rid of CLOSE and FAR mode, and use the now free flg parameter for INT and MAG differentiation."
This reverts commit c8a89d6d52.
2021-02-08 18:01:57 +01:00
Jan Christoph Terasa
69b88bfc1a Get rid of CLOSE and FAR mode, and use the now free flg parameter for INT and MAG differentiation. 2021-02-08 18:01:57 +01:00
Jan Christoph Terasa
7760fe6115 Prepare STEP v7. 2021-02-08 18:01:56 +01:00
Jan Christoph Terasa
35aab0d4ad Add DPS reserve slots to make sure insertion slots stay at the same position. 2021-02-08 18:01:56 +01:00
Jan Christoph Terasa
3b94b6e5e6 Fix formatting of high energy loss events. 2021-02-08 18:01:56 +01:00
Jan Christoph Terasa
2616c32e25 Fix energy/nuc calculation. 2021-02-08 18:01:56 +01:00
Jan Christoph Terasa
1f4c87ca24 Calculate geomfacs in energy/nuc for ions. 2021-02-08 18:01:56 +01:00
Jan Christoph Terasa
aadd8d0d1b Add script to combine geomfacs for INT and MAG: 2021-02-08 18:01:56 +01:00
Jan Christoph Terasa
48dbd01561 Revert "Process integral and magnet head data into one file."
This reverts commit 5f64ae244d.
2021-02-08 18:01:56 +01:00
Jan Christoph Terasa
a1b9caf046 Process integral and magnet head data into one file. 2021-02-08 18:01:56 +01:00
Jan Christoph Terasa
4104bdba6e Fix L3class passing for geometry factor calculations. 2021-02-08 18:01:56 +01:00
Jan Christoph Terasa
405c9d033a Use version number. 2021-02-08 18:01:56 +01:00
Jan Christoph Terasa
e857fa995a Filename includes version number. 2020-04-20 14:42:58 +02:00
Jan Christoph Terasa
88bf9058c9 Change STEP PHA buffering strategy: Buffer number is the (logical) pixel number. 2020-04-20 11:52:23 +02:00
Jan Christoph Terasa
bdd94a000e All STEP DPS start at 4 keV instead of 2 keV. 2020-04-16 18:28:27 +02:00
Jan Christoph Terasa
ff2176dfbb Adapt to new simfile location. 2020-04-16 16:34:45 +02:00
Jan Christoph Terasa
847eb0d365 Speed up responses.py. 2020-04-16 16:34:08 +02:00
Jan Christoph Terasa
0f453666ac Also calculate angular responses. 2020-04-15 19:13:57 +02:00
Jan Christoph Terasa
779e2559c8 remove debug prints. 2020-04-15 18:40:12 +02:00
Jan Christoph Terasa
3f6d46ea82 fix bug in l3sim 2020-04-15 18:22:49 +02:00
Jan Christoph Terasa
dfe11800f8 Add shellscript to automate procedure. 2020-04-15 17:59:22 +02:00
Jan Christoph Terasa
0ec684cc80 Output to named file. 2020-04-15 17:58:59 +02:00
Jan Christoph Terasa
1e3b74cd7d Further improve geomfac calculation script. 2020-04-15 17:27:59 +02:00
Jan Christoph Terasa
1ad14b3b68 Update l3 simulator to output event index. 2020-04-15 17:12:43 +02:00
Jan Christoph Terasa
107ccbadbd Output event index as timestamp in formatter. 2020-04-15 17:10:33 +02:00
Jan Christoph Terasa
cee4e95584 Add geometry factor calculation files. 2020-04-15 16:37:32 +02:00
Jan Christoph Terasa
bccd24ee5e Add histfile option to l3sim. 2020-04-15 16:14:42 +02:00
Jan Christoph Terasa
58b50fbff2 Export dpsbins. 2020-04-15 16:14:00 +02:00
Jan Christoph Terasa
78bc116ee2 Set version of FS to 6. 2020-04-15 15:36:18 +02:00
Jan Christoph Terasa
93126e9052 Set all thresholds to 11 (~3.2 keV). 2020-04-15 15:36:18 +02:00
Jan Christoph Terasa
c3da359338 Expand threshold twiddling method. 2020-01-06 12:33:42 +01:00
Jan Christoph Terasa
bc8102ab43 Use open() instead of file() (deprecated in Py3). 2019-12-09 10:44:10 +01:00
Jan Christoph Terasa
36ef429130 Add ppss_table pretty printer. 2019-11-29 15:38:07 +01:00
Jan Christoph Terasa
fd3af4857d Remove dead code 2019-11-25 17:52:54 +01:00
Jan Christoph Terasa
bd385fa8b1 Rediscover and comment method to generate TCs for threshold setting. Closes issue #3 2019-11-23 16:14:43 +01:00
Jan Christoph Terasa
7d9154e211 Get rid of VCS specific code in configs 2019-11-18 13:46:50 +01:00
Jan Christoph Terasa
d017439daa Use Python 3 2019-11-15 15:50:49 +01:00
Jan Christoph Terasa
08cb730574 Change SVN $ RCS keyword substitution to use git revision sha 2019-11-15 14:27:53 +01:00
Jan Christoph Terasa
4b22478580 solo/step/configs: Update version number to v04.
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@7835 bc5caf13-1734-44f8-af43-603852e9ee25
2019-11-15 11:05:02 +00:00
Jan Christoph Terasa
f63573c16d step/ppss.py: Function to modify thresholds of a table in place.
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@7831 bc5caf13-1734-44f8-af43-603852e9ee25
2019-11-14 15:09:14 +00:00
Jan Christoph Terasa
f4433649ca solo/step/data.py: Disable differential encoding for all data products.
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@7819 bc5caf13-1734-44f8-af43-603852e9ee25
2019-11-07 09:18:36 +00:00
Jan Christoph Terasa
159b92a6d0 solo/step/ppss.py: PHA cadence to 3600s.
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@7818 bc5caf13-1734-44f8-af43-603852e9ee25
2019-11-07 09:17:22 +00:00
Robert Elftmann
9e1ffd69ae dps.py: changed QUICKLOOK tag to LOWLATENCY
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@7617 bc5caf13-1734-44f8-af43-603852e9ee25
2019-07-23 12:55:36 +00:00
Jan Christoph Terasa
b9f3c3ebde step/dps.py: Write defs to stdout when executing file.
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@7593 bc5caf13-1734-44f8-af43-603852e9ee25
2019-07-09 12:23:13 +00:00