Skip to content

Commit

Permalink
[Anchor] Take MCANCHOR if exists (e.g. from JDL)
Browse files Browse the repository at this point in the history
  • Loading branch information
benedikt-voelkel authored Mar 26, 2024
1 parent f2db41e commit f4914fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions MC/run/ANCHOR/anchorMC.sh
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,8 @@ export ALIEN_JDL_ANCHOR_SIM_OPTIONS=${ALIEN_JDL_ANCHOR_SIM_OPTIONS:--gen pythia8
export ALIEN_JDL_LPMANCHORPASSNAME=${ALIEN_JDL_LPMANCHORPASSNAME:-${ANCHORPASSNAME}}
# LPMPASSNAME is used in O2 and O2DPG scripts, however on the other hand, ALIEN_JDL_LPMANCHORPASSNAME is the one that is set in JDL templates; so use ALIEN_JDL_LPMANCHORPASSNAME and set ALIEN_JDL_LPMPASSNAME
export ALIEN_JDL_LPMPASSNAME=${ALIEN_JDL_LPMANCHORPASSNAME}
# For Hyperloop, this is used and it is also still accessed as such in o2dpg_sim_workflow.py
export ALIEN_JDL_MCANCHOR=${ALIEN_JDL_LPMANCHORPASSNAME}
# ALIEN_JDL_MCANCHOR comes from the JDL and it is used in Hyperloop. It is also used to tag the produced AODs in o2dpg_sim_workflow.py
export ALIEN_JDL_MCANCHOR=${ALIEN_JDL_MCANCHOR:-${ALIEN_JDL_LPMANCHORPASSNAME}}
export ALIEN_JDL_LPMRUNNUMBER=${ALIEN_JDL_LPMRUNNUMBER:-${RUNNUMBER}}
export ALIEN_JDL_LPMPRODUCTIONTYPE=${ALIEN_JDL_LPMPRODUCTIONTYPE:-${PRODUCTIONTYPE}}
export ALIEN_JDL_LPMINTERACTIONTYPE=${ALIEN_JDL_LPMINTERACTIONTYPE:-${INTERACTIONTYPE}}
Expand Down

0 comments on commit f4914fa

Please sign in to comment.