Skip to content

Conversation

@tubagundem
Copy link

Workaround for MC anchored to 2023 pp (see: https://its.cern.ch/jira/browse/O2-6105)

@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
Copy link
Contributor

Was this already tested with an appropriate MC-job?

@tubagundem
Copy link
Author

Was this already tested with an appropriate MC-job?

Could you clarify what you mean by an appropriate MC-job?

I tested it locally by temporarily renaming --tpc-mc-time-gain to --tpc-mc-time-gain-TEST (so that reconstruction would not know this option). I ran it both with and without passing the remapping parameters (using a script like the one below), and in both cases it behaved as intended.

#!/bin/bash

export ALIEN_JDL_LPMPRODUCTIONTYPE=MC
export ALIEN_JDL_CPULIMIT=40
export ALIEN_JDL_LPMANCHORPASSNAME=apass4
export ALIEN_JDL_MCANCHOR=apass4
export ALIEN_JDL_COLLISIONSYSTEM=pp
export ALIEN_JDL_LPMPASSNAME=apass4
export ALIEN_JDL_LPMRUNNUMBER=536055
export ALIEN_JDL_LPMANCHORRUN=536055

export ALIEN_JDL_LPMINTERACTIONTYPE=pp
export ALIEN_JDL_LPMPRODUCTIONTAG="TestProd28012026"
export ALIEN_JDL_LPMANCHORPRODUCTION="LHC23l"
export ALIEN_JDL_LPMANCHORYEAR=2023

# export ALIEN_JDL_REMAPPINGS="http://alice-ccdb.cern.ch/TestReco/Dist-O2-6359/OldMethod/DistOff/=TPC/Calib/DistortionMapMC"

export ALIEN_JDL_O2DPGWORKFLOWTARGET="aod"

export DISABLE_MC=0
export PRODSPLIT=${ALIEN_O2DPG_GRIDSUBMIT_PRODSPLIT:-100}
export SPLITID=${ALIEN_O2DPG_GRIDSUBMIT_SUBJOBID:-50}
export CYCLE=0
export NTIMEFRAMES=1

SIM_OPTIONS="-gen hybrid -confKey \"GeneratorHybrid.configFile=${PWD}/my_generator.json;GeometryManagerParam.useParallelWorld=1;GeometryManagerParam.usePwGeoBVH=1;GeometryManagerParam.usePwCaching=1\" --overwrite-config my_simconfig.json"

export ALIEN_JDL_ANCHOR_SIM_OPTIONS="${SIM_OPTIONS}"

${O2DPG_ROOT}/MC/run/ANCHOR/anchorMC.sh

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.

2 participants