Skip to content

Commit

Permalink
MC/PWGEM: add ini and sh files for LF->ee and gamma
Browse files Browse the repository at this point in the history
  • Loading branch information
dsekihat committed Jul 1, 2024
1 parent 8279d4b commit 1939ac2
Show file tree
Hide file tree
Showing 9 changed files with 229 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
### The setup uses an external event generator
### This part sets the path of the file and the function call to retrieve it

[GeneratorExternal]
fileName = ${O2DPG_ROOT}/MC/config/PWGEM/external/generator/Generator_pythia8_GapTriggered_LFee.C
funcName = GeneratorPythia8GapTriggeredLFee_ForEM(8+1, -1.2, +1.2, 1, -1)

[GeneratorPythia8]
config = ${O2DPG_ROOT}/MC/config/PWGEM/pythia8/generator/pythia8_MB_gapevent.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

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

[GeneratorPythia8]
config = ${O2DPG_ROOT}/MC/config/PWGEM/pythia8/generator/pythia8_MB_gapevent.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
### The setup uses an external event generator
### This part sets the path of the file and the function call to retrieve it

[GeneratorExternal]
fileName = ${O2DPG_ROOT}/MC/config/PWGEM/external/generator/Generator_pythia8_GapTriggered_LFgamma.C
funcName = GeneratorPythia8GapTriggeredLFgamma_ForEM(4+1, -1.2, +1.2, 1)

[GeneratorPythia8]
config = ${O2DPG_ROOT}/MC/config/PWGEM/pythia8/generator/pythia8_MB_gapevent.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
### The setup uses an external event generator
### This part sets the path of the file and the function call to retrieve it

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

[GeneratorPythia8]
config = ${O2DPG_ROOT}/MC/config/PWGEM/pythia8/generator/pythia8_MB_gapevent.cfg
50 changes: 50 additions & 0 deletions MC/run/PWGEM/runAnchoredPythia8GapTriggeredLFee_pp_np1_gap10.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
#!/bin/bash

#
# Steering script for LF->ee enhanced dielectron MC anchored to LHC22o apass6
#

# example anchoring
# taken from https://its.cern.ch/jira/browse/O2-4586
export ALIEN_JDL_LPMANCHORPASSNAME=apass6
export ALIEN_JDL_MCANCHOR=apass6
export ALIEN_JDL_CPULIMIT=8
export ALIEN_JDL_LPMRUNNUMBER=526641
export ALIEN_JDL_LPMPRODUCTIONTYPE=MC
export ALIEN_JDL_LPMINTERACTIONTYPE=pp
export ALIEN_JDL_LPMPRODUCTIONTAG=LHC24b1b
export ALIEN_JDL_LPMANCHORRUN=526641
export ALIEN_JDL_LPMANCHORPRODUCTION=LHC22o
export ALIEN_JDL_LPMANCHORYEAR=2022
export ALIEN_JDL_OUTPUT=*.dat@disk=1,*.txt@disk=1,*.root@disk=2

export NTIMEFRAMES=1
export NSIGEVENTS=20
export SPLITID=100
export PRODSPLIT=153
export CYCLE=0

# on the GRID, this is set and used as seed; when set, it takes precedence over SEED
#export ALIEN_PROC_ID=2963436952
export SEED=0

# for pp and 50 events per TF, we launch only 4 workers.
export NWORKERS=4

# define the generator via ini file
# use 20/40/40 sampling for different generators
# generate random number
RNDSIG=$(($RANDOM % 100))

CONFIGNAME="Generator_GapTriggered_LFee_all_np1_gap10.ini"

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

# run the central anchor steering script; this includes
# * derive timestamp
# * derive interaction rate
# * extract and prepare configurations (which detectors are contained in the run etc.)
# * run the simulation (and QC)
# To disable QC, uncomment the following line
#export DISABLE_QC=1
${O2DPG_ROOT}/MC/run/ANCHOR/anchorMC.sh
50 changes: 50 additions & 0 deletions MC/run/PWGEM/runAnchoredPythia8GapTriggeredLFee_pp_np1_gap8.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
#!/bin/bash

#
# Steering script for LF->ee enhanced dielectron MC anchored to LHC22o apass6
#

# example anchoring
# taken from https://its.cern.ch/jira/browse/O2-4586
export ALIEN_JDL_LPMANCHORPASSNAME=apass6
export ALIEN_JDL_MCANCHOR=apass6
export ALIEN_JDL_CPULIMIT=8
export ALIEN_JDL_LPMRUNNUMBER=526641
export ALIEN_JDL_LPMPRODUCTIONTYPE=MC
export ALIEN_JDL_LPMINTERACTIONTYPE=pp
export ALIEN_JDL_LPMPRODUCTIONTAG=LHC24b1b
export ALIEN_JDL_LPMANCHORRUN=526641
export ALIEN_JDL_LPMANCHORPRODUCTION=LHC22o
export ALIEN_JDL_LPMANCHORYEAR=2022
export ALIEN_JDL_OUTPUT=*.dat@disk=1,*.txt@disk=1,*.root@disk=2

export NTIMEFRAMES=1
export NSIGEVENTS=20
export SPLITID=100
export PRODSPLIT=153
export CYCLE=0

# on the GRID, this is set and used as seed; when set, it takes precedence over SEED
#export ALIEN_PROC_ID=2963436952
export SEED=0

# for pp and 50 events per TF, we launch only 4 workers.
export NWORKERS=4

# define the generator via ini file
# use 20/40/40 sampling for different generators
# generate random number
RNDSIG=$(($RANDOM % 100))

CONFIGNAME="Generator_GapTriggered_LFee_all_np1_gap8.ini"

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

# run the central anchor steering script; this includes
# * derive timestamp
# * derive interaction rate
# * extract and prepare configurations (which detectors are contained in the run etc.)
# * run the simulation (and QC)
# To disable QC, uncomment the following line
#export DISABLE_QC=1
${O2DPG_ROOT}/MC/run/ANCHOR/anchorMC.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export NWORKERS=4
# generate random number
RNDSIG=$(($RANDOM % 100))

CONFIGNAME="Generator_GapTriggered_LFgamma_np1_gap5.ini"
CONFIGNAME="Generator_GapTriggered_LFgamma_np1_gap2.ini"

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

Expand Down
50 changes: 50 additions & 0 deletions MC/run/PWGEM/runAnchoredPythia8GapTriggeredLFgamma_pp_np1_gap4.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
#!/bin/bash

#
# Steering script for LF->ee enhanced dielectron MC anchored to LHC22o apass6
#

# example anchoring
# taken from https://its.cern.ch/jira/browse/O2-4586
export ALIEN_JDL_LPMANCHORPASSNAME=apass6
export ALIEN_JDL_MCANCHOR=apass6
export ALIEN_JDL_CPULIMIT=8
export ALIEN_JDL_LPMRUNNUMBER=526641
export ALIEN_JDL_LPMPRODUCTIONTYPE=MC
export ALIEN_JDL_LPMINTERACTIONTYPE=pp
export ALIEN_JDL_LPMPRODUCTIONTAG=LHC24b1b
export ALIEN_JDL_LPMANCHORRUN=526641
export ALIEN_JDL_LPMANCHORPRODUCTION=LHC22o
export ALIEN_JDL_LPMANCHORYEAR=2022
export ALIEN_JDL_OUTPUT=*.dat@disk=1,*.txt@disk=1,*.root@disk=2

export NTIMEFRAMES=1
export NSIGEVENTS=20
export SPLITID=100
export PRODSPLIT=153
export CYCLE=0

# on the GRID, this is set and used as seed; when set, it takes precedence over SEED
#export ALIEN_PROC_ID=2963436952
export SEED=0

# for pp and 50 events per TF, we launch only 4 workers.
export NWORKERS=4

# define the generator via ini file
# use 20/40/40 sampling for different generators
# generate random number
RNDSIG=$(($RANDOM % 100))

CONFIGNAME="Generator_GapTriggered_LFgamma_np1_gap4.ini"

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

# run the central anchor steering script; this includes
# * derive timestamp
# * derive interaction rate
# * extract and prepare configurations (which detectors are contained in the run etc.)
# * run the simulation (and QC)
# To disable QC, uncomment the following line
#export DISABLE_QC=1
${O2DPG_ROOT}/MC/run/ANCHOR/anchorMC.sh
50 changes: 50 additions & 0 deletions MC/run/PWGEM/runAnchoredPythia8GapTriggeredLFgamma_pp_np1_gap6.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
#!/bin/bash

#
# Steering script for LF->ee enhanced dielectron MC anchored to LHC22o apass6
#

# example anchoring
# taken from https://its.cern.ch/jira/browse/O2-4586
export ALIEN_JDL_LPMANCHORPASSNAME=apass6
export ALIEN_JDL_MCANCHOR=apass6
export ALIEN_JDL_CPULIMIT=8
export ALIEN_JDL_LPMRUNNUMBER=526641
export ALIEN_JDL_LPMPRODUCTIONTYPE=MC
export ALIEN_JDL_LPMINTERACTIONTYPE=pp
export ALIEN_JDL_LPMPRODUCTIONTAG=LHC24b1b
export ALIEN_JDL_LPMANCHORRUN=526641
export ALIEN_JDL_LPMANCHORPRODUCTION=LHC22o
export ALIEN_JDL_LPMANCHORYEAR=2022
export ALIEN_JDL_OUTPUT=*.dat@disk=1,*.txt@disk=1,*.root@disk=2

export NTIMEFRAMES=1
export NSIGEVENTS=20
export SPLITID=100
export PRODSPLIT=153
export CYCLE=0

# on the GRID, this is set and used as seed; when set, it takes precedence over SEED
#export ALIEN_PROC_ID=2963436952
export SEED=0

# for pp and 50 events per TF, we launch only 4 workers.
export NWORKERS=4

# define the generator via ini file
# use 20/40/40 sampling for different generators
# generate random number
RNDSIG=$(($RANDOM % 100))

CONFIGNAME="Generator_GapTriggered_LFgamma_np1_gap6.ini"

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

# run the central anchor steering script; this includes
# * derive timestamp
# * derive interaction rate
# * extract and prepare configurations (which detectors are contained in the run etc.)
# * run the simulation (and QC)
# To disable QC, uncomment the following line
#export DISABLE_QC=1
${O2DPG_ROOT}/MC/run/ANCHOR/anchorMC.sh

0 comments on commit 1939ac2

Please sign in to comment.