Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
daq:easy_decomp_calibrations [2017/02/27 17:09]
weisshaa
daq:easy_decomp_calibrations [2017/03/02 14:34]
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**)
  
-  * run the script **~analysis/​packages/​Calibrations/​apply_calibration_steps.sh**+  * run the script **~analysis/​packages/​Calibrations/​apply_calibration_steps.sh ​<​dirname>​**
  
 <​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 )
  
 == 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.
-    * 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.)
  
  
  

QR Code
QR Code daq:easy_decomp_calibrations (generated for current page)