-
Notifications
You must be signed in to change notification settings - Fork 45
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
GENIE Rockbox Dirt Workflow #203
Conversation
2aafc41
to
9016cd4
Compare
# Select the beam spill time to match that in sbnd_filtergenintime | ||
BeamTimeMin: -0.2 # Minimum time of beam window [us] | ||
BeamTimeMax: 1.9 # Maximum time of beam window [us] | ||
EnergyDeposit: 100 # Minimum energy deposit in TPC for trigger [MeV] |
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.
In the future we should think if this is the best value for this, for now I am happy to proceed but we should open an issue to verify this is the optimal energy cut.
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 agree, I will do that once this has been merged.
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.
This is excellent! One question before I formally approve, has this been tested all the way through reco2 to make sure the full end-to-end workflows work with these events?
I have tested this end-to-end with an older release and am currently re-running through the validation now that everything has been updated to |
awesome, that is sufficient for me, but let us know how the |
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.
Thanks very much @etyley! Looks great
outputs.out1.outputCommands: [ "keep *_*_*_*" | ||
, "drop *_largeantnu_*_*" | ||
, "drop *_largeantcosmic_*_*" | ||
] |
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.
If PR #206 is approved, do you mind dropping the larg4 SimEnergyDeposits here too? Thanks!
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.
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.
@pgreen135 Done!
trigger build |
✔️ 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 |
🚨 For more details about the warning phase, check the ci_tests 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 |
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.
CI's look good, differences are unrelated to this.
trigger build |
✔️ 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 |
🚨 For more details about the warning phase, check the ci_tests 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 |
This PR adds fcls and filters required to generate dirt interactions using the GENIEHelper
RockBox
configuration, fixing #176.The structure of the added code is as follows:
Gen:
genie_sbnd
to contain the rockbox configurationprodgenie_rockbox_sbnd
as a base fcl for generating events. This saves any event with either a interaction in the TPC volume or a dirt interaction that deposits>100 MeV
in the TPC during the beam windowprodgenie_rockbox_intrnue_sbnd
version of this fcl for NuE only eventsprodoverlay_corsika_cosmics_proton_genie_rockbox_(intrnue_)sbnd.fcl
to add CORSIKA overlay to the GENIE fclsG4:
sbnd_merge_overlay_sim_sources
to manage the merging of thelargeant
instancesg4_dirt_filter.fcl
to run G4 withoutlargeant
as that is run in the gen stage of therockbox
fclsg4_dirt_overlay_filter.fcl
to runlargeant
over CORSIKA and merge the collection with the GENIElargeant
collection before running the remained of standard G4sce
versions of both of the abovelargeantCosmic
and the merging should be moved to theprodoverlay_rockbox
fcls so they can use theg4_dirt_filter
rather than having their own fcl.Filters:
SimEnergyDepFakeTriggerFilter
to utilise theSimEnergyDeposit
produced by the refactored larG4 to check the amount of energy deposited in the detector during the beam spill timesbnd_tpc_gennufilter
filter to check if a neutrino interaction occurs inside the TPC volumesplit_tpc_nu
fcl to run over input files and split into two output streams for those with/without a TPC interation.As of
v09_35_01
the relevant LArSoft changes have been merged and the necessary addition tosbnd_data
is done, so this PR is ready for review