File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed
Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -75,6 +75,13 @@ if [[ $BEAMTYPE != "cosmic" ]] || [[ $FORCECALIBRATIONS == 1 ]] ; then
7575 CALIB_PHS_TURNONCALIB=0
7676 CALIB_PHS_RUNBYRUNCALIB=0
7777 fi
78+
79+ # calibrations for CPV
80+ if has_detector_calib CPV && has_detector_reco CPV; then
81+ if [[ -z ${CALIB_CPV_GAIN+x} ]]; then CALIB_CPV_GAIN=1; fi
82+ else
83+ CALIB_CPV_GAIN=0
84+ fi
7885fi
7986
8087if [[ " 0$GEN_TOPO_VERBOSE " == " 01" ]]; then
@@ -90,6 +97,7 @@ if [[ "0$GEN_TOPO_VERBOSE" == "01" ]]; then
9097 echo " CALIB_TRD_VDRIFTEXB = $CALIB_TRD_VDRIFTEXB " 1>&2
9198 echo " CALIB_TPC_TIMEGAIN = $CALIB_TPC_TIMEGAIN " 1>&2
9299 echo " CALIB_TPC_RESPADGAIN = $CALIB_TPC_RESPADGAIN " 1>&2
100+ echo " CALIB_CPV_GAIN = $CALIB_CPV_GAIN " 1>&2
93101fi
94102
95103# define spec for proxy for TF-based outputs from BARREL
@@ -131,6 +139,11 @@ if [[ -z $CALIBDATASPEC_CALO_TF ]]; then
131139 if [[ $CALIB_PHS_ENERGYCALIB == 1 ]]; then add_semicolon_separated CALIBDATASPEC_CALO_TF " cluelementsPHS:PHS/CLUELEMENTS/0" ; fi
132140 if [[ $CALIB_PHS_BADMAPCALIB == 1 ]] || [[ $CALIB_PHS_TURNONCALIB == 1 ]]; then add_semicolon_separated CALIBDATASPEC_CALO_TF " cellsPHS:PHS/CELLS/0" ; fi
133141 if [[ $CALIB_PHS_TURNONCALIB == 1 ]]; then add_semicolon_separated CALIBDATASPEC_CALO_TF " cellsTRPHS:PHS/CELLTRIGREC/0" ; fi
142+
143+ # CPV
144+ if [[ $CALIB_CPV_GAIN == 1 ]]; then
145+ add_semicolon_separated CALIBDATASPEC_CALO_TF " calibdCPV:CPV/CALIBDIGITS/0"
146+ fi
134147fi
135148
136149if [[ " 0$GEN_TOPO_VERBOSE " == " 01" ]]; then
You can’t perform that action at this time.
0 commit comments