Skip to content

Commit b2b15b6

Browse files
Add possibility to enable time gain calibration
This PR enables the option to create the time gain calibration objects by setting ALIEN_JDL_DOTPCTIMEGAINCALIB=1. The output files are named `o2tpc_CalibratordEdx_Histos_<run>_<startTime>_<endTime>_<startTF>_<endTF>.root` and need to be merged afterwards to get enough statistics for the fits.
1 parent 3cd6b38 commit b2b15b6

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

DATA/production/configurations/asyncReco/async_pass.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,10 @@ if [[ "$ALIEN_JDL_EXTRACTTIMESERIES" == "1" ]]; then
205205
export ADD_CALIB=1
206206
fi
207207

208+
if [[ "$ALIEN_JDL_DOTPCTIMEGAINCALIB" == "1" ]]; then
209+
export ADD_CALIB=1
210+
fi
211+
208212
# AOD file size
209213
if [[ -n "$ALIEN_JDL_AODFILESIZE" ]]; then
210214
export AOD_FILE_SIZE="$ALIEN_JDL_AODFILESIZE"

DATA/production/configurations/asyncReco/setenv_extra.sh

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -761,6 +761,16 @@ if [[ $ADD_CALIB == "1" ]]; then
761761
if [[ $ALIEN_JDL_DOUPLOADSLOCALLY == 1 ]]; then
762762
export CCDB_POPULATOR_UPLOAD_PATH="file://$PWD"
763763
fi
764+
765+
# enable time gain calibration
766+
if [[ $ALIEN_JDL_DOTPCTIMEGAINCALIB == 1 ]]; then
767+
echo "Enabling TPC time gain calibration"
768+
export CALIB_TPC_TIMEGAIN=1
769+
export ARGS_EXTRA_PROCESS_o2_tpc_calibrator_dedx+=" --dump-histograms 1 --min-entries 1" # write full calibration objects for time gain without rejecting low statistics timeslots
770+
export ARGS_EXTRA_PROCESS_o2_tpc_miptrack_filter+=" --use-global-tracks"
771+
export SCALEEVENTS_TPC_TIMEGAIN=1 # use all TFs
772+
export SCALETRACKS_TPC_TIMEGAIN=-1 # use all tracks
773+
fi
764774
fi
765775

766776
# Enabling AOD

0 commit comments

Comments
 (0)