-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathread.me
33 lines (33 loc) · 2.38 KB
/
read.me
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
DANSS analysis main flow:
1. Do time calibration as in tcalib/read.me
2. Run digi_evtbuilder using mpi:
danss_submit run_digi_mpi run_first run_last mpi 500 "OUT_DIR=/home/clusters/rrcmpi/alekseev/igor/root8n2/"
3. Find dead channels and calculate efficiencies as in deadchan/read.me (it actually includes point 2.)
4. Set new dead channels list in main_dead.list and run digi_evtbuilder again.
5A. Check that all files are new: find the_directory -mtime +5 | sort > old_root.list
Remove in the file everything but numbers. Rerun evtbuilder:
danss_submit run_digi_mpi 1 number_of_missed mpi 500 "OUT_DIR=/home/clusters/rrcmpi/alekseev/igor/root8n2/ DIGI_LIST=old_root.list"
5B. Check that all files are OK using check_root.sh. Rerun digi_evtbuilder on missed runs:
danss_submit run_digi_mpi 1 number_of_missed mpi 500 "OUT_DIR=/home/clusters/rrcmpi/alekseev/igor/root8n2/ DIGI_LIST=check_root.list"
6. Correct file run_stat_mpi.sh and run it in the batch machine for the new data portion to make statisticas files which should be joined together.
Strip text lines:
sed -e "/Run/d" input.txt > tmp.txt
sed -e "/Proc/d" tmp.txt > output.txt
7. Correct file run_dead_mpi.sh and run it in the batch machine for the new data portion to calculate dead times to include into the
statistics. Cat files into a single file and strip text lines:
sed -e "/Run/d" input.txt > output.txt
8. Run deadtimes_v2/merge2stat to insert dead times in to the stat file:
./merge2stat input_stat.txt input_dead.txt output_stat.txt
9. Add effeciency information using deadchan/eff2stat_v1 as described in deadchan/read.me
*** Adding fixed efficiency at the end of line:
sed -e "s/$/ 0.34904/" stat_149083_155082_d.txt > stat_149083_155082_de.txt
Now stat file is ready for manual analysis and adding the reactor power information.
10. Run pairbuilder:
danss_submit run_pair_mpi run_first run_last mpi 500 "SRC_DIR=/home/clusters/rrcmpi/alekseev/igor/root8n2 TGT_DIR=/home/clusters/rrcmpi/alekseev/igor/pair8n2"
11. Check that all files are OK using check_pair.sh. Rerun pairbuilder on missed runs.
12. Copy stat file (step 9) to positions directory and run positions builder:
./stat2pos stat_file.txt pos_file
You will get two files: pos_file.txt and pos_file.h
13. Edit symbolic links in this stat_all.txt and stat_pos.txt in this directory
to point to these files. Edit file positions.h to point to the h-file.
14. Rebuild spectr6.