From 1f8daf63bb001142871064b295f86832316f0563 Mon Sep 17 00:00:00 2001
From: Vardan Tadevosyan <tadevosn@jlab.org>
Date: Fri, 11 Apr 2014 08:36:05 +0400
Subject: [PATCH] Add short instructions for the HMS calorimeter calibration.

---
 hcal_calib/instructions.txt | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 hcal_calib/instructions.txt

diff --git a/hcal_calib/instructions.txt b/hcal_calib/instructions.txt
new file mode 100644
index 0000000..1882431
--- /dev/null
+++ b/hcal_calib/instructions.txt
@@ -0,0 +1,20 @@
+Instructions for calibration the HMS calorimeter under hcana.
+
+1. Go to hcana/hcal_calib directory.
+
+2. Copy (or link) DBASE, MAPS and PARAM directories into the hcal_calib.
+
+3. Create Root_files directory.
+
+4. Copy (or link) the raw data log file of the run to be calibrated into the
+   hcal_calib.
+
+5. Under hcana, replay the run by runnning hcal_replay.C for a number of events
+   (e.g. hcal_replay.cpp(52949,100000)). This will create an output Root file
+   in the Root_files directory.
+
+6. Calibrate the run by compiling and running hcal_calib.C under hcana
+   (e.g. hcal_calib.C+(52949)). This will output calibration constants in a
+   hcal.param.<RunNumber> file. Also, it will display Canvas with histograms of
+   uncalibated and calibrated normalized energy depositions, and a scattered
+   plot of momentum variation versus the normalized energy deposition.
-- 
GitLab