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.
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
|
@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
|
jzennamo
left a comment
There was a problem hiding this comment.
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.fclas the main g4 fhiclstandard_detsim_sbnd.fclas the main detsim fhicl_scefhicls have been removed or renamed (this applies to both sim and reco configuration files)_litefiles have been removed, and the dropped products have been absorbed in thestandardfiles, since in the end this is what we are running, and having_litefiles duplicates the fhicls we need to maintain.New Standard Workflows
Central value (BNB + Cosmics)
prodgenie_corsika_proton_rockbox_sbnd.fclstandard_g4_rockbox_sbnd.fclstandard_detsim_sbnd.fclIntrinsic NuE + Cosmics
prodgenie_corsika_proton_intrnue_spill_tpc_sbnd.fclstandard_g4_sbnd.fclstandard_detsim_sbnd.fclCosmic Intime:
prodcorsika_proton_intime_sbnd.fclstandard_g4_intime_sbnd.fclstandard_detsim_sbnd.fclValidation
"Checked" means that
fhicl-dumpproduces the same output.BNB + Cosmics
prodoverlay_corsika_cosmics_proton_genie_rockbox_sce.fclprodgenie_corsika_proton_rockbox_sbnd.fclg4_sce_dirt_filter_lite.fclstandard_g4_rockbox_sbnd.fcldetsim_sbnd_lite.fclstandard_detsim_sbnd.fclIntrinsic NuE + Cosmics
prodoverlay_corsika_cosmics_proton_genie_intrnue_spill_tpc_sbnd.fclprodgenie_corsika_proton_intrnue_spill_tpc_sbnd.fclg4_sce_lite.fclstandard_g4_sbnd.fclIn-time Cosmics
prodcorsika_proton_intime_filter_sce.fclprodcorsika_proton_intime_sbnd.fclg4_sce_simphotontime_filter_lite.fclstandard_g4_intime_sbnd.fclOthers
prodoverlay_corsika_cosmics_proton_genie_rockbox_fullosc_sce.fclprodgenie_corsika_proton_rockbox_fullosc_sbnd.fclprodoverlay_corsika_cosmics_proton_genie_rockbox_intrnue_sbnd.fclprodgenie_corsika_proton_rockbox_intrnue_sbnd.fclprodoverlay_corsika_cosmics_proton_genie_rockbox_sce_keep_corsika_trajectories.fclprodgenie_corsika_proton_rockbox_keep_corsika_trajectories_sbnd.fclprodoverlay_corsika_cosmics_proton_genie_rockbox_sce_no_shower_rollup.fclprodgenie_corsika_proton_rockbox_no_shower_rollup_sbnd.fclprodoverlay_corsika_cosmics_cmc_genie_nu_spill_cryostat_sbnd.fclprodgenie_corsika_cmc_nu_spill_cryostat_sbnd.fclprodoverlay_corsika_cosmics_proton_genie_nu_spill_cryostat_sbnd.fclprodgenie_corsika_proton_nu_spill_cryostat_sbnd.fclprodoverlay_corsika_cosmics_cmc_genie_nu_spill_tpc_sbnd.fclprodgenie_corsika_cmc_nu_spill_tpc_sbnd.fclprodoverlay_corsika_cosmics_proton_dirtpropagation_sbnd.fclprodgibuu_corsika_proton_dirtpropagation_sbnd.fclprodoverlay_corsika_cosmics_proton_genie_nu_spill_tpc_sbnd.fclprodgenie_corsika_proton_nu_spill_tpc_sbnd.fclprodcorsika_proton_intime_filter.fclprodcorsika_proton_intime_sbnd.fclprodcorsika_proton_intime_filter_sce_no_shower_rollup.fclprodcorsika_proton_intime_sce_no_shower_rollup_sbnd.fclg4_sce_simphotontime_filter_no_shower_rollup.fclg4_intime_no_shower_rollup_sbnd.fclg4_sce_simphotontime_filter_no_shower_rollup_no_mcreco.fclg4_intime_no_shower_rollup_no_mcreco_sbnd.fclg4_sce_SaveCosmicMCReco.fclg4_SaveCosmicMCReco_sbnd.fclg4_sce_SaveCosmicMCReco_no_shower_rollup.fclg4_SaveCosmicMCReco_no_shower_rollup_sbnd.fclg4_sce_dirt_filter_no_shower_rollup.fclg4_rockbox_no_shower_rollup_sbnd.fcldetsim_sce.fclstandard_detsim_sbnd.fclprodcorsika_cosmics_cmc_eastwestcrt_mu_filter.fclprodcorsika_cosmics_cmc_eastwestcrt_mu_filter_sbnd.fclprodcorsika_cosmics_cmc.fclprodcorsika_cosmics_cmc_sbnd.fclprodcorsika_cosmics_cmc_filter.fclprodcorsika_cosmics_cmc_filter_sbnd.fclprodcorsika_cosmics_cmc_frontbackcrt_mu_filter.fclprodcorsika_cosmics_cmc_frontbackcrt_mu_filter_sbnd.fclprodcorsika_cosmics_proton_eastwestcrt_mu_filter.fclprodcorsika_cosmics_proton_eastwestcrt_mu_filter_sbnd.fclprodcorsika_cosmics_proton.fclprodcorsika_cosmics_proton_sbnd.fclprodcorsika_cosmics_proton_filter.fclprodcorsika_cosmics_proton_filter_sbnd.fclprodcorsika_cosmics_proton_frontbackcrt_mu_filter.fclprodcorsika_cosmics_proton_frontbackcrt_mu_filter_sbnd.fclprodcorsika_proton_intime_filter_sce_no_shower_rollup.fclprodcorsika_proton_intime_filter_no_shower_rollup_sbnd.fclprodcorsika_proton_intime_sbnd.fclprodcorsika_proton_intime_sbnd_sbnd.fclFixes #201, fixes #649, fixes #374, fixes #287.
Checklist
Reviewers,AssigneesDevelopementRelevant 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?