Skip to content

Commit 54a5527

Browse files
authored
Remove lumi scaling factor in TPC_CORR_SCALING for pp (#1572)
1 parent 0ba029f commit 54a5527

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

DATA/common/setenv.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,8 @@ DISABLE_ROOT_INPUT="--disable-root-input"
167167
# Special detector related settings
168168
if [[ -z "${TPC_CORR_SCALING:-}" ]]; then # TPC corr.map lumi scaling options, any combination of --lumi-type <0,1,2> --corrmap-lumi-mode <0,1> and TPCCorrMap... configurable param
169169
TPC_CORR_SCALING=
170-
if ( [[ $BEAMTYPE == "pp" ]] || [[ $BEAMTYPE == "PbPb" ]] ) && has_detector CTP; then TPC_CORR_SCALING+="--lumi-type 1 TPCCorrMap.lumiInstFactor=2.414"; fi
170+
if [[ $BEAMTYPE == "pp" ]] && has_detector CTP; then TPC_CORR_SCALING+="--lumi-type 1"; fi
171+
if [[ $BEAMTYPE == "PbPb" ]] && has_detector CTP; then TPC_CORR_SCALING+="--lumi-type 1 TPCCorrMap.lumiInstFactor=2.414"; fi
171172
if [[ $BEAMTYPE == "cosmic" ]]; then TPC_CORR_SCALING=" TPCCorrMap.lumiMean=-1;"; fi # for COSMICS we disable all corrections
172173
export TPC_CORR_SCALING=$TPC_CORR_SCALING
173174
fi

0 commit comments

Comments
 (0)