Skip to content

Commit cf354b1

Browse files
committed
Attempt to fix failing test scripts
1 parent b1f27d7 commit cf354b1

File tree

49 files changed

+460
-75
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+460
-75
lines changed

.github/workflows/clean-ci.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
---
2+
name: Clean PR builds
3+
4+
'on':
5+
workflow_dispatch:
6+
inputs:
7+
pr:
8+
description: PR number in this repo to be cleaned
9+
type: string # can't use number here
10+
required: true
11+
12+
# Warning: GitHub limits the total number of inputs to 10, so a maximum of
13+
# 9 checks is allowed here!
14+
# Warning: the check_* keys are magic and must consist of the string
15+
# "check_" followed by the applicable check name exactly. The
16+
# "description" field is only the human-readable label for the input.
17+
'check_build/O2DPG/sim/o2':
18+
description: build/O2DPG/sim/o2
19+
type: boolean
20+
default: true
21+
'check_build/O2DPG/O2fst/o2':
22+
description: build/O2DPG/O2fst/o2
23+
type: boolean
24+
default: true
25+
26+
permissions: {}
27+
28+
jobs:
29+
clean:
30+
name: Clean PR checks
31+
uses: alisw/ali-bot/.github/workflows/clean-pr-checks.yml@master
32+
with:
33+
owner: ${{ github.event.repository.owner.login }}
34+
repo: ${{ github.event.repository.name }}
35+
pr: ${{ github.event.inputs.pr }}
36+
checks: ${{ toJSON(github.event.inputs) }}
37+
permissions:
38+
pull-requests: read # to get last commit for pr (octokit/graphql-action)
39+
statuses: write # for set-github-status

MC/config/PWGDQ/external/generator/generator_pythia8_NonPromptSignals_gaptriggered_dq.C

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ R__ADD_INCLUDE_PATH($O2DPG_ROOT/MC/config/PWGDQ/EvtGen)
99
#include <string>
1010

1111
using namespace o2::eventgen;
12-
using namespace Pythia8;
1312

1413
namespace o2
1514
{
@@ -140,7 +139,7 @@ Pythia8::Event mOutputEvent;
140139
// Control gap-triggering
141140
unsigned long long mGeneratedEvents;
142141
int mInverseTriggerRatio;
143-
Pythia pythiaMBgen; // minimum bias event
142+
Pythia8::Pythia pythiaMBgen; // minimum bias event
144143
TString mConfigMBdecays;
145144
int mPDG;
146145
std::vector<int> mHadronsPDGs;

MC/config/PWGDQ/ini/GeneratorHF_bbbarToBplus_midy_triggerGap.ini

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,3 @@ funcName = GeneratorBplusToJpsiKaon_EvtGen()
1212
config = ${O2DPG_MC_CONFIG_ROOT}/MC/config/common/pythia8/generator/pythia8_hf.cfg
1313
hooksFileName = ${O2DPG_MC_CONFIG_ROOT}/MC/config/PWGHF/pythia8/hooks/pythia8_userhooks_qqbar.C
1414
hooksFuncName = pythia8_userhooks_bbbar(-1.5,1.5)
15-
16-
### The setup inhibits transport of primary particles which are produce at forward rapidity.
17-
### The settings below only transports particles in the barrel, which is currently defined as |eta| < 2
18-
19-
[Stack]
20-
transportPrimary = barrel

MC/config/PWGDQ/ini/GeneratorHF_bbbar_PsiAndJpsi_midy_triggerGap.ini

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,3 @@ funcName = GeneratorBeautyToPsiAndJpsi_EvtGenMidY()
1212
config = ${O2DPG_MC_CONFIG_ROOT}/MC/config/common/pythia8/generator/pythia8_hf.cfg
1313
hooksFileName = ${O2DPG_MC_CONFIG_ROOT}/MC/config/PWGHF/pythia8/hooks/pythia8_userhooks_qqbar.C
1414
hooksFuncName = pythia8_userhooks_bbbar(-1.5,1.5)
15-
16-
### The setup inhibits transport of primary particles which are produce at forward rapidity.
17-
### The settings below only transports particles in the barrel, which is currently defined as |eta| < 2
18-
19-
[Stack]
20-
transportPrimary = barrel
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
### The setup uses an external event generator
2+
### This part sets the path of the file and the function call to retrieve it
3+
4+
[GeneratorExternal]
5+
fileName = ${O2DPG_MC_CONFIG_ROOT}/MC/config/PWGEM/external/generator/GeneratorEMCocktailV2.C
6+
funcName=GenerateEMCocktail(400,0,3,63,"${O2DPG_MC_CONFIG_ROOT}/MC/config/PWGEM/parametrizations/PbPb5TeV_central.json","5TeV_3040_wRatio",350,0.0,30.0,10000,1,1,0,0,"5TeV_3040_wRatio",0,1.1,"${O2DPG_MC_CONFIG_ROOT}/MC/config/PWGEM/decaytables/decaytable_LMee.dat",1)
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
### The setup uses an external event generator
2+
### This part sets the path of the file and the function call to retrieve it
3+
4+
[GeneratorExternal]
5+
fileName = ${O2DPG_MC_CONFIG_ROOT}/MC/config/PWGEM/external/generator/GeneratorEMCocktailV2.C
6+
funcName=GenerateEMCocktail(400,0,3,63,"${O2DPG_MC_CONFIG_ROOT}/MC/config/PWGEM/parametrizations/PbPb5TeV_central.json","5TeV_4050_wRatio",350,0.0,30.0,10000,1,1,0,0,"5TeV_4050_wRatio",0,1.1,"${O2DPG_MC_CONFIG_ROOT}/MC/config/PWGEM/decaytables/decaytable_LMee.dat",1)

MC/config/PWGEM/parametrizations/PbPb5TeV_central.json

Lines changed: 41 additions & 11 deletions
Large diffs are not rendered by default.

MC/config/PWGLF/ini/tests/GeneratorLF_Resonances_pp_exotic.C

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ int External()
1313
20223, // f_1(1285)
1414
20333, // f_1(1420)
1515
335, // f_2(1525)
16+
115, // a_2(1230)
1617
10323, // K1(1270)+
1718
-10323, // K1(1270)-bar
1819
123314, // Xi(1820)-
@@ -28,6 +29,7 @@ int External()
2829
{310, -321, 211}, // f_1(1285)
2930
{310, -321, 211}, // f_1(1420)
3031
{310, 310}, // f_2(1525)
32+
{310, 310}, // a_2(1230)
3133
{321, 211}, // K1(1270)+
3234
{-321, -211}, // K1(1270)-bar
3335
{2212, 211}, // Delta(1232)+

MC/config/PWGLF/pythia8/generator/resonancelistgun_exotic.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,15 @@
6262
"etaMax": 1.2,
6363
"genDecayed": true
6464
},
65+
"a_2(1230)" : {
66+
"pdg": 115,
67+
"n": 1,
68+
"ptMin": 0.0,
69+
"ptMax": 20,
70+
"etaMin": -1.2,
71+
"etaMax": 1.2,
72+
"genDecayed": true
73+
},
6574
"K1(1270)+": {
6675
"pdg": 10323,
6776
"n": 1,

MC/config/PWGLF/pythia8/generator/resonancelistgun_exotic_pbpb.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,15 @@
6262
"etaMax": 1.2,
6363
"genDecayed": true
6464
},
65+
"a_2(1230)" : {
66+
"pdg": 115,
67+
"n": 1,
68+
"ptMin": 0.0,
69+
"ptMax": 20,
70+
"etaMin": -1.2,
71+
"etaMax": 1.2,
72+
"genDecayed": true
73+
},
6574
"K1(1270)+": {
6675
"pdg": 10323,
6776
"n": 10,

0 commit comments

Comments
 (0)