Skip to content

Conversation

@maxdubnowski
Copy link
Contributor

Description

Added additional information to the BNBSpillInfo module including additional monitors and monitor offsets from IFBeam that allow for the creation of the BNB FOM adapted from MicroBooNE using sbnd information. My DocDB presentation: https://sbn-docdb.fnal.gov/cgi-bin/sso/ShowDocument?docid=42480
I am not sure who is a CAF maintainer...

Requires linking sbnobj and sbnanaobj. Their PRs are listed below:
sbnobj: PR135 SBNSoftware/sbnobj#135
sbnanaobj: PR146 SBNSoftware/sbnanaobj#146

@maxdubnowski maxdubnowski added the enhancement New feature or request label Aug 5, 2025
@lyates17 lyates17 requested a review from PetrilloAtWork August 5, 2025 22:58
@lyates17
Copy link

lyates17 commented Aug 5, 2025

Added Gianluca to the list of reviewers, as a CAF expert

@kjplows kjplows moved this to Open pull requests in SBN software development Aug 6, 2025
Copy link
Member

@PetrilloAtWork PetrilloAtWork left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The code here is tough, in many places obscure with references lost in time.
I have left comments throughout it, with the general intention that:

  • code be documented in Doxygen format
  • at least the parts that are more under our control (e.g. quality selections and cut) be documented and shaped in a maintainable way
  • code be adjusted to be more readable and maintainable
  • a likely memory leak (involving, unsurprisingly, ROOT) be addressed.

Thank you for taking this hard task on your shoulders!

@FNALbuild
Copy link

✔️ CI build for LArSoft Succeeded on slf7 for c14:prof -- details available through the CI dashboard

@FNALbuild
Copy link

✔️ CI build for LArSoft Succeeded on slf7 for e26:prof -- details available through the CI dashboard

@FNALbuild
Copy link

❌ CI build for ICARUS Failed at phase build ICARUS on slf7 for c14:prof -- details available through the CI dashboard

🚨 For more details about the failed phase, check the build ICARUS phase logs

parent CI build details are available through the CI dashboard

@FNALbuild
Copy link

❌ CI build for SBND Failed at phase build SBND on slf7 for c14:prof -- details available through the CI dashboard

🚨 For more details about the failed phase, check the build SBND phase logs

parent CI build details are available through the CI dashboard

@FNALbuild
Copy link

❌ CI build for ICARUS Failed at phase build ICARUS on slf7 for e26:prof -- details available through the CI dashboard

🚨 For more details about the failed phase, check the build ICARUS phase logs

parent CI build details are available through the CI dashboard

@FNALbuild
Copy link

❌ CI build for SBND Failed at phase build SBND on slf7 for e26:prof -- details available through the CI dashboard

🚨 For more details about the failed phase, check the build SBND phase logs

parent CI build details are available through the CI dashboard

@kjplows
Copy link
Contributor

kjplows commented Aug 25, 2025

@maxdubnowski , I am seeing failures in getFOM.cpp - looks like a typo?

[354/1876] Building CXX object sbncode/sbncode/BeamSpillInfoRetriever/CMakeFiles/sbn_getFOM.dir/getFOM.cpp.o
FAILED: sbncode/sbncode/BeamSpillInfoRetriever/CMakeFiles/sbn_getFOM.dir/getFOM.cpp.o 
/cvmfs/larsoft.opensciencegrid.org/products/gcc/v12_1_0/Linux64bit+3.10-2.17/bin/g++ -DNDEBUG -Dsbn_getFOM_EXPORTS -I/scratch/workspace/sbnd_ci/label_exp/swarm/label_exp2/swarm/SBND/srcs/sbnobj -I/scratch/workspace/sbnd_ci/label_exp/swarm/label_exp2/swarm/SBND/build_slf7.x86_64/sbnobj -I/scratch/workspace/sbnd_ci/label_exp/swarm/label_exp2/swarm/SBND/srcs/sbnanaobj -I/scratch/workspace/sbnd_ci/label_exp/swarm/label_exp2/swarm/SBND/build_slf7.x86_64/sbnanaobj -I/scratch/workspace/sbnd_ci/label_exp/swarm/label_exp2/swarm/SBND/srcs/sbnalg -I/scratch/workspace/sbnd_ci/label_exp/swarm/label_exp2/swarm/SBND/build_slf7.x86_64/sbnalg -I/scratch/workspace/sbnd_ci/label_exp/swarm/label_exp2/swarm/SBND/srcs/sbndaq_artdaq_core -I/scratch/workspace/sbnd_ci/label_exp/swarm/label_exp2/swarm/SBND/build_slf7.x86_64/sbndaq_artdaq_core -I/scratch/workspace/sbnd_ci/label_exp/swarm/label_exp2/swarm/SBND/srcs/sbncode -I/scratch/workspace/sbnd_ci/label_exp/swarm/label_exp2/swarm/SBND/build_slf7.x86_64/sbncode -I/scratch/workspace/sbnd_ci/label_exp/swarm/label_exp2/swarm/SBND/srcs/sbndutil -I/scratch/workspace/sbnd_ci/label_exp/swarm/label_exp2/swarm/SBND/build_slf7.x86_64/sbndutil -I/scratch/workspace/sbnd_ci/label_exp/swarm/label_exp2/swarm/SBND/srcs/sbndcode -I/scratch/workspace/sbnd_ci/label_exp/swarm/label_exp2/swarm/SBND/build_slf7.x86_64/sbndcode -I/cvmfs/larsoft.opensciencegrid.org/products/clhep/v2_4_7_1/Linux64bit+3.10-2.17-e26-prof/include -isystem /cvmfs/larsoft.opensciencegrid.org/products/root/v6_28_12/Linux64bit+3.10-2.17-e26-p3915-prof/include -isystem /cvmfs/larsoft.opensciencegrid.org/products/cetlib_except/v1_09_01/include -g -O3 -fno-omit-frame-pointer -DNDEBUG -std=c++17 -fPIC -Werror -Wno-error=deprecated-declarations -frecord-gcc-switches -grecord-gcc-switches -Wall -Werror=return-type -pedantic -Wno-unused-local-typedefs -MD -MT sbncode/sbncode/BeamSpillInfoRetriever/CMakeFiles/sbn_getFOM.dir/getFOM.cpp.o -MF sbncode/sbncode/BeamSpillInfoRetriever/CMakeFiles/sbn_getFOM.dir/getFOM.cpp.o.d -o sbncode/sbncode/BeamSpillInfoRetriever/CMakeFiles/sbn_getFOM.dir/getFOM.cpp.o -c /scratch/workspace/sbnd_ci/label_exp/swarm/label_exp2/swarm/SBND/srcs/sbncode/sbncode/BeamSpillInfoRetriever/getFOM.cpp
/scratch/workspace/sbnd_ci/label_exp/swarm/label_exp2/swarm/SBND/srcs/sbncode/sbncode/BeamSpillInfoRetriever/getFOM.cpp:8:10: fatal error: TH1D.H: No such file or directory
    8 | #include "TH1D.H"
      |          ^~~~~~~~
compilation terminated.

If you could take a look at this when you can, it would be much appreciated. Thanks!

@kjplows
Copy link
Contributor

kjplows commented Aug 25, 2025

trigger build ci_ref=v10_06_02 LArSoft/lar*@LARSOFT_SUITE_v10_09_00 SBNSoftware/sbncode@v10_09_00 SBNSoftware/sbnalg@v10_09_00 SBNSoftware/sbnobj#135 SBNSoftware/sbnanaobj#146 SBNSoftware/sbndaq_artdaq_core@v1_10_06 SBNSoftware/sbndata@v01_07 SBNSoftware/sbndutil@v10_06_00_02 SBNSoftware/sbnd_data@v01_34_00

@FNALbuild
Copy link

✔️ CI build for LArSoft Succeeded on slf7 for e26:prof -- details available through the CI dashboard

@FNALbuild
Copy link

❌ CI build for ICARUS Failed at phase build ICARUS on slf7 for e26:prof -- details available through the CI dashboard

🚨 For more details about the failed phase, check the build ICARUS phase logs

parent CI build details are available through the CI dashboard

@FNALbuild
Copy link

❌ CI build for SBND Failed at phase build SBND on slf7 for e26:prof -- details available through the CI dashboard

🚨 For more details about the failed phase, check the build SBND phase logs

parent CI build details are available through the CI dashboard

@FNALbuild
Copy link

✔️ CI build for LArSoft Succeeded on slf7 for c14:prof -- details available through the CI dashboard

@FNALbuild
Copy link

❌ CI build for ICARUS Failed at phase build ICARUS on slf7 for c14:prof -- details available through the CI dashboard

🚨 For more details about the failed phase, check the build ICARUS phase logs

parent CI build details are available through the CI dashboard

@FNALbuild
Copy link

❌ CI build for SBND Failed at phase build SBND on slf7 for c14:prof -- details available through the CI dashboard

🚨 For more details about the failed phase, check the build SBND phase logs

parent CI build details are available through the CI dashboard

@kjplows
Copy link
Contributor

kjplows commented Aug 25, 2025

trigger build ci_ref=v10_06_02 LArSoft/lar*@LARSOFT_SUITE_v10_09_00 SBNSoftware/sbnobj#135 SBNSoftware/sbnanaobj#146

@FNALbuild
Copy link

✔️ CI build for LArSoft Succeeded on slf7 for c14:prof -- details available through the CI dashboard

@FNALbuild
Copy link

✔️ CI build for LArSoft Succeeded on slf7 for e26:prof -- details available through the CI dashboard

@FNALbuild
Copy link

❌ CI build for ICARUS Failed at phase build ICARUS on slf7 for c14:prof -- details available through the CI dashboard

🚨 For more details about the failed phase, check the build ICARUS phase logs

parent CI build details are available through the CI dashboard

@FNALbuild
Copy link

❌ CI build for SBND Failed at phase build SBND on slf7 for c14:prof -- details available through the CI dashboard

🚨 For more details about the failed phase, check the build SBND phase logs

parent CI build details are available through the CI dashboard

@FNALbuild
Copy link

⚠️ CI build for SBND Warning at phase ci_tests SBND on slf7 for e26:prof - ignored warnings for build -- details available through the CI dashboard

🚨 For more details about the warning phase, check the ci_tests SBND phase logs

parent CI build details are available through the CI dashboard

@FNALbuild
Copy link

❌ CI build for ICARUS Failed at phase ci_tests ICARUS on slf7 for e26:prof - ignored warnings for build -- details available through the CI dashboard

🚨 For more details about the failed phase, check the ci_tests ICARUS phase logs

parent CI build details are available through the CI dashboard

Copy link
Member

@jacoblarkin jacoblarkin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good from my side and doesn't seem to affect anything ICARUS related. At some point we should test this implementation of the FOM with ICARUS as well, but that's not necessary to approve this.

@kjplows kjplows moved this from Open pull requests to To merge in SBN software development Aug 27, 2025
@kjplows kjplows merged commit 6b45afc into develop Sep 12, 2025
3 of 6 checks passed
@github-project-automation github-project-automation bot moved this from To merge to Done in SBN software development Sep 12, 2025
@kjplows kjplows moved this from Done to Recently done in SBN software development Sep 12, 2025
@kjplows kjplows moved this from Recently done to Done in SBN software development Sep 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

8 participants