Skip to content

Conversation

@fjonasALICE
Copy link

added configuration for D2H ccbar and bbbar gap2 MC for anchoring to pO. Tested locally using the following script, which I have also adapted to anchor to the pO data:

#!/bin/bash

# Script for anchored MC simulations
# dataset: https://alimonitor.cern.ch/hyperloop/view-dataset/1319

export ALIEN_JDL_LPMANCHORPASSNAME="apass2"
export ALIEN_JDL_MCANCHOR="apass2"
export ALIEN_JDL_CPULIMIT=45
export ALIEN_JDL_LPMPASSNAME="apass2"
export ALIEN_JDL_LPMRUNNUMBER="564272"
export ALIEN_JDL_LPMPRODUCTIONTYPE=MC
export ALIEN_JDL_LPMINTERACTIONTYPE="pO"
export ALIEN_JDL_COLLISIONSYSTEM="p-O"
export ALIEN_JDL_LPMPRODUCTIONTAG="test_anchor_2025_apass2_pO_wuct"
export ALIEN_JDL_LPMANCHORRUN="564272"
export ALIEN_JDL_LPMANCHORPRODUCTION="LHC25ad"
export ALIEN_JDL_LPMANCHORYEAR="2025"

export NTIMEFRAMES=10
export NSIGEVENTS=2000
export SPLITID=100
export PRODSPLIT=100
export CYCLE=0
export SEED=46

# Only uncomment line below if you are on sl system, for ubuntu i could not run the two-tag approach locally. For production the two tag approach should be used!
export ALIEN_JDL_O2DPG_ASYNC_RECO_TAG="O2PDPSuite::async-async-2025-pO-apass2-v1-slc9-alidist-async-2025-pO-apass2-v1-1"

export INIPATH=${O2DPG_MC_CONFIG_ROOT}/MC/config/PWGHF/ini/GeneratorHF_D2H_ccbar_and_bbbar_gap2_SCCR_pO.ini
echo "Using ini file: $INIPATH"
export ALIEN_JDL_ANCHOR_SIM_OPTIONS="-gen external -ini $INIPATH"

# 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

The test ran successfully for 20k events. I also checked the Pythia logs and the pO asymmetric beams are correctly set in Angatyr, as well as the CME:

 *-------  PYTHIA Flag + Mode + Parm + Word + FVec + MVec + PVec + WVec Settings (changes only)  ------------------* 
 |                                                                                                                 | 
 | Name                                          |                      Now |      Default         Min         Max | 
 |                                               |                          |                                      | 
 | Beams:eA                                      |                 6800.000 |     7000.000         0.0             | 
 | Beams:eB                                      |                 3400.000 |     7000.000         0.0             | 
 | Beams:eCM                                     |                 9616.652 |    14000.000         0.0             | 
 | ColourReconnection:allowDoubleJunRem          |                      off |           on                         | 
 | ColourReconnection:dipoleMaxDist              |                  0.50000 |          0.0         0.0    50.00000 | 
 | ColourReconnection:heavyLambdaForm            |                        1 |            0           0           2 | 
 | ColourReconnection:junctionCorrection         |                  1.37000 |      1.20000   0.0100000    10.00000 | 
 | ColourReconnection:lambdaForm                 |                        1 |            0           0           1 | 
 | ColourReconnection:m0                         |                  1.05000 |      0.30000     0.10000     5.00000 | 
 | ColourReconnection:mode                       |                        1 |            0           0           4 | 
 | ColourReconnection:mPseudo                    |                  1.05000 |      0.30000     0.10000     5.00000 | 
 | ColourReconnection:timeDilationMode           |                        0 |            2           0           5 | 
 | Diffraction:mRefPomP                          |                 9616.652 |    100.00000     1.00000             | 
 | Diffraction:sigmaRefPomP                      |                 53.48714 |     10.00000     2.00000    40.00000 | 
 | HadronLevel:all                               |                      off |           on                         | 
 | HeavyIon:SigFitDefPar                         |                  2.15000 |                                      | 
 |                                               |                 18.42000 |                                      | 
 |                                               |                  0.33000 |                                      | 
 | HeavyIon:SigFitNGen                           |                        0 |           20           0             | 
 | MultipartonInteractions:ecmPow                |                      0.0 |      0.21500         0.0     0.50000 | 
 | MultipartonInteractions:ecmRef                |                 9616.652 |     7000.000     1.00000             | 
 | MultipartonInteractions:pT0Ref                |                  2.44112 |      2.28000     0.50000    10.00000 | 
 | Next:numberCount                              |                        0 |         1000           0             | 
 | Next:numberShowEvent                          |                        0 |            1           0             | 
 | Next:numberShowInfo                           |                        0 |            1           0             | 
 | Next:numberShowLHA                            |                        0 |            1           0             | 
 | Next:numberShowProcess                        |                        0 |            1           0             | 
 | ParticleDecays:limitTau0                      |                       on |          off                         | 
 | PDF:PomSet                                    |                       11 |            6                         | 
 | Random:seed                                   |                439407520 |           -1               900000000 | 
 | Random:setSeed                                |                       on |          off                         | 
 | SoftQCD:singleDiffractive                     |                       on |          off                         | 
 | StringFlav:probQQtoQ                          |                0.0780000 |    0.0810000         0.0     1.00000 | 
 | StringFlav:probStoUD                          |                  0.40000 |      0.21700         0.0     1.00000 | 
 | StringZ:aLund                                 |                  0.36000 |      0.68000         0.0     2.00000 | 
 | StringZ:bLund                                 |                  0.56000 |      0.98000     0.20000     2.00000 | 
 | StringZ:useOldAExtra                          |                       on |          off                         | 
 | Tune:ee                                       |                        0 |            7          -1           7 | 
 | Tune:pp                                       |                        0 |           14          -1          34 | 
 |                                                                                                                 | 

@fjonasALICE fjonasALICE requested a review from a team as a code owner December 17, 2025 10:42
@github-actions
Copy link

REQUEST FOR PRODUCTION RELEASES:
To request your PR to be included in production software, please add the corresponding labels called "async-" to your PR. Add the labels directly (if you have the permissions) or add a comment of the form (note that labels are separated by a ",")

+async-label <label1>, <label2>, !<label3> ...

This will add <label1> and <label2> and removes <label3>.

The following labels are available
async-2023-pbpb-apass4
async-2023-pp-apass4
async-2024-pp-apass1
async-2022-pp-apass7
async-2024-pp-cpass0
async-2024-PbPb-apass1
async-2024-ppRef-apass1
async-2024-PbPb-apass2
async-2023-PbPb-apass5

@sawenzel sawenzel enabled auto-merge (rebase) December 18, 2025 19:48
@sawenzel sawenzel merged commit d25f933 into AliceO2Group:master Dec 19, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants