Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
daq:easy_decomp_calibrations [2017/02/27 17:10] weisshaa |
daq:easy_decomp_calibrations [2017/03/02 14:38] (current) weisshaa [Easy GRETINA Decomp File Creation] |
||
---|---|---|---|
Line 2: | Line 2: | ||
====== Easy GRETINA Decomp File Creation ====== | ====== Easy GRETINA Decomp File Creation ====== | ||
- | * create a new directory **~gretina/Decomp/detmap_YYMMD** | + | * create a new directory **~gretina/DecompParam/detmap_YYMMD** |
* copy your detmap files for the individual quads to the new directory (standard format: **detmap_Q1.txt**) | * copy your detmap files for the individual quads to the new directory (standard format: **detmap_Q1.txt**) | ||
Line 9: | Line 9: | ||
<code> | <code> | ||
- | ~analysis/packages/Calibrations/applyCalibrations.sh . | + | ~analysis/packages/Calibrations/apply_calibration_steps.sh . |
</code> | </code> | ||
| | ||
* assuming the 10 detmap file exists, this script will create all the necessary decomp files for all gain ranges using the standard naming conventions. | * assuming the 10 detmap file exists, this script will create all the necessary decomp files for all gain ranges using the standard naming conventions. | ||
+ | * You may need to edit the trace gain file for broken segments (i.e. Q4P2, tr_gain_Q4pos2_CC9.txt, set line 25 to 10000.0 and Q8P2 gamma6, line 19 ) OR give SMALL calibration parameter in the detmap_Qx.txt file. | ||
== Loading the Decomp Files == | == Loading the Decomp Files == | ||
Line 24: | Line 24: | ||
</code> | </code> | ||
- | * Edit the newly created setfile. Perform a search and replace of the old date with the new date; example using setfile.2017-02-09 one would change: | + | * Edit the newly created setfile. Perform a search and replace within the new setfile of the old date and replace it with the new date; example using setfile.2017-02-09 one would change: |
<code> | <code> | ||
Line 30: | Line 30: | ||
</code> | </code> | ||
- | * edit the file **~gretina//decomp.sh** to point to the new setfile. This is done by editing the variable **FILECONF** in **~gretina//decomp.sh** This variable will be the first uncommented line in the file. Best practice is to copy/comment the original line before editing. | + | * edit the file **~/grdecomp.sh** to point to the new setfile. This is done by editing the variable **FILECONF** in **~/grdecomp.sh** This variable will be the first uncommented line in the file. Best practice is to copy/comment the original line before editing. |
== Restarting GRETINA Decomp == | == Restarting GRETINA Decomp == | ||
Line 36: | Line 36: | ||
* Once the above steps are complete, the decomp process needs to be restarted. This can be done in one of two ways: | * Once the above steps are complete, the decomp process needs to be restarted. This can be done in one of two ways: | ||
* Press either the **GRETINA Stand Alone** of **GRETINA + S800** button. | * Press either the **GRETINA Stand Alone** of **GRETINA + S800** button. | ||
- | * or run **./grdecom.sh** from a terminal connected to **a2.gam** | + | * or run **./grdecomp.sh** from a terminal connected to **a2.gam** (WARNING: this will open the run dialog box on the computer the terminal is open on.) |