Skip to content

Commit c8f6cf3

Browse files
authored
[Common] Set orbitsPerTF to 8 for MC production LHC25f3 (#12694)
1 parent 408545e commit c8f6cf3

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

Common/TableProducer/eventSelection.cxx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -289,6 +289,8 @@ struct BcSelectionTask {
289289
bcSOR = runInfo.orbitSOR * nBCsPerOrbit;
290290
// duration of TF in bcs
291291
nBCsPerTF = confNumberOfOrbitsPerTF < 0 ? runInfo.orbitsPerTF * nBCsPerOrbit : confNumberOfOrbitsPerTF * nBCsPerOrbit;
292+
if (strLPMProductionTag == "LHC25f3") // temporary workaround for MC production LHC25f3 anchored to Pb-Pb 2023 apass5 (to be removed once the info is in ccdb)
293+
nBCsPerTF = 8 * nBCsPerOrbit;
292294
}
293295

294296
// timestamp of the middle of the run used to access run-wise CCDB entries

Common/Tools/EventSelectionTools.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,8 @@ class BcSelectionModule
220220
bcSOR = runInfo.orbitSOR * nBCsPerOrbit;
221221
// duration of TF in bcs
222222
nBCsPerTF = bcselOpts.confNumberOfOrbitsPerTF < 0 ? runInfo.orbitsPerTF * nBCsPerOrbit : bcselOpts.confNumberOfOrbitsPerTF * nBCsPerOrbit;
223+
if (strLPMProductionTag == "LHC25f3") // temporary workaround for MC production LHC25f3 anchored to Pb-Pb 2023 apass5 (to be removed once the info is in ccdb)
224+
nBCsPerTF = 8 * nBCsPerOrbit;
223225
}
224226

225227
// timestamp of the middle of the run used to access run-wise CCDB entries

0 commit comments

Comments
 (0)