Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatic submodule update and PR #405

Draft
wants to merge 95 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
95 commits
Select commit Hold shift + click to select a range
e969985
Create action.yml
juanangp Apr 27, 2023
85ac975
Adding automatic PR in case target branch doesn't exist
juanangp Apr 27, 2023
07ca9cd
Adding label, which is meant to block submodule PR (needs to be done …
juanangp Apr 28, 2023
fa9eac0
New workflow for automatic merge on submodule PR
juanangp Apr 28, 2023
52ed9d5
New action to check framework-pr label
juanangp Apr 28, 2023
399f693
Bug fix
juanangp Apr 28, 2023
226c851
Removing extra name
juanangp Apr 28, 2023
6c41536
Merge branch 'master' into submodule-PR
juanangp Apr 28, 2023
5538724
Adressing yaml format issues
juanangp Apr 28, 2023
b975e4b
Yaml formatting
juanangp Apr 28, 2023
cc48ef1
Simplifiying output retreival
juanangp Apr 28, 2023
dedfa22
Merge branch 'master' into submodule-PR
jgalan Apr 28, 2023
0c86be0
Yalm formatting
juanangp Apr 28, 2023
ce137bf
Adding quotatition to condition
juanangp Apr 28, 2023
550b746
Adressing quotation in `if`
juanangp Apr 28, 2023
d10d5ac
Addressing typo in token
juanangp Apr 28, 2023
5b54e74
Removing token at checkout tryint to address query of github user and…
juanangp Apr 28, 2023
44bf0f6
Addint username and mail since seems probematic, re-implementing toke…
juanangp Apr 28, 2023
e984ade
Updating submodule source/libraries/raw
juanangp Apr 28, 2023
c0b4729
Addressing bug
juanangp Apr 28, 2023
1e838a6
Revert "Updating submodule source/libraries/raw"
juanangp Apr 28, 2023
f35f310
Adding protection in case there are no changes to commit
juanangp Apr 28, 2023
88504d6
Updating submodule source/libraries/raw
juanangp Apr 28, 2023
e3d327b
Revert "Updating submodule source/libraries/raw"
juanangp Apr 28, 2023
b9721c0
Addressing bug at commit
juanangp Apr 28, 2023
0de4d76
Updating submodule source/libraries/raw
juanangp Apr 28, 2023
ebb29fe
Addressing issue while adding the label
juanangp Apr 29, 2023
576aea9
Proper impelmentation for removing the framework-pr label
juanangp Apr 29, 2023
912f5b1
Updating submodule source/libraries/raw
juanangp Apr 29, 2023
077f544
Adding generic action for label check, renamed actions/framework-pr-l…
juanangp Apr 29, 2023
7672e9e
Updating submodule source/libraries/raw
juanangp Apr 29, 2023
1f94598
Bug fix
juanangp Apr 29, 2023
2f188c0
Adding further debugging on submodule PR
juanangp Apr 29, 2023
29bcb76
Fix after removal of some lines by mistake
juanangp Apr 29, 2023
3f212cd
More generic handling of labels inside pr-label action
juanangp Apr 29, 2023
a3c2cbf
Updating submodule source/libraries/raw
juanangp Apr 29, 2023
b50675e
Updating submodule source/libraries/raw
juanangp Apr 29, 2023
d7b5aac
Bug fix
juanangp Apr 29, 2023
f760719
Bug fix
juanangp Apr 29, 2023
84f6686
Adding debug
juanangp Apr 29, 2023
c3c23c5
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Apr 29, 2023
e474db5
Using fromJSON to check labels on PR
juanangp Apr 29, 2023
6fab240
Delete pr-label action since it is an overkill
juanangp Apr 29, 2023
37ee0fe
Updating submodule source/libraries/raw
juanangp Apr 29, 2023
0752a5c
Updating submodule source/libraries/raw
juanangp Apr 29, 2023
64c29a5
Updating submodule source/libraries/raw
juanangp Apr 29, 2023
ebc4c9c
Improving submodulePR action, now a PR is created in framework even i…
juanangp Apr 29, 2023
3add7d0
Yaml format
juanangp Apr 29, 2023
0b7ee12
Yaml format
juanangp Apr 29, 2023
0a8e5cd
Trying to address issues while getting PR body
juanangp Apr 29, 2023
ee88680
Adding possibility to add a label to the framework PR
juanangp Apr 29, 2023
cb976d7
Updating submodule source/libraries/raw
juanangp Apr 29, 2023
d7863b7
Updating submodule source/libraries/raw
juanangp Apr 29, 2023
4f73829
Adding concurrency in automerge workflow
juanangp Apr 29, 2023
95ac314
Yaml formatting
juanangp Apr 29, 2023
35c7785
Updating submodule source/libraries/raw
juanangp Apr 29, 2023
1453adc
Updating submodule source/libraries/raw
juanangp Apr 29, 2023
f881225
Merge branch 'master' into submodule-PR
juanangp May 9, 2023
c85ba82
Updating submodule source/libraries/detector
juanangp May 9, 2023
4ad3a4e
Deactivating fail-fast since all the submodules should be checked ind…
juanangp May 9, 2023
b3d610d
Merge branch 'master' into submodule-PR
juanangp May 9, 2023
8da49a7
Simplying step for merging a submodule PR
juanangp May 12, 2023
4d764dd
Bug fix
juanangp May 12, 2023
1295e4c
Adding submodule PR url in framework PR body in case is not present
juanangp May 12, 2023
2aed579
Trying to address issues while editing PR body
juanangp May 12, 2023
0b8f985
Trying to fix issue while writting PR body
juanangp May 12, 2023
df51f7f
Avoid use of return while editing PR body, seems overcomplicated
juanangp May 12, 2023
ad07d07
Attempting to address submodule pipeline issue
juanangp May 12, 2023
9a0ca66
Addressing token issues
juanangp May 12, 2023
5f6d073
Addressing corner case in case branch exist but no PR have been issued
juanangp May 12, 2023
f465d05
Adressing token issue
juanangp May 12, 2023
bef952a
Updating submodule source/libraries/geant4
juanangp May 12, 2023
4d06344
Updating submodule source/libraries/track
juanangp May 12, 2023
9a40755
Updating submodule source/libraries/connectors
juanangp May 15, 2023
988366c
Updating submodule source/libraries/connectors
juanangp May 15, 2023
667db48
Updating submodule source/libraries/axion
juanangp May 15, 2023
f788c25
Updating submodule source/libraries/legacy
juanangp May 15, 2023
a84efdc
Updating submodule source/libraries/wimp
juanangp May 15, 2023
66ee159
Updating submodule source/packages/restG4
juanangp May 17, 2023
ca33fb8
Merge branch 'master' into submodule-PR
juanangp May 17, 2023
1436a98
Merge branch 'master' into submodule-PR
juanangp May 19, 2023
894fd0b
Updating submodule source/libraries/raw
juanangp May 19, 2023
d656928
Updating submodule source/libraries/track
juanangp May 19, 2023
1496777
Updating submodule source/libraries/connectors
juanangp May 19, 2023
9f5a1d7
Updating submodule source/libraries/axion
juanangp May 19, 2023
d8861e5
Updating submodule source/libraries/legacy
juanangp May 19, 2023
da8bb9c
Updating submodule source/libraries/detector
juanangp May 19, 2023
ca10c2a
Adding pull before push to avoid race condition
juanangp May 19, 2023
964ee4a
Updating submodule source/libraries/geant4
juanangp May 19, 2023
baac71a
Updating submodule source/libraries/wimp
juanangp May 19, 2023
0c883a5
Updating submodule source/packages/restG4
juanangp May 19, 2023
28982df
Merge branch 'master' into submodule-PR
juanangp May 23, 2023
e43937f
Updating submodule source/libraries/raw
juanangp May 23, 2023
9e774bf
Updating submodule source/packages/restG4
juanangp May 23, 2023
fb03c34
Updating submodule source/libraries/axion
jgalan Jun 1, 2023
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
127 changes: 127 additions & 0 deletions .github/actions/submodulePR/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,127 @@
name: "Automatic PR on framework at submodule PR"
inputs:
branch:
description: "Target branch name"
required: true
submodule:
description: "Relative path to the submodule"
required: true
label:
description: "Add the following label to the submodule PR"
token:
description: "Authentification token"
required: true

runs:
using: 'composite'
steps:
- name: Checkout framework repository
uses: actions/checkout@v3
with:
token: ${{ inputs.token }}
repository: rest-for-physics/framework
ref: master
path: framework
- name: Pull submodules
run: |
cd framework
./scripts/checkoutRemoteBranch.sh ${{ inputs.branch }}
python3 pull-submodules.py --force --dontask --latest:${{ inputs.branch }}
git config --global user.name "${{ github.actor }}"
git config --global user.email "${{ github.actor }}@users.noreply.github.com"
shell: bash
- name: Check if framework branch exist
id: frameworkBranch
run: |
cd framework
echo "ref=$(git rev-parse --abbrev-ref HEAD)" >> $GITHUB_OUTPUT
shell: bash
- name: Commit changes if branch exist
if: steps.frameworkBranch.outputs.ref == ${{ inputs.branch }}
run: |
cd framework
git pull
git add ${{ inputs.submodule }}
var=$(git diff --cached)
if [[ -z $var ]]; then
echo "Nothing to commit"
else
git commit -m "Updating submodule ${{ inputs.submodule }}"
git push
fi
shell: bash
- name: Commit changes to new branch
if: steps.frameworkBranch.outputs.ref == 'master'
run: |
cd framework
git checkout -b ${{ inputs.branch }}
git add ${{ inputs.submodule }}
git commit -m "Updating submodule ${{ inputs.submodule }}"
git push --set-upstream origin ${{ inputs.branch }}
shell: bash
- name: Checkout submodule
uses: actions/checkout@v3
with:
ref: ${{ inputs.branch }}
path: submodule
- name: Check submodule PR
id: submodulePR
run: |
cd submodule
#Check submodule PR
gh auth status
gh pr view
prurl=$(gh pr view --json url -t '{{ .url }}')
echo "prurl=$prurl" >> $GITHUB_OUTPUT
echo -e "body<<EOF\n$(gh pr view --json body -t '{{ .body }}')\nEOF" >> $GITHUB_OUTPUT
#Add framework-pr label
gh pr edit $prurl --add-label "framework-pr"
env:
GITHUB_TOKEN: ${{ inputs.token }}
shell: bash
- name: Check framework PR
id: frameworkPR
run: |
cd framework
#Check framework PR
echo "prurl=$(gh pr view --json url -t '{{ .url }}')" >> $GITHUB_OUTPUT
env:
GITHUB_TOKEN: ${{ inputs.token }}
shell: bash
- name: Create PR in framework
if: "steps.frameworkBranch.outputs.ref == 'master' || steps.frameworkPR.outputs.prurl == ''"
run: |
cd framework
gh pr create -B master -H ${{ inputs.branch }} --title 'Submodule Updates from ${{ inputs.submodule }} branch ${{ inputs.branch }}' --body 'Automatic PR from ${{ inputs.submodule }} branch ${{ inputs.branch }}, related PR ${{ steps.submodulePR.outputs.prurl }}'
env:
GITHUB_TOKEN: ${{ inputs.token }}
shell: bash
- name: Second check on framework PR
id: PRFramework
run: |
cd framework
#Check framework PR
gh pr view
echo "prurl=$(gh pr view --json url -t '{{ .url }}')" >> $GITHUB_OUTPUT
echo -e "body<<EOF\n$(gh pr view --json body -t '{{ .body }}')\nEOF" >> $GITHUB_OUTPUT
#Add custom label
gh pr edit $prurl --add-label ${{ inputs.label }}
env:
GITHUB_TOKEN: ${{ inputs.token }}
shell: bash
- name: Update submodule PR body
if: "steps.frameworkBranch.outputs.ref != 'master' && !contains(steps.submodulePR.outputs.body, steps.PRFramework.outputs.prurl)"
run: |
cd submodule
gh pr edit ${{ steps.submodulePR.outputs.prurl }} --body '${{ steps.submodulePR.outputs.body }} Related framework PR ${{ steps.PRFramework.outputs.prurl }}'
env:
GITHUB_TOKEN: ${{ inputs.token }}
shell: bash
- name: Update framework PR body
if: "steps.frameworkBranch.outputs.ref != 'master' && !contains(steps.PRFramework.outputs.body, steps.submodulePR.outputs.prurl)"
run: |
cd framework
gh pr edit ${{ steps.PRFramework.outputs.prurl }} --body '${{ steps.PRFramework.outputs.body }} Related PR ${{ steps.submodulePR.outputs.prurl }}'
env:
GITHUB_TOKEN: ${{ inputs.token }}
shell: bash
92 changes: 92 additions & 0 deletions .github/workflows/automerge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
name: "Automatic PR checks and merge"

on:
pull_request:
branches: [ "master" ]
types: [ "opened", "reopened", "created", "closed", "synchronize", "labeled", "unlabeled"]

workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

#permissions: write-all

env:
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}

defaults:
run:
shell: bash

jobs:
submodule-pr:
strategy:
fail-fast: false
matrix:
submodule: ["rest-for-physics/rawlib", "rest-for-physics/detectorlib", "rest-for-physics/geant4lib","rest-for-physics/tracklib", "rest-for-physics/connectorslib", "rest-for-physics/axionlib", "rest-for-physics/legacylib", "rest-for-physics/wimplib", "rest-for-physics/restG4"]
runs-on: ubuntu-latest
if: github.head_ref || github.ref_name != 'master'
steps:
- name: Checkout submodule
uses: actions/checkout@v3
with:
repository: ${{ matrix.submodule }}
path: submodule
- name: Check submodule branch
id: submoduleBranch
run: |
cd submodule
var=$(git ls-remote --heads origin ${{ env.BRANCH_NAME }})
if [[ -z $var ]]; then
echo "Branch "${{ env.BRANCH_NAME }}" not found in " ${{ matrix.submodule }}
echo "exist=false" >> $GITHUB_OUTPUT
else
echo "Branch "${{ env.BRANCH_NAME }}" found in " ${{ matrix.submodule }}
git fetch
git checkout ${{ env.BRANCH_NAME }}
git pull
echo "exist=true" >> $GITHUB_OUTPUT
fi
shell: bash
- name: Check PR
id: PRCheck
if: steps.submoduleBranch.outputs.exist == 'true'
run: |
cd submodule
#Check PR
gh auth status
gh pr view
echo "prurl=$(gh pr view --json url -t '{{ .url }}')" >> $GITHUB_OUTPUT
echo "mergeStateStatus=$(gh pr view --json mergeStateStatus -t '{{ .mergeStateStatus }}')" >> $GITHUB_OUTPUT
echo "prState=$(gh pr view --json state -t '{{ .state }}')" >> $GITHUB_OUTPUT
echo "review=$(gh pr view --json reviewDecision -t '{{ .reviewDecision }}')" >> $GITHUB_OUTPUT
env:
GITHUB_TOKEN: ${{ secrets.REST_TOKEN }}
- name: Print outputs
if: steps.submoduleBranch.outputs.exist == 'true'
run: |
echo "Merge status " ${{ steps.PRCheck.outputs.mergeStateStatus }}
echo "PR REVIEW " ${{ steps.PRCheck.outputs.review }}
echo "PR url " ${{ steps.PRCheck.outputs.prurl }}
echo "PR state " ${{ steps.PRCheck.outputs.prState }}
if [[ ${{ steps.PRCheck.outputs.prState }} == "MERGED" ]]; then
echo "PR already merged"
elif [[ ${{ steps.PRCheck.outputs.review }} == "APPROVED" ]]; then
echo "PR is approved and mergeStateStatus is " $mergeStateStatus
else
echo "Not approved or invalid PR for branch " ${{ env.BRANCH_NAME }} " in " ${{ matrix.submodule }} " merge is not allowed"
exit 1
fi
- name: Merge PR
if: (github.event.action == 'closed' && github.event.pull_request.merged == true && steps.PRCheck.outputs.review == 'APPROVED' && steps.PRCheck.outputs.prState != 'MERGED')
run: |
cd submodule
gh pr edit ${{ steps.PRCheck.outputs.prurl }} --remove "framework-pr"
gh auth status
echo "actor " ${{ github.actor }}
gh pr merge --auto --merge "$PR_URL"
env:
PR_URL: ${{ steps.PRCheck.outputs.prurl }}
GITHUB_TOKEN: ${{ secrets.REST_TOKEN }}
2 changes: 1 addition & 1 deletion source/libraries/axion
Submodule axion updated 69 files
+1 −1 .clang-format
+6 −0 .cmake-format.yaml
+2 −2 .github/pr-badge.yml
+30 −0 .github/workflows/frameworkPR.yml
+17 −0 .github/workflows/frameworkmerge.yml
+89 −36 .github/workflows/validation.yml
+35 −0 .pre-commit-config.yaml
+52 −40 CMakeLists.txt
+1 −1 README.md
+231 −218 cmake/CompileDir.cmake
+31 −31 cmake/FindGarfield.cmake
+187 −188 cmake/FindROOT.cmake
+126 −114 cmake/MacroRootDict.cmake
+1 −1 examples/old/axionGenerator.rml
+2 −2 examples/old/axionSpectrum.xml
+4 −4 examples/old/axionlib.xml
+1 −1 images/Logo_REST_full_doxygen.svg
+0 −1 inc/TRestAxionDetectorResponseProcess.h
+0 −1 inc/TRestAxionDeviationProcess.h
+1 −2 inc/TRestAxionEvent.h
+16 −7 inc/TRestAxionEventProcess.h
+2 −3 inc/TRestAxionFieldPropagationProcess.h
+2 −4 inc/TRestAxionGeneratorProcess.h
+1 −2 inc/TRestAxionLikelihood.h
+1 −0 inc/TRestAxionMCPLOptics.h
+2 −2 inc/TRestAxionMagneticField.h
+1 −0 inc/TRestAxionOptics.h
+2 −2 inc/TRestAxionOpticsMirror.h
+1 −3 inc/TRestAxionSolarFlux.h
+1 −0 inc/TRestAxionTrueWolterOptics.h
+1 −0 inc/TRestAxionWolterOptics.h
+64 −0 macros/REST_Axion_RayTracingNgamma.C
+26 −21 macros/REST_Axion_XMMAngleEffCSV.C
+0 −1 pipeline/README.md
+0 −1 pipeline/clang-format/clang-format.sh
+0 −1 pipeline/clang-format/clangformattest.sh
+27 −34 pipeline/likelihood/babyIAXO.rml
+4 −4 pipeline/metadata/magneticField/boundary/README.md
+46 −44 pipeline/metadata/magneticField/magneticField.py
+0 −1 pipeline/metadata/magneticField/trilinear/GetMagneticField_test_output.txt
+10 −11 pipeline/metadata/magneticField/trilinear/README.md
+88 −71 pipeline/metadata/optics/basic.py
+5 −5 pipeline/metadata/optics/mcpl.py
+51 −51 pipeline/metadata/optics/mirrors.py
+55 −40 pipeline/metadata/solarFlux/compare.py
+85 −53 pipeline/metadata/solarFlux/solarPlot.py
+35 −20 pipeline/metadata/solarFlux/solarTests.py
+89 −68 pipeline/metadata/transmission/windowPlot.py
+3 −1 pipeline/ray-tracing/axion-field/Validate.C
+7 −5 pipeline/ray-tracing/axion-field/validateStreamer.py
+92 −0 pipeline/ray-tracing/full-chain/BabyIAXO_Micromegas_XMM.rml
+66 −0 pipeline/ray-tracing/full-chain/ValidateChain.C
+34 −0 pipeline/ray-tracing/full-chain/bufferGases.rml
+115 −109 pipeline/validateLibrary.py
+1 −1 pipeline/validateMacros.py
+39 −29 scripts/fluxToTables.py
+55 −36 scripts/xlsToBin.py
+5 −1 src/TRestAxionDeviationProcess.cxx
+1 −0 src/TRestAxionEvent.cxx
+21 −7 src/TRestAxionEventProcess.cxx
+2 −0 src/TRestAxionField.cxx
+1 −0 src/TRestAxionFieldPropagationProcess.cxx
+1 −1 src/TRestAxionGeneratorProcess.cxx
+3 −1 src/TRestAxionOptics.cxx
+4 −1 src/TRestAxionOpticsMirror.cxx
+15 −3 src/TRestAxionSolarFlux.cxx
+0 −3 src/TRestAxionTransmissionProcess.cxx
+2 −0 src/TRestAxionTrueWolterOptics.cxx
+2 −0 src/TRestAxionWolterOptics.cxx
2 changes: 1 addition & 1 deletion source/libraries/detector
Submodule detector updated 35 files
+1 −1 .clang-format
+6 −0 .cmake-format.yaml
+2 −4 .github/pr-badge.yml
+30 −0 .github/workflows/frameworkPR.yml
+17 −0 .github/workflows/frameworkmerge.yml
+25 −11 .github/workflows/validation.yml
+0 −2 .gitlab-ci.yml
+35 −0 .pre-commit-config.yaml
+17 −11 CMakeLists.txt
+ images/smear.png
+2 −1 inc/TRestDetectorDaqChannelSwitchingProcess.h
+4 −2 inc/TRestDetectorHitsAnalysisProcess.h
+42 −29 inc/TRestDetectorHitsSmearingProcess.h
+3 −3 inc/TRestDetectorPositionMappingProcess.h
+1 −1 inc/TRestDetectorReadoutEventViewer.h
+4 −16 inc/TRestDetectorSignal.h
+2 −3 inc/TRestDetectorSignalEvent.h
+84 −0 inc/TRestDetectorSignalRecoveryProcess.h
+3 −3 inc/TRestDetectorSingleChannelAnalysisProcess.h
+1 −1 macros/REST_Detector_ViewHitsEvent.C
+0 −1 pipeline/clang-format/clang-format.sh
+0 −1 pipeline/clang-format/clangformattest.sh
+115 −109 pipeline/validateLibrary.py
+13 −10 src/TRestDetectorElectronDiffusionProcess.cxx
+1 −1 src/TRestDetectorHitsEvent.cxx
+7 −2 src/TRestDetectorHitsGaussAnalysisProcess.cxx
+88 −80 src/TRestDetectorHitsSmearingProcess.cxx
+2 −1 src/TRestDetectorReadoutChannel.cxx
+9 −4 src/TRestDetectorReadoutModule.cxx
+2 −2 src/TRestDetectorReadoutPixel.cxx
+51 −25 src/TRestDetectorSignal.cxx
+6 −3 src/TRestDetectorSignalChannelActivityProcess.cxx
+13 −42 src/TRestDetectorSignalEvent.cxx
+323 −0 src/TRestDetectorSignalRecoveryProcess.cxx
+2 −2 src/TRestDetectorSignalViewerProcess.cxx
2 changes: 1 addition & 1 deletion source/libraries/raw
Submodule raw updated 37 files
+6 −0 .cmake-format.yaml
+2 −2 .github/pr-badge.yml
+30 −0 .github/workflows/frameworkPR.yml
+17 −0 .github/workflows/frameworkmerge.yml
+44 −22 .github/workflows/validation.yml
+35 −0 .pre-commit-config.yaml
+5 −9 CMakeLists.txt
+24 −33 examples/tdsAQS.rml
+2 −1 inc/TRestRawBaseLineCorrectionProcess.h
+1 −1 inc/TRestRawFEUDreamToSignalProcess.h
+8 −3 inc/TRestRawSignalAnalysisProcess.h
+1 −55 inc/TRestRawSignalChannelActivityProcess.h
+0 −88 inc/TRestRawSignalRecoverChannelsProcess.h
+5 −0 inc/TRestRawToSignalProcess.h
+2 −2 inc/TRestRawUSTCToSignalProcess.h
+0 −1 pipeline/clang-format/clang-format.sh
+0 −1 pipeline/clang-format/clangformattest.sh
+7 −7 pipeline/processes/analysis/globals.xml
+10 −10 pipeline/processes/analysis/veto.rml
+6 −6 pipeline/processes/noise/addNoise.py
+8 −8 pipeline/processes/shaping/shaping.C
+47 −65 pipeline/processes/veto/veto.rml
+11 −11 pipeline/processes/veto/vetoValidation.py
+115 −109 pipeline/validateLibrary.py
+8 −4 src/TRestRawBaseLineCorrectionProcess.cxx
+4 −0 src/TRestRawMemoryBufferToSignalProcess.cxx
+1 −0 src/TRestRawMultiFEMINOSToSignalProcess.cxx
+7 −1 src/TRestRawSignalAnalysisProcess.cxx
+1 −82 src/TRestRawSignalChannelActivityProcess.cxx
+3 −3 src/TRestRawSignalConvolutionFittingProcess.cxx
+3 −2 src/TRestRawSignalFittingProcess.cxx
+3 −2 src/TRestRawSignalGeneralFitProcess.cxx
+0 −249 src/TRestRawSignalRecoverChannelsProcess.cxx
+2 −1 src/TRestRawSignalRemoveChannelsProcess.cxx
+1 −1 src/TRestRawSignalShapingProcess.cxx
+3 −3 src/TRestRawSignalViewerProcess.cxx
+1 −1 src/TRestRawTDSToSignalProcess.cxx
2 changes: 1 addition & 1 deletion source/packages/restG4
Submodule restG4 updated 67 files
+10 −0 .clang-format
+6 −0 .cmake-format.yaml
+2 −4 .github/pr-badge.yml
+30 −0 .github/workflows/frameworkPR.yml
+17 −0 .github/workflows/frameworkmerge.yml
+100 −145 .github/workflows/validation.yml
+35 −0 .pre-commit-config.yaml
+43 −28 CMakeLists.txt
+1 −1 examples/01.NLDBD/NLDBD.rml
+1 −1 examples/01.NLDBD/geometry/myGeometryTemplate.gdml
+1 −1 examples/01.NLDBD/geometry/mySetupTemplate.gdml
+2 −3 examples/02.TREXDM/g4Analysis.rml
+2 −2 examples/02.TREXDM/geometry/README.md
+1 −1 examples/03.Fluorescence/electron.rml
+2 −3 examples/03.Fluorescence/g4Analysis.rml
+1 −1 examples/03.Fluorescence/gamma.rml
+1 −1 examples/03.Fluorescence/geometry/setup.gdml
+3 −4 examples/05.PandaXIII/README.md
+0 −1 examples/05.PandaXIII/geometry/AcrylicPart.gdml
+1 −1 examples/05.PandaXIII/geometry/CopperRings.gdml
+0 −1 examples/05.PandaXIII/geometry/LeadShelding.gdml
+0 −1 examples/05.PandaXIII/geometry/OtherXeTMAGas.gdml
+1 −1 examples/05.PandaXIII/geometry/Resistance.gdml
+2 −2 examples/05.PandaXIII/geometry/Th232_SS_01.rml
+0 −1 examples/05.PandaXIII/geometry/XeTMAGas_new.gdml
+0 −1 examples/06.IonRecoils/README.md
+1 −1 examples/06.IonRecoils/geometry/setup.gdml
+1 −1 examples/06.IonRecoils/recoils.rml
+0 −1 examples/07.FullChainDecay/README.md
+1 −1 examples/07.FullChainDecay/fullChain.rml
+1 −1 examples/07.FullChainDecay/geometry/setup.gdml
+1 −1 examples/07.FullChainDecay/singleDecay.rml
+1 −1 examples/08.Alphas/alphas.rml
+2 −3 examples/08.Alphas/analysis.rml
+1 −1 examples/09.Pb210_Shield/Pb210.rml
+0 −1 examples/09.Pb210_Shield/README.md
+1 −1 examples/09.Pb210_Shield/geometry/setup.gdml
+1 −1 examples/10.Geometries/Assembly.rml
+1 −1 examples/10.Geometries/Validate.C
+1 −1 examples/10.Geometries/geometry/assemblyDepthOne/geometry.gdml
+1 −1 examples/10.Geometries/geometry/noAssembly/geometry.gdml
+1 −1 examples/11.Xrays/Fe55.rml
+2 −3 examples/11.Xrays/analysis.rml
+1 −3 examples/11.Xrays/geometry/setup.gdml
+2 −2 examples/11.Xrays/xrays.rml
+1 −1 examples/12.Generators/geometry/setup.gdml
+1 −2 examples/14.DetectorResponse/README.md
+2 −2 examples/14.DetectorResponse/analysis.rml
+1 −1 examples/14.DetectorResponse/geometry.gdml
+1 −1 examples/v2.1.7/pandaXIII/biasing/externalTh232.rml
+3 −3 examples/v2.1.7/pandaXIII/biasing/externalU238.rml
+4 −5 examples/v2.1.7/pandaXIII/generateExamples.sh
+4 −4 examples/v2.1.7/pandaXIII/geometry/resistive/pandaXIII_Geometry.gdml
+0 −1 examples/v2.1.7/pandaXIII/geometry/resistive/pandaXIII_Setup.gdml
+5 −5 examples/v2.1.7/pandaXIII/geometry/traditional/pandaXIII_Geometry.gdml
+25 −26 examples/v2.1.7/pandaXIII/geometry/traditional/pandaXIII_Setup_WT12m.gdml
+25 −26 examples/v2.1.7/pandaXIII/geometry/traditional/pandaXIII_Setup_WT6m.gdml
+2 −2 examples/v2.1.7/pandaXIII/templates/biasedIsotopeFromVirtualBox.rml
+2 −2 examples/v2.1.7/pandaXIII/templates/decay0FromVolume.rml
+2 −2 examples/v2.1.7/pandaXIII/templates/isotopeFromPoint.rml
+1 −1 examples/v2.1.7/pandaXIII/templates/isotopeFromVCylinder.rml
+2 −2 examples/v2.1.7/pandaXIII/templates/isotopeFromVolume.rml
+41 −40 examples/v2.1.7/replaceRMLVars.py
+0 −1 mac/visualtrack.mac
+1 −1 src/ActionInitialization.cxx
+30 −17 src/DetectorConstruction.cxx
+12 −0 src/PhysicsList.cxx