Skip to content
Snippets Groups Projects
  • Vardan Tadevosyan's avatar
    4d1f82dc
    Add SHMS calibration code and move HMS calibration code · 4d1f82dc
    Vardan Tadevosyan authored
        Create hc_cal_calib directory for the calorimeter calibrations.
        In the hc_cal_calib, the HMS calorimeter calibration resides in
        hcal_calib directory, and the SHMS calorimeter calibration in
        shms_cal_calib directory.
    
        Change file extension for debug files from .d to .deb to avoid
        confusion with make dependency files.
    4d1f82dc
    History
    Add SHMS calibration code and move HMS calibration code
    Vardan Tadevosyan authored
        Create hc_cal_calib directory for the calorimeter calibrations.
        In the hc_cal_calib, the HMS calorimeter calibration resides in
        hcal_calib directory, and the SHMS calorimeter calibration in
        shms_cal_calib directory.
    
        Change file extension for debug files from .d to .deb to avoid
        confusion with make dependency files.
instructions.txt 867 B
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.