Skip to content

Commit 2bb4dfa

Browse files
committed
[MCH] add cut random fraction setting for the cases with and without ITS
Two new environment variables are introduced to provide the fraction of rejected MCH events separately for the cases where ITS is either included (CUT_RANDOM_FRACTION_MCH_WITH_ITS) or excluded (CUT_RANDOM_FRACTION_MCH_NO_ITS) from the data taking. The CUT_RANDOM_FRACTION_MCH variable, as well as the two new ones, can still be overridden by setting them explicitly in the shell environment, therefore the changes are backward compatible.
1 parent 7f8db37 commit 2bb4dfa

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

DATA/production/workflow-multiplicities.sh

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,21 @@ elif [[ $BEAMTYPE == "PbPb" ]]; then
252252
else
253253
: ${CUT_RANDOM_FRACTION_ITS:=0.95}
254254
fi
255-
[[ $RUNTYPE != "COSMICS" ]] && : ${CUT_RANDOM_FRACTION_MCH:=0.7}
255+
256+
# Random data sampling fraction for MCH
257+
if [[ $BEAMTYPE == "pp" ]]; then
258+
: ${CUT_RANDOM_FRACTION_MCH_WITH_ITS:=0.5}
259+
: ${CUT_RANDOM_FRACTION_MCH_NO_ITS:=0.995}
260+
elif [[ "$HIGH_RATE_PP" == "1" ]]; then
261+
: ${CUT_RANDOM_FRACTION_MCH_WITH_ITS:=0.7}
262+
: ${CUT_RANDOM_FRACTION_MCH_NO_ITS:=0.995}
263+
elif [[ $BEAMTYPE == "PbPb" ]]; then
264+
: ${CUT_RANDOM_FRACTION_MCH_WITH_ITS:=0.9}
265+
: ${CUT_RANDOM_FRACTION_MCH_NO_ITS:=0.995}
266+
else
267+
: ${CUT_RANDOM_FRACTION_MCH_WITH_ITS:=0.99}
268+
: ${CUT_RANDOM_FRACTION_MCH_NO_ITS:=0.99}
269+
fi
256270

257271
#if [[ "$HIGH_RATE_PP" == "1" ]]; then
258272
# Extra settings for HIGH_RATE_PP

0 commit comments

Comments
 (0)