Difference between revisions of "G2p/analyzerdb"

From Hall A Wiki
Jump to: navigation, search
(How To Use)
 
(One intermediate revision by the same user not shown)
Line 6: Line 6:
  
 
==How To Use==
 
==How To Use==
The db_run.dat has been divided into two files: db_run_l/r.dat. They should be both put into the $DB_DIR. When you replay the rootfiles, just link the corresponding one as 'db_run.dat'. In the directory above, you will find an example in the [http://hallaweb.jlab.org/experiment/g2p/collaborators/mhuang/db_run/doreplay0.sh doreplay0.sh] bash script.
+
Put this file in $DB_DIR. Analyzer will use it.
  
 
==Details==
 
==Details==
 +
First, time is the prestart event time obtained from raw data file.
 +
*Thanks to Chao for providing the time
 +
 
The ebeam, L/R.pcentral are average values of the respective epics variables during each run obtained from raw data files.
 
The ebeam, L/R.pcentral are average values of the respective epics variables during each run obtained from raw data files.
  
 
The target type is determined from target encoder values. The ranges can be found at the very end of [https://hallaweb.jlab.org/wiki/index.php/G2p_RunInfo this page].  
 
The target type is determined from target encoder values. The ranges can be found at the very end of [https://hallaweb.jlab.org/wiki/index.php/G2p_RunInfo this page].  
*The target encoder variable didn't start reporting accurately until run 3220/22305. [http://hallaweb.jlab.org/halog/log/html/1203_archive/120316153201.html] Fortunately, there is no g2p production run before this point, thus all masses (MA) are assigned as carbon mass.
+
*The target encoder variable didn't start reporting accurately until run 3220/22305 [http://hallaweb.jlab.org/halog/log/html/1203_archive/120316153201.html]. Fortunately, there is no g2p production run before this point, thus all masses (MA) are assigned as carbon mass.
*Thanks to Ryan and Chao for providing the EPICS, encoder range and run information.
+
*Thanks to Chao and Ryan for providing the EPICS and target information
 +
The L/R.theta is assigned as 5.69 temporarily. These variables will be updated after pointing calibration is done.

Latest revision as of 02:18, 14 November 2014

Below is the latest version of 'db_run.dat' in the analyzer database. It should be ready to use now. I will update here if I think of anything to change. Please let me know if there is any issue.

-Min

db_run.dat

How To Use

Put this file in $DB_DIR. Analyzer will use it.

Details

First, time is the prestart event time obtained from raw data file.

  • Thanks to Chao for providing the time

The ebeam, L/R.pcentral are average values of the respective epics variables during each run obtained from raw data files.

The target type is determined from target encoder values. The ranges can be found at the very end of this page.

  • The target encoder variable didn't start reporting accurately until run 3220/22305 [1]. Fortunately, there is no g2p production run before this point, thus all masses (MA) are assigned as carbon mass.
  • Thanks to Chao and Ryan for providing the EPICS and target information

The L/R.theta is assigned as 5.69 temporarily. These variables will be updated after pointing calibration is done.