-
Notifications
You must be signed in to change notification settings - Fork 43
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
Migration to the Refactored LArG4 #134
Conversation
Renames the current standard_g4_sbnd.fcl to legacy_g4_sbnd.fcl, as well as the simulationservices_sbnd.fcl and largeantmodules_sbnd.fcl.
Renames the current standard_detsim_sbnd.fcl to legacy_detsim_sbnd.fcl, and adds legacy configurations to detsimmodules_sbnd.fcl and opdetdigitizer_sbnd.fcl.
fcls added: - standard_g4_sbnd.fcl: Standard G4 fcl that now runs the refactored larg4 - standard_detsim_sbnd.fcl: Standard detsim fcl compatible with the standard_g4_sbnd.fcl above - larg4_sbnd.fcl: Configuration fcl for the new larg4 - larg4_services_sbnd.fcl: Services configuration for the new larg4 - ionandscint_sbnd.fcl: Configuration fcl for the IonizationAndScintillation module - simdrift_sbnd.fcl: Configuration fcl for the electron drift simulation module - simulationservices_sbnd.fcl: Updated simulation services for the new larg4
- Add a legacy folder inside the g4 one to store all the legacy g4 files - Move legacy_detsim_sbnd.fcl and legacy_g4_sbnd.fcl to the legacy/ folder - Create a legacy/others/ folder for all the others g4 legacy fcls
…volPDSstructure, and volTPCPlaneVert
This directory contains: - PhysicsLists/: which contains physics lists for SBND - PhysListLoader_module.cc: a dummy module to load physics lists - ionandscint_sbnd.fcl, larg4_sbnd.fcl, larg4_services_sbnd.fcl, legacy_largeantmodules_sbnd.fcl, legacy_simulationservices_sbnd.fcl, mcreco_sbnd.fcl, simdrift_sbnd.fcl: configuration fcl files
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.
I just had two little questions, otherwise I approve this!
trigger build |
CI build for LArSoft on slf7 for e20:prof is in progress -- details available through the CI dashboard |
CI build for LArSoft on slf7 for c7:prof is in progress -- details available through the CI dashboard |
✔️ CI build for LArSoft Succeeded on slf7 for e20:prof -- details available through the CI dashboard |
✔️ CI build for LArSoft Succeeded on slf7 for c7:prof -- details available through the CI dashboard |
CI build for SBND on slf7 for e20:prof is in progress -- details available through the CI dashboard parent CI build details are available through the CI dashboard |
CI build for SBND on slf7 for c7:prof is in progress -- details available through the CI dashboard parent CI build details are available through the CI dashboard |
❌ CI build for SBND Failed at phase ci_tests SBND on slf7 for c7:prof - ignored warnings for build -- details available through the CI dashboard 🚨 For more details about the failed phase, check the ci_tests SBND phase logs parent CI build details are available through the CI dashboard |
❌ CI build for SBND Failed at phase ci_tests SBND on slf7 for e20:prof - ignored warnings for build -- details available through the CI dashboard 🚨 For more details about the failed phase, check the ci_tests SBND phase logs parent CI build details are available through the CI dashboard |
trigger build |
CI build for LArSoft on slf7 for c7:prof is in progress -- details available through the CI dashboard |
CI build for LArSoft on slf7 for e20:prof is in progress -- details available through the CI dashboard |
✔️ CI build for LArSoft Succeeded on slf7 for c7:prof -- details available through the CI dashboard |
✔️ CI build for LArSoft Succeeded on slf7 for e20:prof -- details available through the CI dashboard |
CI build for SBND on slf7 for e20:prof is in progress -- details available through the CI dashboard parent CI build details are available through the CI dashboard |
CI build for SBND on slf7 for c7:prof is in progress -- details available through the CI dashboard parent CI build details are available through the CI dashboard |
❌ CI build for SBND Failed at phase ci_tests SBND on slf7 for c7:prof - ignored warnings for build -- details available through the CI dashboard 🚨 For more details about the failed phase, check the ci_tests SBND phase logs parent CI build details are available through the CI dashboard |
❌ CI build for SBND Failed at phase ci_tests SBND on slf7 for e20:prof - ignored warnings for build -- details available through the CI dashboard 🚨 For more details about the failed phase, check the ci_tests SBND phase logs parent CI build details are available through the CI dashboard |
@marcodeltutto can you have a look over the CI test results above, are these expected? there are two failures (the detsim stage for each test) |
I'm worried these are not expected errors:
Looks like a bad fhicl? |
As far as I understand it the CI tests that are failing are doing so because they are trying to run DetSim over the reference files, but since G4 changed I don't think that this should work since there are data products missing. From my reading of these test outputs we should be OK. Once this is merged we should update the reference files immediately. |
Issue #149 filed to capture this. |
This PR contains all the necessary fcls and code to migrate to the new LArG4.
Changes are presented on docdb 22944.
Note that with this PR, the
standard_g4_sbnd.fcl
will run the new LArG4. To run the legacy larg4, fcllegacy_g4_sbnd.fcl
should be used. All theg4_*.fcl
files run the new LArG4. To run the legacy LArG4, replaceg4_*.fcl
withlegacy_g4_*.fcl
.All the legacy g4 fcl files are in
JobConfigurations/standard/g4/legacy/*
A new folder called
LArG4
is added. This contains all the g4-related fcl configuration, as well as the physics list to be used inLArG4/PhysicsLists/
. In thisLArG4
folder:larg4_sbnd.fcl
: Configuration of the LArG4 modulelarg4_services_sbnd.fcl
: Configurations needed for the new LArG4ionandscint_sbnd.fcl
: Configuration for the ionization and scintillation partsimdrift_sbnd.fcl
: Configuration for the electron drifting modulemcreco_sbnd.fcl
: Configuration for MC reconstructionPhysicsListLoader
: a dummy module to load the physics list, needed before running LArG4To run with the optical hybrid mode, fcl file
g4_ophybrid_sbnd.fcl
can be used in place ofstandard_g4_sbnd.fcl
.Open Items
CRT part. -> Waiting for PR to be opened.FHICL files
Suggested reviewer: @jzennamo
Standard fcls now run the new larg4. All the legacy fcls are in
sbndcode/JobConfigurations/standard/g4/legacy/
, and similar fordetsim
.Optical
Suggested reviewer: @ggamezdiego
sbndcode/JobConfigurations/standard/standard_g4_sbnd.fcl
: Runs in optical hybrid mode by default.sbndcode/LArSoftConfigurations/photpropservices_sbnd.fcl
: Adds optical library for light outside the active volume.sbndcode/LArSoftConfigurations/PDFastSim_sbnd.fcl
: Configuration for semi-analytical and optical library.sbndcode/LArG4/larg4_services_sbnd.fcl
: Specifies the LArG4 detector to use for the optical hybrid mode.sbndcode/JobConfigurations/standard/g4/g4_noophybrid_sbnd.fcl
: Same as standard_g4_sbnd.fcl, but without the optical hybrid part.CRT
CRT will be included next. Right now, this PR excludes the CRT from the detsim stage. Issue #143 has been opened to track this.
Known Issues
SimDriftElectrons
of type[...] unable to drift electrons from point [...]
when electrons are drifted from points outside the active volume. LArSoft issue 26107.g4_simphotontime_filter.fcl
will have to be reviewed to make sure the in-time and out-time paths are both running correctly. Issue Check Gen and G4 InTime FHiCLs with Refactored LArG4 #147 was opened to keep track of this issue.