Skip to content

Commit 22f8bf4

Browse files
authored
PWGEM: Add HF2ee script for OO (#2290)
1 parent 8882317 commit 22f8bf4

File tree

1 file changed

+59
-0
lines changed

1 file changed

+59
-0
lines changed
Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
#!/bin/bash
2+
3+
#
4+
# Steering script for HF enhanced dielectron MC anchored to LHC25ae
5+
#
6+
7+
# example anchoring
8+
9+
export ALIEN_JDL_LPMANCHORPASSNAME=apass2
10+
export ALIEN_JDL_MCANCHOR=apass2
11+
export ALIEN_JDL_CPULIMIT=8
12+
export ALIEN_JDL_LPMRUNNUMBER=564356
13+
export ALIEN_JDL_LPMPRODUCTIONTYPE=MC
14+
export ALIEN_JDL_LPMINTERACTIONTYPE=pp
15+
export ALIEN_JDL_LPMPRODUCTIONTAG=LHC26a2
16+
export ALIEN_JDL_LPMANCHORRUN=564356
17+
export ALIEN_JDL_LPMANCHORPRODUCTION=LHC25ae
18+
export ALIEN_JDL_LPMANCHORYEAR=2025
19+
export ALIEN_JDL_OUTPUT=*.dat@disk=1,*.txt@disk=1,*.root@disk=2
20+
21+
export NTIMEFRAMES=1
22+
export NSIGEVENTS=20
23+
export SPLITID=100
24+
export PRODSPLIT=153
25+
export CYCLE=0
26+
27+
# on the GRID, this is set and used as seed; when set, it takes precedence over SEED
28+
#export ALIEN_PROC_ID=2963436952
29+
export SEED=0
30+
31+
# for pp and 50 events per TF, we launch only 4 workers.
32+
export NWORKERS=2
33+
34+
# define the generator via ini file
35+
# use 30/70 sampling for different generators
36+
# No forced beauty decays as we have observed biases
37+
38+
# generate random number
39+
RNDSIG=$(($RANDOM % 100))
40+
41+
42+
if [[ $RNDSIG -ge 0 && $RNDSIG -lt 30 ]];
43+
then
44+
CONFIGNAME="GeneratorHFGapTriggered_Charm_Gap2_OO_electron.ini"
45+
elif [[ $RNDSIG -ge 30 && $RNDSIG -lt 100 ]];
46+
then
47+
CONFIGNAME="GeneratorHFGapTriggered_BeautyNoForcedDecay_Gap2_OO_electron.ini"
48+
fi
49+
50+
export ALIEN_JDL_ANCHOR_SIM_OPTIONS="-gen external -ini $O2DPG_ROOT/MC/config/PWGEM/ini/$CONFIGNAME"
51+
52+
# run the central anchor steering script; this includes
53+
# * derive timestamp
54+
# * derive interaction rate
55+
# * extract and prepare configurations (which detectors are contained in the run etc.)
56+
# * run the simulation (and QC)
57+
# To disable QC, uncomment the following line
58+
#export DISABLE_QC=1
59+
${O2DPG_ROOT}/MC/run/ANCHOR/anchorMC.sh

0 commit comments

Comments
 (0)