Skip to content

Commit 1ad144a

Browse files
authored
MC/PWGEM: add ini and sh files for LF->ee and gamma (#1684)
1 parent 8279d4b commit 1ad144a

9 files changed

+229
-2
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
### The setup uses an external event generator
2+
### This part sets the path of the file and the function call to retrieve it
3+
4+
[GeneratorExternal]
5+
fileName = ${O2DPG_ROOT}/MC/config/PWGEM/external/generator/Generator_pythia8_GapTriggered_LFee.C
6+
funcName = GeneratorPythia8GapTriggeredLFee_ForEM(8+1, -1.2, +1.2, 1, -1)
7+
8+
[GeneratorPythia8]
9+
config = ${O2DPG_ROOT}/MC/config/PWGEM/pythia8/generator/pythia8_MB_gapevent.cfg

MC/config/PWGEM/ini/Generator_GapTriggered_LFgamma_np1_gap5.ini renamed to MC/config/PWGEM/ini/Generator_GapTriggered_LFgamma_np1_gap2.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
[GeneratorExternal]
55
fileName = ${O2DPG_ROOT}/MC/config/PWGEM/external/generator/Generator_pythia8_GapTriggered_LFgamma.C
6-
funcName = GeneratorPythia8GapTriggeredLFgamma_ForEM(5+1, -1.2, +1.2, 1)
6+
funcName = GeneratorPythia8GapTriggeredLFgamma_ForEM(2+1, -1.2, +1.2, 1)
77

88
[GeneratorPythia8]
99
config = ${O2DPG_ROOT}/MC/config/PWGEM/pythia8/generator/pythia8_MB_gapevent.cfg
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
### The setup uses an external event generator
2+
### This part sets the path of the file and the function call to retrieve it
3+
4+
[GeneratorExternal]
5+
fileName = ${O2DPG_ROOT}/MC/config/PWGEM/external/generator/Generator_pythia8_GapTriggered_LFgamma.C
6+
funcName = GeneratorPythia8GapTriggeredLFgamma_ForEM(4+1, -1.2, +1.2, 1)
7+
8+
[GeneratorPythia8]
9+
config = ${O2DPG_ROOT}/MC/config/PWGEM/pythia8/generator/pythia8_MB_gapevent.cfg
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
### The setup uses an external event generator
2+
### This part sets the path of the file and the function call to retrieve it
3+
4+
[GeneratorExternal]
5+
fileName = ${O2DPG_ROOT}/MC/config/PWGEM/external/generator/Generator_pythia8_GapTriggered_LFgamma.C
6+
funcName = GeneratorPythia8GapTriggeredLFgamma_ForEM(6+1, -1.2, +1.2, 1)
7+
8+
[GeneratorPythia8]
9+
config = ${O2DPG_ROOT}/MC/config/PWGEM/pythia8/generator/pythia8_MB_gapevent.cfg
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
#!/bin/bash
2+
3+
#
4+
# Steering script for LF->ee enhanced dielectron MC anchored to LHC22o apass6
5+
#
6+
7+
# example anchoring
8+
# taken from https://its.cern.ch/jira/browse/O2-4586
9+
export ALIEN_JDL_LPMANCHORPASSNAME=apass6
10+
export ALIEN_JDL_MCANCHOR=apass6
11+
export ALIEN_JDL_CPULIMIT=8
12+
export ALIEN_JDL_LPMRUNNUMBER=526641
13+
export ALIEN_JDL_LPMPRODUCTIONTYPE=MC
14+
export ALIEN_JDL_LPMINTERACTIONTYPE=pp
15+
export ALIEN_JDL_LPMPRODUCTIONTAG=LHC24b1b
16+
export ALIEN_JDL_LPMANCHORRUN=526641
17+
export ALIEN_JDL_LPMANCHORPRODUCTION=LHC22o
18+
export ALIEN_JDL_LPMANCHORYEAR=2022
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=4
33+
34+
# define the generator via ini file
35+
# use 20/40/40 sampling for different generators
36+
# generate random number
37+
RNDSIG=$(($RANDOM % 100))
38+
39+
CONFIGNAME="Generator_GapTriggered_LFee_all_np1_gap10.ini"
40+
41+
export ALIEN_JDL_ANCHOR_SIM_OPTIONS="-gen external -ini $O2DPG_ROOT/MC/config/PWGEM/ini/$CONFIGNAME"
42+
43+
# run the central anchor steering script; this includes
44+
# * derive timestamp
45+
# * derive interaction rate
46+
# * extract and prepare configurations (which detectors are contained in the run etc.)
47+
# * run the simulation (and QC)
48+
# To disable QC, uncomment the following line
49+
#export DISABLE_QC=1
50+
${O2DPG_ROOT}/MC/run/ANCHOR/anchorMC.sh
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
#!/bin/bash
2+
3+
#
4+
# Steering script for LF->ee enhanced dielectron MC anchored to LHC22o apass6
5+
#
6+
7+
# example anchoring
8+
# taken from https://its.cern.ch/jira/browse/O2-4586
9+
export ALIEN_JDL_LPMANCHORPASSNAME=apass6
10+
export ALIEN_JDL_MCANCHOR=apass6
11+
export ALIEN_JDL_CPULIMIT=8
12+
export ALIEN_JDL_LPMRUNNUMBER=526641
13+
export ALIEN_JDL_LPMPRODUCTIONTYPE=MC
14+
export ALIEN_JDL_LPMINTERACTIONTYPE=pp
15+
export ALIEN_JDL_LPMPRODUCTIONTAG=LHC24b1b
16+
export ALIEN_JDL_LPMANCHORRUN=526641
17+
export ALIEN_JDL_LPMANCHORPRODUCTION=LHC22o
18+
export ALIEN_JDL_LPMANCHORYEAR=2022
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=4
33+
34+
# define the generator via ini file
35+
# use 20/40/40 sampling for different generators
36+
# generate random number
37+
RNDSIG=$(($RANDOM % 100))
38+
39+
CONFIGNAME="Generator_GapTriggered_LFee_all_np1_gap8.ini"
40+
41+
export ALIEN_JDL_ANCHOR_SIM_OPTIONS="-gen external -ini $O2DPG_ROOT/MC/config/PWGEM/ini/$CONFIGNAME"
42+
43+
# run the central anchor steering script; this includes
44+
# * derive timestamp
45+
# * derive interaction rate
46+
# * extract and prepare configurations (which detectors are contained in the run etc.)
47+
# * run the simulation (and QC)
48+
# To disable QC, uncomment the following line
49+
#export DISABLE_QC=1
50+
${O2DPG_ROOT}/MC/run/ANCHOR/anchorMC.sh

MC/run/PWGEM/runAnchoredPythia8GapTriggeredLFgamma_pp_np1_gap5.sh renamed to MC/run/PWGEM/runAnchoredPythia8GapTriggeredLFgamma_pp_np1_gap2.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export NWORKERS=4
3636
# generate random number
3737
RNDSIG=$(($RANDOM % 100))
3838

39-
CONFIGNAME="Generator_GapTriggered_LFgamma_np1_gap5.ini"
39+
CONFIGNAME="Generator_GapTriggered_LFgamma_np1_gap2.ini"
4040

4141
export ALIEN_JDL_ANCHOR_SIM_OPTIONS="-gen external -ini $O2DPG_ROOT/MC/config/PWGEM/ini/$CONFIGNAME"
4242

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
#!/bin/bash
2+
3+
#
4+
# Steering script for LF->ee enhanced dielectron MC anchored to LHC22o apass6
5+
#
6+
7+
# example anchoring
8+
# taken from https://its.cern.ch/jira/browse/O2-4586
9+
export ALIEN_JDL_LPMANCHORPASSNAME=apass6
10+
export ALIEN_JDL_MCANCHOR=apass6
11+
export ALIEN_JDL_CPULIMIT=8
12+
export ALIEN_JDL_LPMRUNNUMBER=526641
13+
export ALIEN_JDL_LPMPRODUCTIONTYPE=MC
14+
export ALIEN_JDL_LPMINTERACTIONTYPE=pp
15+
export ALIEN_JDL_LPMPRODUCTIONTAG=LHC24b1b
16+
export ALIEN_JDL_LPMANCHORRUN=526641
17+
export ALIEN_JDL_LPMANCHORPRODUCTION=LHC22o
18+
export ALIEN_JDL_LPMANCHORYEAR=2022
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=4
33+
34+
# define the generator via ini file
35+
# use 20/40/40 sampling for different generators
36+
# generate random number
37+
RNDSIG=$(($RANDOM % 100))
38+
39+
CONFIGNAME="Generator_GapTriggered_LFgamma_np1_gap4.ini"
40+
41+
export ALIEN_JDL_ANCHOR_SIM_OPTIONS="-gen external -ini $O2DPG_ROOT/MC/config/PWGEM/ini/$CONFIGNAME"
42+
43+
# run the central anchor steering script; this includes
44+
# * derive timestamp
45+
# * derive interaction rate
46+
# * extract and prepare configurations (which detectors are contained in the run etc.)
47+
# * run the simulation (and QC)
48+
# To disable QC, uncomment the following line
49+
#export DISABLE_QC=1
50+
${O2DPG_ROOT}/MC/run/ANCHOR/anchorMC.sh
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
#!/bin/bash
2+
3+
#
4+
# Steering script for LF->ee enhanced dielectron MC anchored to LHC22o apass6
5+
#
6+
7+
# example anchoring
8+
# taken from https://its.cern.ch/jira/browse/O2-4586
9+
export ALIEN_JDL_LPMANCHORPASSNAME=apass6
10+
export ALIEN_JDL_MCANCHOR=apass6
11+
export ALIEN_JDL_CPULIMIT=8
12+
export ALIEN_JDL_LPMRUNNUMBER=526641
13+
export ALIEN_JDL_LPMPRODUCTIONTYPE=MC
14+
export ALIEN_JDL_LPMINTERACTIONTYPE=pp
15+
export ALIEN_JDL_LPMPRODUCTIONTAG=LHC24b1b
16+
export ALIEN_JDL_LPMANCHORRUN=526641
17+
export ALIEN_JDL_LPMANCHORPRODUCTION=LHC22o
18+
export ALIEN_JDL_LPMANCHORYEAR=2022
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=4
33+
34+
# define the generator via ini file
35+
# use 20/40/40 sampling for different generators
36+
# generate random number
37+
RNDSIG=$(($RANDOM % 100))
38+
39+
CONFIGNAME="Generator_GapTriggered_LFgamma_np1_gap6.ini"
40+
41+
export ALIEN_JDL_ANCHOR_SIM_OPTIONS="-gen external -ini $O2DPG_ROOT/MC/config/PWGEM/ini/$CONFIGNAME"
42+
43+
# run the central anchor steering script; this includes
44+
# * derive timestamp
45+
# * derive interaction rate
46+
# * extract and prepare configurations (which detectors are contained in the run etc.)
47+
# * run the simulation (and QC)
48+
# To disable QC, uncomment the following line
49+
#export DISABLE_QC=1
50+
${O2DPG_ROOT}/MC/run/ANCHOR/anchorMC.sh

0 commit comments

Comments
 (0)