Differences

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

Link to this comparison view

Next revision
Previous revision
Next revision Both sides next revision
daq:easy_decomp_calibrations [2017/02/27 16:48]
weisshaa created
daq:easy_decomp_calibrations [2017/02/28 10:57]
weisshaa [Easy GRETINA Decomp File Creation]
Line 4: Line 4:
   * create a new directory **~gretina/​Decomp/​detmap_YYMMD**   * create a new directory **~gretina/​Decomp/​detmap_YYMMD**
  
-  * copy your detmap files for the individual quads to the new directory+  * 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 <​dirname>​** 
 + 
 +<​code>​ 
 +~analysis/​packages/​Calibrations/​applyCalibrations.sh . 
 +</​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. 
 + 
 + 
 + 
 +== Loading the Decomp Files ==  
 + 
 +  * Copy the setfile. The setfiles are located in **~gretina/​DecompParam/​** Copy the last setfile to the current date: 
 + 
 +<​code>​ 
 +cp setFile.2017-02-09 setFile.YYYY-MM-DD 
 +</​code>​ 
 + 
 +  * 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>​ 
 +170209 ​ ->  YYMMDD 
 +</​code>​ 
 + 
 +  * 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 == 
 + 
 +  * 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. 
 +    * 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.) 
  
-  * run the script **~analysis/​packages/​Calibrations/​applyCalibrations.sh** 
  
-    <​code>​ 
-    ~analysis/​packages/​Calibrations/​applyCalibrations.sh . 
-    ​ 
-    </​code>​ 

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