Skip to content
Snippets Groups Projects
Commit 03e57e26 authored by Hernán Asorey's avatar Hernán Asorey
Browse files

More usage help added in README.md

parent 2a4eca2e
No related branches found
No related tags found
No related merge requests found
......@@ -84,10 +84,12 @@ in the parent directory. It will provide a <kbd>.root</kbd> file with a specific
The output data is quite simple. In the resulting ASCII file, the expected ADC values for the first 100 temporal bins of the FADC traces (~2.5 us) are given for each injected particle. A simple awk script to produce a charge histogram could be:
```bash
cd ${LAGO_EASY}/sim
for i in *.dat; do
u=$(basename $i .dat)
echo $i
awk '{t[$1]+=$4}END{for (i in t) {print t[i] }}' $i | sort -n | uniq -c | awk '{if ($2) {print $2,$1}}' > $u.hst
done
```
producing a file containing a two column file: <kbd>charge counts</kbd>.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment