Generating new HVs for cosmic calibration
From HallCWiki
- The following instructions are used for generating new HVs based on Julie's analysis of amplitudes for cosmic calibration.
- Login into cdaq machine with cdaq account
- go_analysis_nps
- cd /home/cdaq/hhuang/analysis/cosCalib
- ./readHV.sh <path of the last HV setting for cosmic calibration> to read the old HV configuration file for the next step
- the last HV setting for cosmic calibration should be located in /home/cdaq/calorimeter/HV/
- full path is required, e.g. /home/cdaq/calorimeter/HV/hv-settings-12-20-2023_1326.txt
- root -b -q 'newHV.C(<run number of the previous cosmic run with old HVs>)'
- Two figures, "HV_new_<run number>.png" and "HV_new_2D_<run number>.png", will be generated to check the new HVs.
- The file "cosmic_hv_<run number>.txt" is the configuration file to be loaded into the HV crates. Copy it to the NPS HV folder with: cp cosmic_hv_<run number>.txt /home/cdaq/calorimeter/HV/
- Load the new HV settings by following the instructions in "NPS slow control"