Proton Calorimetry/Equipment
Jump to navigation
Jump to search
This page contains information on the various pieces of experimental equipment that form the Proton Calorimetry detector setup.
Caen Detector Emulator
The Caen DT5800D Detector Emulator provides the capability for emulating the output of an arbitrary detector system.
More details can be found on the Caen Detector Emulator page.
LeCroy Scope Trace Conversion: Binary to ASCII
To convert .trc binary data to .txt data that is formatted similarly to the output files from a CAEN DT5751 digitiser:
- Copy contents of
/unix/pbt/aknoetze/ConversionScripts
to a new directory. - Open
trc2txt.py
in a text editor.- Change path to directory containing .trc data files by editing variable
dirpath
- Change number of decimal points for each column by editing:
np.savetxt(..., fmt=‘...’,...)
- Change path to directory containing .trc data files by editing variable
- Run
trc2txt.py
Converted .txt files will be in the copied directory NEWASCII
. These new files will possess the same file names as the original .txt files.
To concatenate the new data files together into one single file, while in the directory NEWASCII
,type:
cat *.txt > OutputFileName.txt