Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
a5f70ef
Matching event rates when loading from single CAF file
dbarrow257 May 8, 2026
1938f17
Add support for Proxy reading in Atmospheric code
dbarrow257 May 8, 2026
35c0c0a
Reorder calculated variables to be after any potential event skip
dbarrow257 May 8, 2026
f52ff63
Add FC/PC separation
dbarrow257 May 8, 2026
f74fa7c
Remove debug statement and require PC to have a positive MinDistToWall
dbarrow257 May 8, 2026
267ab09
Code cleanup
dbarrow257 May 8, 2026
57c8f9d
Operational with core::develop to remove a lot of bloat from Sample c…
dbarrow257 May 8, 2026
0a308bd
Move to v2.5.1 officially (as opposed to using the -DMaCh3_Branch_Opt…
dbarrow257 May 18, 2026
4a45b70
Address double free error when using SRProxy - fix found by PG
dbarrow257 May 18, 2026
5e93285
Bump duneanaobj version
dbarrow257 Jun 1, 2026
14cd872
Address YAML linter
dbarrow257 Jun 1, 2026
6a7c948
Address YAML linter
dbarrow257 Jun 2, 2026
6a06373
Test commit to see if CI now triggers
dbarrow257 Jun 4, 2026
1430a57
Test commit to see if CI now triggers - 2
dbarrow257 Jun 4, 2026
97c4e6a
Test commit to see if CI now triggers - 3
dbarrow257 Jun 4, 2026
ce0ecce
Adhere to new actions yml workflow policy
dbarrow257 Jun 4, 2026
600f737
Adhere to new actions yml workflow policy -2
dbarrow257 Jun 4, 2026
189372d
Adhere to new actions yml workflow policy - 3
dbarrow257 Jun 4, 2026
537583d
Adhere to new actions yml workflow policy - 4
dbarrow257 Jun 4, 2026
cc87a12
Adhere to new actions yml workflow policy - 5
dbarrow257 Jun 4, 2026
6dc477a
Adhere to new actions yml workflow policy - 6
dbarrow257 Jun 5, 2026
38e0e4a
Add comment to config
dbarrow257 Jun 11, 2026
d81d876
Address YAML linting - 1
dbarrow257 Jun 11, 2026
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
4 changes: 2 additions & 2 deletions .github/workflows/CDImage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v6
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10

- name: Log in to GitHub Container Registry
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin
Expand Down Expand Up @@ -62,7 +62,7 @@ jobs:
fi

- name: Delete old images
uses: actions/delete-package-versions@v5
uses: actions/delete-package-versions@e5bc658cc4c965c472efe991f8beea3981499c55
with:
package-name: 'mach3'
package-type: 'container'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/CIBuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
name: Build CI ${{ matrix.os }}

steps:
- uses: actions/checkout@v6
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10

- name: Log in to GitHub Container Registry
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/CIValidations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
name: Run Test ${{matrix.name}}
steps:
# Checkout the repository code
- uses: actions/checkout@v6
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10
- name: Log in to GitHub Container Registry
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin

Expand All @@ -49,7 +49,7 @@ jobs:

# Run event rates
- name: Run Event Rates
uses: addnab/docker-run-action@v3
uses: addnab/docker-run-action@4f65fabd2431ebc8d299f8e5a018d79a769ae185
with:
image: ghcr.io/dune/mach3:alma9_ci
shell: bash
Expand Down
38 changes: 0 additions & 38 deletions .github/workflows/CodeQL.yml

This file was deleted.

53 changes: 8 additions & 45 deletions .github/workflows/Doxygen.yml
Original file line number Diff line number Diff line change
@@ -1,56 +1,19 @@
---
# This is a basic workflow make doxygen documentation
# every time develop is updated
name: Doxygen
name: Doxygen GitHub Pages Deploy Action

# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the develop branch
push:
branches: [develop]

# Allows you to run this workflow manually from the Actions tab
branches:
- develop
workflow_dispatch:

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "Doxygen"

Doxygen:
# The type of runner that the job will run on
deploy:
runs-on: ubuntu-latest

permissions:
contents: write
id-token: write

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v6

# Updates the package list to ensure you get the latest version of packages
- run: sudo apt-get update

# Installs texlive for LaTeX support in Doxygen documentation
- run: sudo apt-get install -y texlive

# Installs libjs-mathjax for rendering mathematical notation in Doxygen documentation
- run: sudo apt-get install -y libjs-mathjax

# Install perl for bibtex
- run: sudo apt-get install -y perl

# Runs a single command using the runners shell
- name: Doxygen Action
uses: mattnotmitt/doxygen-action@v1.12.0
with:
doxyfile-path: './Docs/Doxyfile'
working-directory: .

# Deploys the generated documentation to GitHub Pages
- name: Deploy
uses: peaceiris/actions-gh-pages@v4
- uses: DenverCoder1/doxygen-github-pages-action@a30f9538f8ef1305aeceb563018f452c7a62d200
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./Docs/html
branch: gh-pages
folder: doc/html
config_file: Doxyfile
2 changes: 1 addition & 1 deletion .github/workflows/Greetings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
issues: write
pull-requests: write
steps:
- uses: actions/first-interaction@v3
- uses: actions/first-interaction@1c4688942c71f71d4f5502a26ea67c331730fa4d
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
issue_message: "This is your first issue, thank you for contributing to MaCh3 DUNE!"
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/Linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v6
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10
with:
fetch-depth: 0

- name: Run Super Linter
uses: github/super-linter@v7
continue-on-error: true
uses: github/super-linter@b807e99ddd37e444d189cfd2c2ca1274d8ae8ef1
continue-on-error: false
env:
LINTER_RULES_PATH: .github/linters
VALIDATE_MARKDOWN: true # Enable Markdown linting
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/PRTitleChecker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest
steps:

- uses: actions/checkout@v6
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10

- uses: thehanimo/pr-title-checker@v1.4.3
with:
Expand Down
13 changes: 10 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ endif()

#=================== DUNEAnaObj
if(NOT DEFINED DUNE_ANAOBJ_BRANCH)
set(DUNE_ANAOBJ_BRANCH v03_06_00)
set(DUNE_ANAOBJ_BRANCH v03_14_00)
set(DUNE_ANAOBJ_BRANCH ${DUNE_ANAOBJ_BRANCH} CACHE STRING "Specify which duneanaobj branch to use")
endif()

Expand Down Expand Up @@ -124,8 +124,8 @@ endif()
################################## MaCh3 ######################################
#If MaCh3 was sourced find it, otherwise use CPM
SET(MaCh3_FOUND FALSE)
find_package(MaCh3 2.5.0 EXACT QUIET)
set(MaCh3_CORE_BRANCH v2.5.0 CACHE STRING "Specify the MaCh3 core branch to use")
find_package(MaCh3 2.5.1 EXACT QUIET)
set(MaCh3_CORE_BRANCH v2.5.1 CACHE STRING "Specify the MaCh3 core branch to use")
message(STATUS "Using MaCh3_CORE_BRANCH: ${MaCh3_CORE_BRANCH}")

if(NOT MaCh3_FOUND)
Expand Down Expand Up @@ -239,6 +239,13 @@ endif()

################################# Build MaCh3 ##################################
add_library(MaCh3DUNECompilerOptions INTERFACE)

if(MaCh3_DUNE_USE_SRProxy)
target_compile_definitions(MaCh3DUNECompilerOptions INTERFACE MaCh3_DUNE_USE_SRProxy=1)
else()
target_compile_definitions(MaCh3DUNECompilerOptions INTERFACE MaCh3_DUNE_USE_SRProxy=0)
endif()

set_target_properties(MaCh3DUNECompilerOptions PROPERTIES EXPORT_NAME CompilerOptions)

target_include_directories(MaCh3DUNECompilerOptions
Expand Down
63 changes: 5 additions & 58 deletions Configs/EventRates_Atmospherics.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -103,62 +103,9 @@ ProcessMCMC:
CalcBipolarPlot: false
CalcParameterEvolution: false

#=============================================================================
#=============================================================================

"Projections": [
{
"Name": "RecoNuEnergy",
"VarString": "RecoNeutrinoEnergy",
"VarBins": [0.0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1.0, 1.2, 1.4],
"KinematicCuts": [
{
"Range": [0.1, 0.8],
"Name": "TrueNuEnergy",
"VarString": "TrueNeutrinoEnergy"
},
{
"Range": [0.4, 1.0],
"Name": "TrueCosZ",
"VarString": "TrueCosineZ"
}
],
"CategoryCuts": [
{
"Name": "OscillationChannel_Single",
"VarString": "OscChannel",
"Breakdown": [[0.0], [1.0], [2.0], [3.0], [4.0], [5.0], [6.0], [7.0], [8.0], [9.0], [10.0], [11.0]],
"Names": ["nue_x_nue", "nue_x_numu", "nue_x_nutau", "numu_x_nue",
"numu_x_numu", "numu_x_nutau", "nuebar_x_nuebar",
"nuebar_x_numubar", "nuebar_x_nutaubar", "numubar_x_nuebar",
"numubar_x_numubar", "numubar_x_nutaubar"],
},
{
"Name": "OscillationChannel_Group",
"VarString": "OscChannel",
"Breakdown": [[0.0, 1.0, 2.0, 3.0, 4.0, 5.0], [6.0, 7.0, 8.0, 9.0, 10.0, 11.0]],
"Names": ["Nu", "Nubar"],
},
{
"Name": "Mode_Single",
"VarString": "Mode",
"Breakdown": [[0.0], [1.0], [2.0], [3.0], [4.0], [5.0], [6.0], [7.0], [8.0],
[9.0], [10.0], [11.0], [12.0], [13.0], [14.0], [15.0], [16.0],
[17.0], [18.0], [19.0], [20.0], [21.0], [22.0], [23.0],
[24.0], [25.0], [26.0]],
},
{
"Name": "Mode_Group",
"VarString": "Mode",
"Breakdown": [[0.0], [2.0], [3.0], [9.0], [15.0], [16.0], [1.0, 4.0, 5.0, 6.0, 7.0, 8.0, 10.0, 11.0, 12.0, 13.0], [14.0, 17.0, 18.0, 19.0, 20.0, 21.0, 22.0, 23.0, 24.0, 25.0, 26.0]],
"Names": ["CCQE", "CCDIS", "CCRES", "CCMEC", "NCDIS", "NCRES", "CCOth", "NCOth"],
}
],
},

{
"Name": "TrueNuEnergy",
"VarString": "TrueNeutrinoEnergy",
"VarBins": [0.0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1.0, 1.2, 1.4, 1.6, 1.8, 2.0,
2.2, 2.4, 2.6, 2.8, 3.0, 3.5, 4.0, 4.5, 5.0, 6.0, 7.0, 8.0, 9.0, 10.0],
}
]
Projections:
- Name: "MinDistToWall"
VarStrings: ["MinDistToWall"]
VarBins: [[0.0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1.0, 1.2, 1.4]]
7 changes: 4 additions & 3 deletions Configs/Samples/AtmosphericParameterBinning.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
Atm:
TrueNeutrinoEnergy: [0.0, 0.5, 1.0, 1.5, 2.0, 2.5, 3.0, 3.5, 4.0, 4.5, 5.0, 5.5, 6.0, 6.5, 7.0, 7.5, 8.0, 8.5, 9.0, 9.5]
TrueCosineZ: [-1, -0.8, -0.6, -0.4, -0.2, 0, 0.2, 0.4, 0.6, 0.8, 1]
---
TrueNeutrinoEnergy: [0.0, 0.5, 1.0, 1.5, 2.0, 2.5, 3.0, 3.5, 4.0, 4.5, 5.0, 5.5, 6.0, 6.5, 7.0, 7.5, 8.0, 8.5, 9.0, 9.5]
TrueCosineZ: [-1, -0.8, -0.6, -0.4, -0.2, 0, 0.2, 0.4, 0.6, 0.8, 1]
MinDistToWall: [-100, -50, -20, -10, -5, -4, -3, -2, -1, 0, 1, 2, 3, 4, 5, 10, 20, 30, 40, 50, 100, 150, 200, 300, 400, 500, 1000, 2000, 3000, 5000, 10000, 100000, 1000000000]
1 change: 1 addition & 0 deletions Configs/Samples/BeamParameterBinning.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
FHC_numu:
IsFHC: [-0.5, 0.5, 1.5]
RecoNeutrinoEnergy: [0., 0.5, 1., 1.25, 1.5, 1.75, 2., 2.25, 2.5, 2.75, 3., 3.25, 3.5, 3.75, 4., 5., 6., 10.]
Expand Down
Loading