-
Notifications
You must be signed in to change notification settings - Fork 49
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
Major Update to SBND FHiCL Files #663
Conversation
Just to say that this is great, and that in ICARUS we should do something that mirrors the result of this PR |
Absolutely smashed it there @marcodeltutto ! |
Ready now @absolution1! Yes, I apologize for the many files. I tried to split it in multiple PRs, but if I modify a file that is included in other 100 fcls...well, you get 100 modifies fcls... :( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Herculean effort there @marcodeltutto !
I think the vast majority of my comments are about a few fcls that are missing 'sbnd' from the name.
Some of the directories with fcls missing 'sbnd' in their name:
- crt_filter
- optical_sim
- recomb_variations
- modbox_variations
- genie/overlay fcls for the flux configs
sbndcode/JobConfigurations/standard/g4/crt_filter/g4_mu_crt_filter_base.fcl
Outdated
Show resolved
Hide resolved
sbndcode/JobConfigurations/standard/g4/crt_filter/g4_mu_eastwestcrt_filter.fcl
Outdated
Show resolved
Hide resolved
sbndcode/JobConfigurations/standard/g4/crt_filter/g4_mu_eastwestcrt_filter_sce.fcl
Outdated
Show resolved
Hide resolved
sbndcode/JobConfigurations/standard/g4/crt_filter/g4_mu_frontbackcrt_filter.fcl
Outdated
Show resolved
Hide resolved
sbndcode/JobConfigurations/standard/g4/optical_sim/g4_no_opticalsim.fcl
Outdated
Show resolved
Hide resolved
@absolution1 I consolidated the SCE config for sim and reco, and added |
I am taking a look at the unit test failures |
Hi @marcodeltutto , there are a few warnings / errors CIThe CI needs updated fcl names provided, see these errors for example
You should find the relevant files to edit here - https://github.com/SBNSoftware/sbndcode/tree/develop/test/ci CAFThere are many CAF differences, which could be related to needing to update the workflow. You can see all differences here - https://dbweb8.fnal.gov:8443/LarCI/app/ns:sbnd/storage/docs/2025/03/05/stdout%23wdnX6XB.log I suppose we need to update the CI before identifying the issues with other tests (including the CAF stage). |
Thanks @bear-is-asleep. I updated the fcl list. That one only checks the fcl integrity though. So the CAF error will persist. I think I know why, I will check and comment back again later |
In the latest CI tests, there are a few warnings: FHiCL ChecksThis is expected. They are related to:
G4 and DetSim StagesThis is expected. CAF StageDifferences appear to be on thruth matching variables. This is caused by having CAFMakes calls the thruth matcher, which uses the SpaceCharge service |
Regarding the CAF differences, they are all related to |
…leCalEfieldSCE in main spacecharge fcl. These parameters were set to false, but then are overrwritten to true in reco fcls (but not in the simulation fcls). Now, they are set to true by default so we can use a consistent configuration in sim and reco.
…of the SpaceCharge service
…now turned on by default
… simulation services
43322df
to
762d08f
Compare
✔️ CI build for LArSoft Succeeded on slf7 for e26:prof -- details available through the CI dashboard |
✔️ CI build for LArSoft Succeeded on slf7 for c14:prof -- details available through the CI dashboard |
❌ 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 |
🚨 For more details about the warning phase, check the ci_tests SBND phase logs parent CI build details are available through the CI dashboard |
Summary of CI Warnings fcl_checks
G4 Stage
Detsim Stage
CAF stage
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you Marco! I look forward to using these!
We should follow-up on the CAF error offline
Approved |
Description
This PR tries to clean up the simulation fhicls used in SBND. It does the following:
prodgenie_corsika_proton_rockbox_sbnd.fcl
.standard_g4_[...]_sbnd.fcl
as the main g4 fhiclstandard_detsim_sbnd.fcl
as the main detsim fhicl_sce
fhicls have been removed or renamed (this applies to both sim and reco configuration files)_lite
files have been removed, and the dropped products have been absorbed in thestandard
files, since in the end this is what we are running, and having_lite
files duplicates the fhicls we need to maintain.New Standard Workflows
Central value (BNB + Cosmics)
prodgenie_corsika_proton_rockbox_sbnd.fcl
standard_g4_rockbox_sbnd.fcl
standard_detsim_sbnd.fcl
Intrinsic NuE + Cosmics
prodgenie_corsika_proton_intrnue_spill_tpc_sbnd.fcl
standard_g4_sbnd.fcl
standard_detsim_sbnd.fcl
Cosmic Intime:
prodcorsika_proton_intime_sbnd.fcl
standard_g4_intime_sbnd.fcl
standard_detsim_sbnd.fcl
Validation
"Checked" means that
fhicl-dump
produces the same output.BNB + Cosmics
prodoverlay_corsika_cosmics_proton_genie_rockbox_sce.fcl
prodgenie_corsika_proton_rockbox_sbnd.fcl
g4_sce_dirt_filter_lite.fcl
standard_g4_rockbox_sbnd.fcl
detsim_sbnd_lite.fcl
standard_detsim_sbnd.fcl
Intrinsic NuE + Cosmics
prodoverlay_corsika_cosmics_proton_genie_intrnue_spill_tpc_sbnd.fcl
prodgenie_corsika_proton_intrnue_spill_tpc_sbnd.fcl
g4_sce_lite.fcl
standard_g4_sbnd.fcl
In-time Cosmics
prodcorsika_proton_intime_filter_sce.fcl
prodcorsika_proton_intime_sbnd.fcl
g4_sce_simphotontime_filter_lite.fcl
standard_g4_intime_sbnd.fcl
Others
prodoverlay_corsika_cosmics_proton_genie_rockbox_fullosc_sce.fcl
prodgenie_corsika_proton_rockbox_fullosc_sbnd.fcl
prodoverlay_corsika_cosmics_proton_genie_rockbox_intrnue_sbnd.fcl
prodgenie_corsika_proton_rockbox_intrnue_sbnd.fcl
prodoverlay_corsika_cosmics_proton_genie_rockbox_sce_keep_corsika_trajectories.fcl
prodgenie_corsika_proton_rockbox_keep_corsika_trajectories_sbnd.fcl
prodoverlay_corsika_cosmics_proton_genie_rockbox_sce_no_shower_rollup.fcl
prodgenie_corsika_proton_rockbox_no_shower_rollup_sbnd.fcl
prodoverlay_corsika_cosmics_cmc_genie_nu_spill_cryostat_sbnd.fcl
prodgenie_corsika_cmc_nu_spill_cryostat_sbnd.fcl
prodoverlay_corsika_cosmics_proton_genie_nu_spill_cryostat_sbnd.fcl
prodgenie_corsika_proton_nu_spill_cryostat_sbnd.fcl
prodoverlay_corsika_cosmics_cmc_genie_nu_spill_tpc_sbnd.fcl
prodgenie_corsika_cmc_nu_spill_tpc_sbnd.fcl
prodoverlay_corsika_cosmics_proton_dirtpropagation_sbnd.fcl
prodgibuu_corsika_proton_dirtpropagation_sbnd.fcl
prodoverlay_corsika_cosmics_proton_genie_nu_spill_tpc_sbnd.fcl
prodgenie_corsika_proton_nu_spill_tpc_sbnd.fcl
prodcorsika_proton_intime_filter.fcl
prodcorsika_proton_intime_sbnd.fcl
prodcorsika_proton_intime_filter_sce_no_shower_rollup.fcl
prodcorsika_proton_intime_sce_no_shower_rollup_sbnd.fcl
g4_sce_simphotontime_filter_no_shower_rollup.fcl
g4_intime_no_shower_rollup_sbnd.fcl
g4_sce_simphotontime_filter_no_shower_rollup_no_mcreco.fcl
g4_intime_no_shower_rollup_no_mcreco_sbnd.fcl
g4_sce_SaveCosmicMCReco.fcl
g4_SaveCosmicMCReco_sbnd.fcl
g4_sce_SaveCosmicMCReco_no_shower_rollup.fcl
g4_SaveCosmicMCReco_no_shower_rollup_sbnd.fcl
g4_sce_dirt_filter_no_shower_rollup.fcl
g4_rockbox_no_shower_rollup_sbnd.fcl
detsim_sce.fcl
standard_detsim_sbnd.fcl
prodcorsika_cosmics_cmc_eastwestcrt_mu_filter.fcl
prodcorsika_cosmics_cmc_eastwestcrt_mu_filter_sbnd.fcl
prodcorsika_cosmics_cmc.fcl
prodcorsika_cosmics_cmc_sbnd.fcl
prodcorsika_cosmics_cmc_filter.fcl
prodcorsika_cosmics_cmc_filter_sbnd.fcl
prodcorsika_cosmics_cmc_frontbackcrt_mu_filter.fcl
prodcorsika_cosmics_cmc_frontbackcrt_mu_filter_sbnd.fcl
prodcorsika_cosmics_proton_eastwestcrt_mu_filter.fcl
prodcorsika_cosmics_proton_eastwestcrt_mu_filter_sbnd.fcl
prodcorsika_cosmics_proton.fcl
prodcorsika_cosmics_proton_sbnd.fcl
prodcorsika_cosmics_proton_filter.fcl
prodcorsika_cosmics_proton_filter_sbnd.fcl
prodcorsika_cosmics_proton_frontbackcrt_mu_filter.fcl
prodcorsika_cosmics_proton_frontbackcrt_mu_filter_sbnd.fcl
prodcorsika_proton_intime_filter_sce_no_shower_rollup.fcl
prodcorsika_proton_intime_filter_no_shower_rollup_sbnd.fcl
prodcorsika_proton_intime_sbnd.fcl
prodcorsika_proton_intime_sbnd_sbnd.fcl
Fixes #201, fixes #649, fixes #374, fixes #287.
Checklist
Reviewers
,Assignees
Developement
Relevant PR links (optional)
Does this PR require merging another PR in a different repository (such as sbnanobj/sbnobj etc.)?
Link(s) to docdb describing changes (optional)
Is there a docdb describing the issue this solves or the feature added?