diff --git a/.github/workflows/validation.yml b/.github/workflows/validation.yml index 0788092fc..413a0ea7d 100644 --- a/.github/workflows/validation.yml +++ b/.github/workflows/validation.yml @@ -213,72 +213,15 @@ jobs: with: key: ${{ env.BRANCH_NAME }}-${{ github.sha }} path: ${{ env.REST_PATH }} - - name: 02_PandaXiiiMC + - name: PandaXIII Geant4 run: | source ${{ env.REST_PATH }}/thisREST.sh - cd framework/pipeline/pandaxiii_MC restG4 ${{ env.REST_PATH }}/examples/restG4/05.PandaXIII/Xe136bb0n.rml -o Xe136bb0n.root - restRoot -b -q ${{ env.REST_PATH }}/examples/restG4/05.PandaXIII/Validate.C'("Xe136bb0n.root")' - # - name: 02_PandaXiiiMC small for reference # We can use these artifacts to update the validation reference file - # run: | - # source ${{ env.REST_PATH }}/thisREST.sh - # cd framework/pipeline/pandaxiii_MC - # restG4 ${{ env.REST_PATH }}/examples/restG4/05.PandaXIII/Xe136bb0n.rml -o Xe136bb0n_small_reference_pipeline.root -n 5 - # restManager --c AllProcesses.rml --i Xe136bb0n_small_reference_pipeline.root --o Xe136bb0n_small_reference_processed_pipeline.root - # restRoot -b -q ../MakeBasicTree.C'("Xe136bb0n_small_reference_processed_pipeline.root", "Xe136bb0n_validation_pipeline.root")' - # - name: Upload Artifacts - # uses: actions/upload-artifact@v3 - # with: - # name: Xe136bb - # path: | - # framework/pipeline/pandaxiii_MC/Xe136bb0n.root - # framework/pipeline/pandaxiii_MC/Xe136bb0n_small_reference_pipeline.root - # framework/pipeline/pandaxiii_MC/Xe136bb0n_small_reference_processed_pipeline.root - # framework/pipeline/pandaxiii_MC/Xe136bb0n_validation_pipeline.root - # retention-days: 1 - - name: PandaXIII Topological - run: | - source ${{ env.REST_PATH }}/thisREST.sh - cd framework/pipeline/pandaxiii_MC - restManager --c AllProcesses.rml --i Xe136bb0n_small_reference.root --o Xe136bb0n_small_reference_processed.root - restRoot -b -q ../MakeBasicTree.C'("Xe136bb0n_small_reference_processed.root")' - restRoot -b -q ../ValidateTrees.C'("Xe136bb0n_validation.root")' - # restManager --c plots.rml --i Xe136bb0n_small_reference_processed.root - # This command is failing in the docker, reproducible locally, not clear why... - # echo | sleep 5 | restManager --c plots.rml --i testOutput.root - # - name: Upload Artifacts - # uses: actions/upload-artifact@v3 - # with: - # name: PandaTrackParam - # path: framework/pipeline/pandaxiii_MC/trackParameter.png - # retention-days: 1 - - name: PandaXIII Topological from Geant4 - run: | - source ${{ env.REST_PATH }}/thisREST.sh - cd framework/pipeline/pandaxiii_MC - echo "using just-generated g4 file" - restManager --c AllProcesses.rml --i Xe136bb0n.root --o Xe136bb0n_processed.root --j 1 --e 5 - restRoot -b -q ../MakeBasicTree.C'("Xe136bb0n_processed.root")' - restRoot -b -q ../ValidateTrees.C'("Xe136bb0n_validation.root")' - - name: Upload Artifacts - uses: actions/upload-artifact@v3 - with: - name: PandaTestOutput - path: framework/pipeline/pandaxiii_MC/Xe136bb0n_processed.root - retention-days: 1 - name: PandaXIII Data run: | source ${{ env.REST_PATH }}/thisREST.sh - cd framework/pipeline/pandaxiii_data + cd framework/pipeline/panda-x restManager --c P3AutoChain.rml --i CoBo_AsAd0_2019-03-15.graw --o testOutput.root --j 1 - restRoot -b -q ../MakeBasicTree.C'("testOutput.root")' - restRoot -b -q ../ValidateTrees.C'("validation.root")' - - name: Upload Artifacts - uses: actions/upload-artifact@v3 - with: - name: PandaTriggerRate - path: framework/pipeline/pandaxiii_data/TriggerRate.png - retention-days: 1 trex-dm: name: "TREX-DM" @@ -305,7 +248,7 @@ jobs: run: | source ${{ env.REST_PATH }}/thisREST.sh cd framework/pipeline/trex - wget https://sultan.unizar.es/trexdm-readouts/readouts_v2.4.root + wget https://rest-for-physics.github.io/trexdm-readouts/readouts_v2.4.root restManager --c 01_raw.rml --f R01928_tagTest_Vm_250_Vd_160_Pr_6_Gain_0x0_Shape_0xF_Clock_0x4-068.aqs restManager --c 02_signal.rml --f RawData_01928.root restManager --c 03_hits.rml --f Signals_01928.root @@ -455,77 +398,6 @@ jobs: key: ${{ env.BRANCH_NAME }}-${{ github.sha }} path: ${{ env.REST_PATH }} - - pandax-iii-reference: - name: "PandaX-III on reference version" - runs-on: ubuntu-latest - container: - image: ghcr.io/lobis/root-geant4-garfield:rest-for-physics-reference-jun2022 - needs: [ framework-install-reference ] - steps: - - uses: actions/checkout@v3 - with: - repository: rest-for-physics/framework - path: framework - - name: Checkout framework branch - run: | - cd framework - ./scripts/checkoutRemoteBranch.sh ${{ env.BRANCH_NAME }} - - name: Restore cache - uses: actions/cache@v3 - id: framework-install-cache-reference - with: - key: ${{ env.BRANCH_NAME }}-${{ github.sha }} - path: ${{ env.REST_PATH }} - - name: 02_PandaXiiiMC - run: | - source ${{ env.REST_PATH }}/thisREST.sh - cd framework/pipeline/pandaxiii_MC - restG4 ${{ env.REST_PATH }}/examples/restG4/05.PandaXIII/Xe136bb0n.rml -o Xe136bb0n.root - restRoot -b -q ${{ env.REST_PATH }}/examples/restG4/05.PandaXIII/Validate.C'("Xe136bb0n.root")' - - name: Upload Artifacts - uses: actions/upload-artifact@v3 - with: - name: Xe136bbRef - path: framework/pipeline/pandaxiii_MC/Xe136bb0n.root - retention-days: 1 - - name: PandaXIII Topological - run: | - source ${{ env.REST_PATH }}/thisREST.sh - cd framework/pipeline/pandaxiii_MC - restManager --c AllProcesses.rml --i Xe136bb0n_small_reference.root --o Xe136bb0n_small_reference_processed.root --j 1 --e 5 - restRoot -b -q ../MakeBasicTree.C'("Xe136bb0n_small_reference_processed.root")' - restRoot -b -q ../ValidateTrees.C'("Xe136bb0n_validation.root")' - # restManager --c plots.rml --i Xe136bb0n_small_reference_processed.root - - name: PandaXIII Topological from Geant4 - run: | - source ${{ env.REST_PATH }}/thisREST.sh - cd framework/pipeline/pandaxiii_MC - echo "using just-generated g4 file" - restManager --c AllProcesses.rml --i Xe136bb0n.root --o Xe136bb0n_processed.root --j 1 --e 5 - restRoot -b -q ../MakeBasicTree.C'("Xe136bb0n_processed.root")' - # TODO: regenerate reference file - # restRoot -b -q ../ValidateTrees.C'("Xe136bb0n_validation_G4_v10.4.3.root")' - - name: Upload Artifacts - uses: actions/upload-artifact@v3 - with: - name: PandaTestOutputRef - path: framework/pipeline/pandaxiii_MC/Xe136bb0n_processed.root - retention-days: 1 - - name: PandaXIII Data - run: | - source ${{ env.REST_PATH }}/thisREST.sh - cd framework/pipeline/pandaxiii_data - restManager --c P3AutoChain.rml --i CoBo_AsAd0_2019-03-15.graw --o testOutput.root --j 1 - restRoot -b -q ../MakeBasicTree.C'("testOutput.root")' - restRoot -b -q ../ValidateTrees.C'("validation.root")' - - name: Upload Artifacts - uses: actions/upload-artifact@v3 - with: - name: PandaTriggerRateRef - path: framework/pipeline/pandaxiii_data/TriggerRate.png - retention-days: 1 - examples-reference: name: Run examples on reference version runs-on: ubuntu-latest