Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
4e99fac
enable parallel world inanchored simulation
maciacco Oct 29, 2024
a83cd58
direct forward of parallel world configuration
maciacco Nov 19, 2024
2423a15
add empty line at the end
maciacco Nov 19, 2024
11419c3
Basic implementation of event pooling in O2DPG workflow (#1760)
jackal1-66 Oct 31, 2024
3ec19c8
protection against corrupt O2DPG repository during topology generation
ehellbar Oct 30, 2024
df8e18f
Allow for fractional orbits_early
sawenzel Nov 1, 2024
cb88662
Add General injection script for resonances
BongHwi Oct 25, 2024
bce9ab7
Add the exotic injection script for resonances
BongHwi Oct 25, 2024
a99d2df
avoid that PRODSPLIT is overwritten
pbuehler Oct 13, 2024
c8bedd4
MC/PWGEM: cocktail updates (#1781)
DanielSamitz Nov 4, 2024
44fb056
PWGLF: improve Xi/Om injected spectra (#1784)
ddobrigk Nov 5, 2024
2d242bd
utility script to facilitate cherry-picking (#1782)
sawenzel Nov 5, 2024
4fed228
Consistency fixes for SOR determination in unanchored MC (#1780)
sawenzel Nov 5, 2024
e99b041
Add simple script to find corrupted AO2Ds in MC productions (#1783)
fgrosa Nov 5, 2024
2f9d9ef
DPMJET and other new processes in STARlight (#1765)
mbroz84 Nov 5, 2024
e3fc36e
change name of environment variable (#1788)
DanielSamitz Nov 7, 2024
6e5dfaa
[PWGDQ] Adding Upsilon Injected Generator (#1787)
lucamicheletti93 Nov 8, 2024
d653df2
Allow PID hypothesis at tracking plots (#1752)
lauraser Nov 8, 2024
fc842d1
Synthetic flow exercise: add Xi-enriched, flow-enabled generator (#1793)
ddobrigk Nov 11, 2024
5c6fe82
ZDC scaling factor should be used from 2023 on, not just 2023 (#1795)
chiarazampolli Nov 11, 2024
75a5cae
Added GitHub action to restart PR builds (#1796)
jackal1-66 Nov 11, 2024
3e68d9f
PWGLF: add synthetic flow with xi tester (#1794)
ddobrigk Nov 11, 2024
ba08ed5
Disable dpmjet process and add few Tau processes (#1792)
mbroz84 Nov 11, 2024
f57d862
PWGLF: fix seeding issues (#1798)
ddobrigk Nov 12, 2024
2723bc5
remove lines which inhibit transport at large eta (#1797)
ffionda Nov 13, 2024
9715292
PWGLF: fix typo when setting seeds (#1799)
ddobrigk Nov 13, 2024
35d9775
PWGEM/MC: first commit for LMEE v2 cocktail (#1800)
dsekihat Nov 14, 2024
1e5e66f
Created EPOS4 external example generator (#1789)
jackal1-66 Nov 15, 2024
cdce3b6
Add a2(1230) exotic resonance candidate (#1803)
BongHwi Nov 15, 2024
2706679
Updated example EPOS4 options file
jackal1-66 Nov 20, 2024
11293c6
Script for hybrid JSON template generation
jackal1-66 Nov 15, 2024
ba973be
Removed comment
jackal1-66 Nov 15, 2024
c8df508
Added description and example
jackal1-66 Nov 20, 2024
035f856
Fix failing (test) scripts (#1808)
jackal1-66 Nov 21, 2024
c6a004d
Method to customize parameters
mbroz84 Nov 20, 2024
a9fcff0
add X3872 and Psi2S to Jpsi pi pi (#1801)
ffionda Nov 22, 2024
a7cba8b
PWGLF: adjust eta range for injection to 1.0 for xi in Pb-Pb (#1813)
ddobrigk Nov 22, 2024
d963e9f
ccdb-run-dependent metadata should be int
shahor02 Nov 25, 2024
d4a2a95
Rho prime processes (#1810)
mbroz84 Nov 25, 2024
7154099
remove unwanted confkey setting
maciacco Feb 13, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions .github/workflows/clean-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
---
name: Clean PR builds

'on':
workflow_dispatch:
inputs:
pr:
description: PR number in this repo to be cleaned
type: string # can't use number here
required: true

# Warning: GitHub limits the total number of inputs to 10, so a maximum of
# 9 checks is allowed here!
# Warning: the check_* keys are magic and must consist of the string
# "check_" followed by the applicable check name exactly. The
# "description" field is only the human-readable label for the input.
'check_build/O2DPG/sim/o2':
description: build/O2DPG/sim/o2
type: boolean
default: true
'check_build/O2DPG/O2fst/o2':
description: build/O2DPG/O2fst/o2
type: boolean
default: true

permissions: {}

jobs:
clean:
name: Clean PR checks
uses: alisw/ali-bot/.github/workflows/clean-pr-checks.yml@master
with:
owner: ${{ github.event.repository.owner.login }}
repo: ${{ github.event.repository.name }}
pr: ${{ github.event.inputs.pr }}
checks: ${{ toJSON(github.event.inputs) }}
permissions:
pull-requests: read # to get last commit for pr (octokit/graphql-action)
statuses: write # for set-github-status
2 changes: 1 addition & 1 deletion DATA/production/configurations/asyncReco/setenv_extra.sh
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@ elif [[ $ALIGNLEVEL == 1 ]]; then
export TPC_CORR_SCALING+=" --enable-M-shape-correction "
fi

if [[ $ALIEN_JDL_LPMANCHORYEAR == "2023" ]] && [[ $BEAMTYPE == "PbPb" ]] ; then
if [[ $ALIEN_JDL_LPMANCHORYEAR -ge 2023 ]] && [[ $BEAMTYPE == "PbPb" ]] ; then
# adding additional cluster errors
# the values below should be squared, but the validation of those values (0.01 and 0.0225) is ongoing
TPCEXTRAERR=";GPU_rec_tpc.clusterError2AdditionalYSeeding=0.1;GPU_rec_tpc.clusterError2AdditionalZSeeding=0.15;"
Expand Down
2 changes: 1 addition & 1 deletion DATA/production/qc-async/emc.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
"cycleDurationSeconds": "60",
"dataSource": {
"type": "direct",
"query": "emcal-triggers:EMC/CELLSTRGR/0;ctp-digits:CTP/DIGITS;ctp-config:CTP/CONFIG/0?lifetime=condition&ccdb-path=CTP/Config/Config&ccdb-run-dependent=true"
"query": "emcal-triggers:EMC/CELLSTRGR/0;ctp-digits:CTP/DIGITS;ctp-config:CTP/CONFIG/0?lifetime=condition&ccdb-path=CTP/Config/Config&ccdb-run-dependent=1"
},
"taskParameters": {
}
Expand Down
2 changes: 1 addition & 1 deletion DATA/production/qc-async/emc_PbPb.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
"cycleDurationSeconds": "60",
"dataSource": {
"type": "direct",
"query": "emcal-triggers:EMC/CELLSTRGR/0;ctp-digits:CTP/DIGITS;ctp-config:CTP/CONFIG/0?lifetime=condition&ccdb-path=CTP/Config/Config&ccdb-run-dependent=true"
"query": "emcal-triggers:EMC/CELLSTRGR/0;ctp-digits:CTP/DIGITS;ctp-config:CTP/CONFIG/0?lifetime=condition&ccdb-path=CTP/Config/Config&ccdb-run-dependent=1"
},
"taskParameters": {
"AliasMB" : "CMTVXTSC,C0TVXTSC,C0TVXTCE"
Expand Down
3 changes: 2 additions & 1 deletion DATA/production/qc-async/tpc.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,8 @@
"cutMaxpTPC": "20.",
"cutMinpTPCMIPs": "0.45",
"cutMaxpTPCMIPs": "0.55",
"turnOffHistosForAsync": "true"
"turnOffHistosForAsync": "true",
"getdEdxVspHypoHist": "true"
}
},
"TPCTrackClusters": {
Expand Down
14 changes: 10 additions & 4 deletions DATA/tools/epn/gen_topo_o2dpg.sh
Original file line number Diff line number Diff line change
Expand Up @@ -82,15 +82,21 @@ while true; do
break
fi
fi
if [[ ! -d O2DPG ]]; then git clone https://github.com/AliceO2Group/O2DPG.git 1>&2 || { echo O2DPG checkout failed 1>&2; exit 1; }; fi
cd O2DPG
for CHECKOUTATTEMPT in 1 2; do
if [[ ! -d O2DPG ]]; then git clone https://github.com/AliceO2Group/O2DPG.git 1>&2 || { echo O2DPG checkout failed 1>&2; exit 1; }; fi
cd O2DPG
rm -f DATA/core_dump_*
git reset --hard HEAD &> /dev/null && git clean -d -f &> /dev/null && break
[[ $CHECKOUTATTEMPT -eq 2 ]] && { echo git reset error 1>&2; exit 1; }
echo "Clean-up of O2DPG repository failed. Removing repository and cloning it from scratch" 1>&2
cd $GEN_TOPO_WORKDIR || { echo Cannot enter work dir 1>&2; exit 1; }
rm -rf O2DPG
done
git checkout $GEN_TOPO_SOURCE &> /dev/null
if [[ $? != 0 ]]; then
git fetch --tags origin 1>&2 || { echo Repository update failed 1>&2; exit 1; }
git checkout $GEN_TOPO_SOURCE &> /dev/null || { echo commit does not exist 1>&2; exit 1; }
fi
git reset --hard $GEN_TOPO_SOURCE &> /dev/null || { echo git reset error 1>&2; exit 1; }
rm -f DATA/core_dump_*
# At a tag, or a detached non-dirty commit, but not on a branch
if ! git describe --exact-match --tags HEAD &> /dev/null && ( git symbolic-ref -q HEAD &> /dev/null || ! git diff-index --quiet HEAD &> /dev/null ); then
unset GEN_TOPO_CACHEABLE
Expand Down
2 changes: 1 addition & 1 deletion GRID/utils/grid_submit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ ONGRID=0

JOBTTL=82000
CPUCORES=8
PRODSPLIT=1
PRODSPLIT=${PRODSPLIT:-1}
# this tells us to continue an existing job --> in this case we don't create a new workdir
while [ $# -gt 0 ] ; do
case $1 in
Expand Down
118 changes: 118 additions & 0 deletions MC/bin/o2_hybrid_gen.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,118 @@
#!/usr/bin/env python3

# This script creates a template JSON file for the configuration of the hybrid generator
# The generators to be used are passed as a list of strings via the --gen flag, while the
# output filename is set using --output. All the generators available in O2sim are supported.
# Example:
# $O2DPG_ROOT/MC/bin/o2_hybrid_gen.py --gen pythia8 boxgen external extkinO2 hepmc pythia8hf \
# --output config.json

import argparse
import json

def main():
parser = argparse.ArgumentParser(description='Create a JSON file from command line flags.')
parser.add_argument('--gen', type=str, nargs='+', required=True, help='List of generators to be used')
parser.add_argument('--output', type=str, required=True, help='Output JSON file path')

args = parser.parse_args()

# put in a list all the elementes in the gen flag
noConfGen = ["pythia8pp", "pythia8hf", "pythia8hi", "pythia8powheg"]
gens = []
for gen in args.gen:
if gen == "pythia8":
gens.append({
'name': 'pythia8',
'config': {
"config": "$O2_ROOT/share/Generators/egconfig/pythia8_inel.cfg",
"hooksFileName": "",
"hooksFuncName": "",
"includePartonEvent": False,
"particleFilter": "",
"verbose": 0
}
})
elif gen == "external":
gens.append({
'name': 'external',
'config': {
"fileName": "${O2DPG_ROOT}/MC/config/PWGDQ/external/generator/GeneratorParamPromptJpsiToElectronEvtGen_pp13TeV.C",
"funcName": "GeneratorParamPromptJpsiToElectronEvtGen_pp13TeV()"
}
})
elif gen == "extkinO2":
gens.append({
'name': 'extkinO2',
'config': {
"skipNonTrackable": True,
"continueMode": False,
"roundRobin": False,
"randomize": False,
"rngseed": 0,
"randomphi": False,
"fileName": "/path/to/filename.root"
}
})
elif gen == "hepmc":
gens.append({
"name": "hepmc",
"config": {
"configcmd": {
"fileNames": "",
"cmd": ""
},
"confighepmc": {
"version": 2,
"eventsToSkip": 0,
"fileName": "/path/to/filename.hepmc",
"prune": False
}
}
})
elif gen == "boxgen":
gens.append({
"name": "boxgen",
"config": {
"pdg": 13,
"number": 1,
"eta": [
-4,
-2.5
],
"prange": [
0.1,
5
],
"phirange": [
0,
360
]
}
})
elif gen in noConfGen:
gens.append({
"name": gen,
"config": ""
})
else:
print(f"Generator {gen} not found in the list of available generators")
exit(1)

# fill fractions with 1 for each generator
fractions = [1] * len(gens)

# Put gens and fractions in the data dictionary
data = {
"generators": gens,
"fractions": fractions
}

# Write the data dictionary to a JSON file
with open(args.output, 'w') as f:
json.dump(data, f, indent=2)

print(f"JSON file created at {args.output}")

if __name__ == "__main__":
main()
Loading