Skip to content

Commit 4f279cd

Browse files
committed
change env variable name to the one used in trigger macros
1 parent f5c83e8 commit 4f279cd

File tree

4 files changed

+19
-19
lines changed

4 files changed

+19
-19
lines changed

MC/run/PWGGAJE/run_decaygammajets.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# Select the event depending min Pt and acceptance of decay photons.
55
# Execute: ./run_decaygammajets.sh
66
# Set at least before running PTHATBIN with 1 to 6
7-
# CONFIG_DETECTOR_ACCEPTANCE and CONFIG_DECAYGAMMA_PTMIN, see
7+
# PARTICLE_ACCEPTANCE and CONFIG_DECAYGAMMA_PTMIN, see
88
# $O2DPG_ROOT/MC/config/PWGGAJE/trigger/decay_gamma_jet.C
99

1010
#set -x
@@ -63,14 +63,14 @@ echo "Set Pt hard bin " $PTHATBIN ": [" $PTHATMIN " , " $PTHATMAX "]"
6363

6464
# Recover environmental vars for detector acceptance binning
6565
# accessed inside prompt_gamma.C
66-
export CONFIG_DETECTOR_ACCEPTANCE=${CONFIG_DETECTOR_ACCEPTANCE:-1}
66+
export PARTICLE_ACCEPTANCE=${PARTICLE_ACCEPTANCE:-1}
6767

68-
if [ -z "$CONFIG_DETECTOR_ACCEPTANCE" ]; then
69-
echo "Detector acceptance option (env. var. CONFIG_DETECTOR_ACCEPTANCE) not set, abort."
68+
if [ -z "$PARTICLE_ACCEPTANCE" ]; then
69+
echo "Detector acceptance option (env. var. PARTICLE_ACCEPTANCE) not set, abort."
7070
exit 1
7171
fi
7272

73-
echo 'Detector acceptance option ' $CONFIG_DETECTOR_ACCEPTANCE
73+
echo 'Detector acceptance option ' $PARTICLE_ACCEPTANCE
7474

7575
# Generate PYTHIA8 gamma-jet configuration
7676
${O2DPG_ROOT}/MC/config/common/pythia8/utils/mkpy8cfg.py \

MC/run/PWGGAJE/run_dirgamma.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# Select the event depending detector acceptance and/or outgoing parton flavour.
55
# Execute: ./run_dirgamma.sh
66
# Set at least before running PTHATBIN with 1 to 6
7-
# and CONFIG_DETECTOR_ACCEPTANCE, see
7+
# and PARTICLE_ACCEPTANCE, see
88
# $O2DPG_ROOT/MC/config/PWGGAJE/trigger/prompt_gamma.C
99

1010
#set -x
@@ -40,14 +40,14 @@ PTHATMAX=${pthatbin_higheredges[$PTHATBIN]}
4040

4141
# Recover environmental vars for detector acceptance binning
4242
# accessed inside prompt_gamma.C
43-
#export CONFIG_DETECTOR_ACCEPTANCE=${CONFIG_DETECTOR_ACCEPTANCE:-1}
43+
export PARTICLE_ACCEPTANCE=${PARTICLE_ACCEPTANCE:-1}
4444

45-
if [ -z "$CONFIG_DETECTOR_ACCEPTANCE" ]; then
46-
echo "Detector acceptance option (env. var. CONFIG_DETECTOR_ACCEPTANCE) not set, abort."
45+
if [ -z "$PARTICLE_ACCEPTANCE" ]; then
46+
echo "Detector acceptance option (env. var. PARTICLE_ACCEPTANCE) not set, abort."
4747
exit 1
4848
fi
4949

50-
echo 'Detector acceptance option ' $CONFIG_DETECTOR_ACCEPTANCE
50+
echo 'Detector acceptance option ' $PARTICLE_ACCEPTANCE
5151

5252
# Recover environmental vars for outgoing parton flavour
5353
# accessed inside prompt_gamma.C

MC/run/PWGGAJE/run_dirgamma_hook.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# using PYTHIA8 hooks.
66
# Execute: ./run_dirgamma_hook.sh
77
# Set at least before running PTHATBIN with 1 to 6
8-
# and CONFIG_DETECTOR_ACCEPTANCE, see
8+
# and PARTICLE_ACCEPTANCE, see
99
# $O2DPG_ROOT/MC/config/PWGGAJE/hooks/prompt_gamma_hook.C
1010

1111
#set -x
@@ -41,14 +41,14 @@ PTHATMAX=${pthatbin_higheredges[$PTHATBIN]}
4141

4242
# Recover environmental vars for detector acceptance binning
4343
# accessed inside prompt_gamma.C
44-
#export CONFIG_DETECTOR_ACCEPTANCE=${CONFIG_DETECTOR_ACCEPTANCE:-1}
44+
export PARTICLE_ACCEPTANCE=${PARTICLE_ACCEPTANCE:-1}
4545

46-
if [ -z "$CONFIG_DETECTOR_ACCEPTANCE" ]; then
47-
echo "Detector acceptance option (env. var. CONFIG_DETECTOR_ACCEPTANCE) not set, abort."
46+
if [ -z "$PARTICLE_ACCEPTANCE" ]; then
47+
echo "Detector acceptance option (env. var. PARTICLE_ACCEPTANCE) not set, abort."
4848
exit 1
4949
fi
5050

51-
echo 'Detector acceptance option ' $CONFIG_DETECTOR_ACCEPTANCE
51+
echo 'Detector acceptance option ' $PARTICLE_ACCEPTANCE
5252

5353
# Recover environmental vars for outgoing parton flavour
5454
# accessed inside prompt_gamma.C

MC/run/PWGGAJE/run_jets_hook.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,14 @@ PTHATMAX=${pthatbin_higheredges[$PTHATBIN]}
3737

3838
# Recover environmental vars for detector acceptance binning
3939
# accessed inside prompt_gamma.C
40-
export CONFIG_DETECTOR_ACCEPTANCE=${CONFIG_DETECTOR_ACCEPTANCE:-0}
40+
export PARTICLE_ACCEPTANCE=${PARTICLE_ACCEPTANCE:-0}
4141

42-
if [ -z "$CONFIG_DETECTOR_ACCEPTANCE" ]; then
43-
echo "Detector acceptance option (env. var. CONFIG_DETECTOR_ACCEPTANCE) not set, abort."
42+
if [ -z "$PARTICLE_ACCEPTANCE" ]; then
43+
echo "Detector acceptance option (env. var. PARTICLE_ACCEPTANCE) not set, abort."
4444
exit 1
4545
fi
4646

47-
echo 'Detector acceptance option ' $CONFIG_DETECTOR_ACCEPTANCE
47+
echo 'Detector acceptance option ' $PARTICLE_ACCEPTANCE
4848

4949
# Recover environmental vars for outgoing parton flavour
5050
# accessed inside prompt_gamma.C

0 commit comments

Comments
 (0)