Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
85 commits
Select commit Hold shift + click to select a range
0a3327e
The gauss hit finder operating on ChannelROIs has moved to sbncode, a…
SFBayLaser Apr 22, 2025
1299cd6
Update SkipTesting list.
gputnam May 8, 2025
3892936
Ignore another fcl.
gputnam May 12, 2025
96ef753
Remove path in new configs in SkipTesting.txt
gputnam May 12, 2025
39a1d13
Reorganize standard fcls. Update to new MC path. Add in overlay path.
gputnam May 16, 2025
18ad6e5
Fhicl file to convert ChannelROIs back into Wires
gputnam May 16, 2025
98c1bda
Get non-YZ detsim configs working. Add in overlay option to non-YZ sim.
gputnam May 17, 2025
727886b
Tune sim-reco timing offsets to 2D deconv.
gputnam May 17, 2025
7eb581e
Add gpus configs
nathanielerowe May 20, 2025
06ebe14
Revert "Add gpus configs"
nathanielerowe May 20, 2025
5886034
Update stage0_icarus_defs.fcl
nathanielerowe May 20, 2025
8fc2563
Create wcls-decode-to-sig-twofaced-dnnroi-gpu.jsonnet
nathanielerowe May 20, 2025
ec14705
Add partial fcls back into icaruscode
gputnam May 21, 2025
edf6afb
Delete icaruscode/TPC/ICARUSWireCell/icarus/wcls-decode-to-sig-twofac…
nathanielerowe May 25, 2025
ccf9353
Update stage0_run2_wcdnn_icarus_overlay.fcl
nathanielerowe May 25, 2025
ed6e1bc
Create stage0_run2_wcdnn_gpu_icarus.fcl
nathanielerowe May 25, 2025
23159ac
Update stage0_icarus_defs.fcl
nathanielerowe May 25, 2025
c2048c7
Prune simChannelROI from 1D SP fcl.
gputnam May 30, 2025
629cc2f
Simple detsim jsonnet bugfix.
gputnam May 30, 2025
47799ff
Remove mcreco from CAF stage.
gputnam Jun 1, 2025
2b624c7
Stage1+CAF configs for non-YZ detsim.
gputnam Jun 1, 2025
063bb18
Ignore mcreco logging.
gputnam Jun 1, 2025
6a61dd2
Correctly disable mcreco logging.
gputnam Jun 4, 2025
e018e64
Disable pusle trains.
gputnam Jun 17, 2025
cde48b6
Move from overlay to mc
nathanielerowe Jun 17, 2025
1e49db7
Fixup GPU enabled WC DNN configs. Move cpu setting into default fcl.
gputnam Jun 18, 2025
6f4833d
keep PMT waveforms in stage and add fcl to drop them later
cerati Jun 23, 2025
a2a8dac
no additional timestamp in file name
cerati Jun 23, 2025
14e2539
Inject services necessary for metadata generation in production.
gputnam Jul 1, 2025
f79ef9a
Update overlay reco to use same calibrations as data reco.
gputnam Jul 31, 2025
f341792
Update calibrations for 2D+DNN signal processing for Run 2.
gputnam Jul 31, 2025
e5a4944
Update reco1 processing chain. Pandora gets hits with 'long hits', co…
gputnam Jul 31, 2025
2b49df2
Tune transverse diffusion constant.
gputnam Jul 31, 2025
19450ba
Tune MC gain and sim-reco timing offsets.
gputnam Jul 31, 2025
f5e1b9b
Fix stage0 mc no trigger simulation fcl file.
gputnam Jul 31, 2025
7c19744
Update to new YZ gain map.
gputnam Aug 1, 2025
948db15
Revert "Tune transverse diffusion constant."
gputnam Aug 1, 2025
912fd9c
MC gain fine tuning.
gputnam Aug 4, 2025
5657d7b
Set reco gain values.
gputnam Aug 4, 2025
23cd656
Remove CaloConst override in CAF.
gputnam Aug 6, 2025
fa05fae
Put supera config in icaruscode with correct SimChannel input. Overri…
gputnam Aug 11, 2025
9e32012
Add in overlay supera config with correct CRT label.
gputnam Aug 12, 2025
26db5d0
Set overload path correctly...
gputnam Aug 12, 2025
1d8fea3
Fixes to overlay CAF files. Use correct truth labels. Don't blind ove…
gputnam Sep 3, 2025
2f7d9e7
GENIE gen config with fiducial cut.
gputnam Sep 3, 2025
f223785
Fix output supera CRT hit label.
gputnam Sep 3, 2025
77a91e7
Update products to save. Keep DAQ CRT hits and PMT waveforms. Drop MC…
gputnam Sep 10, 2025
41b67f3
Put product update into 1D SP stage0 reco.
gputnam Sep 10, 2025
11c3361
Use correct CRT Hit label in CAF making.
gputnam Sep 15, 2025
10d0830
New fcl files to enable Overlay pathway for Wiremod sample.
gputnam Sep 15, 2025
74274d6
Add geant4 into CAFMaker defs
Jul 27, 2024
7024e78
Add G4Rewight configs to cafmaker
Sep 18, 2025
b365964
Mash G4RW into all systtools cafmakerjobs
Sep 23, 2025
2de399d
Fix hit labels for new hit merging.
gputnam Sep 30, 2025
f1bbaf5
Set correct CRTSimChannel override for refactored detsim.
gputnam Sep 30, 2025
d2d7131
Update standard overlay+data reco fcl files to 2D SP.
gputnam Sep 30, 2025
7bf6ac7
This commit re-introduces CRTData in Stage0.
Oct 2, 2025
8a87711
update pmt tags
mvicenzi Oct 26, 2025
2c98286
fix to stage1 1D deconvolution
francescopoppi Oct 27, 2025
6eb8f38
removal of keepup fcl, changed icarus_filter1D_cluster3D to original.
francescopoppi Oct 28, 2025
b451eb3
stage1_run2_1d_icarus updated to work with Cluster3D
francescopoppi Oct 28, 2025
40b6403
stage1_run2_1d_icarus, fix typo
francescopoppi Oct 28, 2025
4cffa60
tested and works. caloskimE/W are analyzers, not producers.
Oct 28, 2025
504c507
BugFix: If CRTData are not present, hitTreeun number and subRun numbe…
francescopoppi Oct 28, 2025
a1f74b7
The code was fairly unreadable. Added indentention for readibility an…
francescopoppi Oct 28, 2025
6103eb2
This commit does the following things: a) it fixes an issue/typo wher…
Oct 31, 2025
01eb18a
Add in option to control YZMap+Electron lifetime DB from fcl. Add in …
gputnam Nov 5, 2025
2a9b5d1
Update TPC calibration to tag including 2D-based Run2+4 calibrations.
gputnam Nov 5, 2025
1636e15
Add in option to override scaler json file. Correct which json file i…
gputnam Nov 7, 2025
57984aa
Bump TPC channel status DB version
gputnam Nov 11, 2025
0cd0102
Update SPINE to use 10 hits per pulse train.
gputnam Nov 24, 2025
0aef548
addressed requests from reviewers. sequences: icarus_East/WestHits_TP…
francescopoppi Nov 25, 2025
2e9d1b1
Update PMT GlobalTags to Oct2025, which is the latest tag used by SBN…
jas1005 Apr 14, 2026
9cc6c09
New fcl configurations and modules to enable Dirt Overlay configurati…
gputnam Apr 13, 2026
74bca3f
Update CI FHiCL by using a set of standard FHiCLs
vitodb Nov 14, 2025
c40dc31
Disable SkipTrackIDOffsets param
vitodb Nov 19, 2025
fbc463a
For intimecosmic g4 override EnergyDepositInstanceLabels
vitodb Nov 21, 2025
4db8dad
Remove override of parameters that are already included in other upst…
vitodb Dec 3, 2025
170a905
Add in double ampersand, add a few fixes.
gputnam Apr 17, 2026
4605dce
Fix iarus --> icarus type in file name.
jas1005 Apr 23, 2026
0e3d0e5
Update CRTDataAnalysis_module.cc
francescopoppi Apr 26, 2026
09b31bf
Change instances of 'NormalizeTPC' to 'NormalizeTPCPerPlane' in the N…
jas1005 Apr 27, 2026
e379524
Fix documentation typo.
jas1005 Apr 28, 2026
3e72614
Add details on where to find info on why icarus_data_calconst was cha…
jas1005 Apr 28, 2026
dbb8aa0
Use correct variable (err) for error checking,
gputnam May 8, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 0 additions & 13 deletions fcl/caf/cafmaker_add_detsim2d_icarus.fcl
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,3 @@ physics.producers.cafmaker.SimChannelLabel: "merge" # 2D, YZ sim

# SimChannel's get re-made by 2D drift simulation -- use these to backtrack
services.BackTrackerService.BackTracker.SimChannelModuleLabel: "merge"

# MCReco also needs correct SimChannels
# need to use new config names to make MCParticle/SimChannel labels different
physics.producers.mcreco.G4ModName: @erase
physics.producers.mcreco.MCParticleLabel: "largeant"
physics.producers.mcreco.SimChannelLabel: "merge"

# Mini production, pre signal shape tuning
# this_cal_constants: [1.343e-2, 1.338e-2, 0.01227]
# Post signal shape tuning, post gain fixing
# See docdb 32139
this_cal_constants: [1.343e-2, 1.338e-2, 0.0128041]
#include "set_caf_calconst.fcl"
7 changes: 7 additions & 0 deletions fcl/caf/cafmaker_add_overlay_icarus.fcl
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
physics.producers.cafmaker.CRTHitLabel: overlayCRTHit

services.BackTrackerService.BackTracker.OverrideRealData: true
services.ParticleInventoryService.ParticleInventory.OverrideRealData: true

physics.producers.cafmaker.OverrideRealData: true
physics.producers.cafmaker.CreateBlindedCAF: false
15 changes: 8 additions & 7 deletions fcl/caf/cafmaker_defs.fcl
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#include "eventweight_genie_sbn.fcl"
#include "eventweight_genie_systtools.fcl"
#include "eventweight_flux_sbn.fcl"
#include "mcreco.fcl"
#include "eventweight_geant4_sbn.fcl"
#include "mcsproducer.fcl"
#include "rangeproducer.fcl"
#include "flashmatch_simple_icarus.fcl"
Expand Down Expand Up @@ -87,8 +87,6 @@ recoana_datacalo_producers.vertexStubCryoW.NormTools: @local::icarus_calonormtoo

# Producers for making analysis level products
recoana_caf_preprocess_producers: {
mcreco: @local::standard_mcreco

pandoraTrackMCSCryoE: @local::mcs_sbn
pandoraTrackMCSCryoW: @local::mcs_sbn

Expand All @@ -105,6 +103,7 @@ recoana_caf_preprocess_producers: {
genieweight: @local::sbn_eventweight_genie
systtools: @local::sbn_systtools
fluxweight: @local::sbn_eventweight_flux
geant4weight: @local::sbn_eventweight_geant4
}

# Overwrite labels
Expand All @@ -124,6 +123,7 @@ recoana_caf_preprocess_producers.pandoraPidGausCryoW.CalorimetryModuleLabel: "pa

recoana_caf_preprocess_producers.genieweight.weight_functions: @local::recoana_caf_preprocess_producers.genieweight.weight_functions_genie
recoana_caf_preprocess_producers.fluxweight.weight_functions: @local::recoana_caf_preprocess_producers.fluxweight.weight_functions_flux
recoana_caf_preprocess_producers.geant4weight.weight_functions: @local::recoana_caf_preprocess_producers.geant4weight.weight_functions_reint

# Producers for making SCE products
recoana_sce_producers: {
Expand Down Expand Up @@ -228,7 +228,7 @@ caf_preprocess_sce_producers: {
}

# Sequences
caf_preprocess_sequence: [ mcreco,
caf_preprocess_sequence: [
# Calorimetry
pandoraCaloGausCryoE, pandoraCaloGausCryoW,
pandoraPidGausCryoE, pandoraPidGausCryoW,
Expand Down Expand Up @@ -256,9 +256,9 @@ caf_preprocess_data_sequence: [
ShowerCosmicDistCryoE, ShowerCosmicDistCryoW
]

caf_preprocess_evtw_sequence: [@sequence::caf_preprocess_sequence, rns, genieweight, fluxweight]
caf_preprocess_evtw_sequence: [@sequence::caf_preprocess_sequence, rns, genieweight, fluxweight, geant4weight]

caf_preprocess_sce_sequence: [ mcreco,
caf_preprocess_sce_sequence: [
# Run the SCE correction
pandoraGausSCECryoE, pandoraGausSCECryoW,
# Then remake tracks
Expand All @@ -278,7 +278,7 @@ caf_preprocess_sce_sequence: [ mcreco,
# TODO: rns??
]

caf_preprocess_sce_evtw_sequence: [@sequence::caf_preprocess_sce_sequence, rns, genieweight, fluxweight]
caf_preprocess_sce_evtw_sequence: [@sequence::caf_preprocess_sce_sequence, rns, genieweight, fluxweight, geant4weight]

# CAFMaker config
cafmaker: @local::standard_cafmaker
Expand Down Expand Up @@ -313,6 +313,7 @@ cafmaker.OpFlashLabel: "opflash"
# cafmaker.TriggerLabel: "daqTrigger" # see also https://github.com/SBNSoftware/icaruscode/issues/556
cafmaker.TriggerLabel: "emuTrigger"
cafmaker.UnshiftedTriggerLabel: "emuTriggerUnshifted"
cafmaker.CRTSimChanLabel: "shifted"
cafmaker.FlashTrigLabel: "" # unavailable
cafmaker.SimChannelLabel: "largeant"
cafmaker.SystWeightLabels: ["genieweight", "fluxweight"]
Expand Down
9 changes: 5 additions & 4 deletions fcl/caf/cafmakerjob_icarus_detsim2d_overlay.fcl
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#include "cafmakerjob_icarus.fcl"
#include "cafmaker_add_detsim2d_icarus.fcl"

services.BackTrackerService.BackTracker.OverrideRealData: true
services.ParticleInventoryService.ParticleInventory.OverrideRealData: true
# overwrite the producers to use data versions
physics.producers: @local::caf_preprocess_data_producers
physics.runprod: [ @sequence::caf_preprocess_data_sequence, cafmaker]

physics.producers.cafmaker.OverrideRealData: true
#include "cafmaker_add_detsim2d_icarus.fcl"
#include "cafmaker_add_overlay_icarus.fcl"
4 changes: 4 additions & 0 deletions fcl/caf/cafmakerjob_icarus_detsim2d_overlay_simpledet.fcl
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#include "cafmakerjob_icarus_detsim2d_overlay.fcl"

physics.producers.cafmaker.SimChannelLabel: "daq:simpleSC"
services.BackTrackerService.BackTracker.SimChannelModuleLabel: "daq:simpleSC"
4 changes: 4 additions & 0 deletions fcl/caf/cafmakerjob_icarus_detsim2d_simpledet.fcl
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#include "cafmakerjob_icarus_detsim2d.fcl"

physics.producers.cafmaker.SimChannelLabel: "daq:simpleSC"
services.BackTrackerService.BackTracker.SimChannelModuleLabel: "daq:simpleSC"
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
#include "cafmakerjob_icarus_detsim2d_systtools_and_fluxwgt.fcl"

services.BackTrackerService.BackTracker.OverrideRealData: true
services.ParticleInventoryService.ParticleInventory.OverrideRealData: true
physics.producers.cafmaker.OverrideRealData: true
# overwrite the producers to use data versions
physics.producers: @local::caf_preprocess_data_producers
physics.runprod: [ @sequence::caf_preprocess_data_sequence, rns, systtools, geant4weight, fluxweight, cafmaker]

physics.producers.cafmaker.SystWeightLabels: ["systtools", "geant4weight", "fluxweight"]

#include "cafmaker_add_detsim2d_icarus.fcl"
#include "cafmaker_add_overlay_icarus.fcl"
4 changes: 2 additions & 2 deletions fcl/caf/cafmakerjob_icarus_sce_systtools.fcl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include "cafmakerjob_icarus_sce.fcl"

physics.runprod: [ @sequence::caf_preprocess_sce_sequence, rns, systtools, cafmaker ]
physics.runprod: [ @sequence::caf_preprocess_sce_sequence, rns, systtools, geant4weight, cafmaker ]

physics.producers.cafmaker.SystWeightLabels: ["systtools"]
physics.producers.cafmaker.SystWeightLabels: ["systtools", "geant4weight"]

4 changes: 2 additions & 2 deletions fcl/caf/cafmakerjob_icarus_sce_systtools_and_fluxwgt.fcl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include "cafmakerjob_icarus_sce.fcl"

physics.runprod: [ @sequence::caf_preprocess_sce_sequence, rns, systtools, fluxweight, cafmaker ]
physics.runprod: [ @sequence::caf_preprocess_sce_sequence, rns, systtools, geant4weight, fluxweight, cafmaker ]

physics.producers.cafmaker.SystWeightLabels: ["systtools", "fluxweight"]
physics.producers.cafmaker.SystWeightLabels: ["systtools", "geant4weight", "fluxweight"]

4 changes: 2 additions & 2 deletions fcl/caf/cafmakerjob_icarus_systtools.fcl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include "cafmakerjob_icarus.fcl"

physics.runprod: [ @sequence::caf_preprocess_sequence, rns, systtools, cafmaker ]
physics.runprod: [ @sequence::caf_preprocess_sequence, rns, systtools, geant4weight, cafmaker ]

physics.producers.cafmaker.SystWeightLabels: ["systtools"]
physics.producers.cafmaker.SystWeightLabels: ["systtools", "geant4weight"]

4 changes: 2 additions & 2 deletions fcl/caf/cafmakerjob_icarus_systtools_and_fluxwgt.fcl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include "cafmakerjob_icarus.fcl"

physics.runprod: [ @sequence::caf_preprocess_sequence, rns, systtools, fluxweight, cafmaker ]
physics.runprod: [ @sequence::caf_preprocess_sequence, rns, systtools, geant4weight, fluxweight, cafmaker ]

physics.producers.cafmaker.SystWeightLabels: ["systtools", "fluxweight"]
physics.producers.cafmaker.SystWeightLabels: ["systtools", "geant4weight", "fluxweight"]

4 changes: 2 additions & 2 deletions fcl/configurations/calibration_database_GlobalTags_icarus.fcl
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
BEGIN_PROLOG

ICARUS_Calibration_GlobalTags: {
@table::TPC_CalibrationTags_Jan2025
@table::PMT_CalibrationTags_Run3_Feb2025
@table::TPC_CalibrationTags_Oct2025
@table::PMT_CalibrationTags_Oct2025
@table::CRT_CalibrationTags_Oct2023
}

Expand Down
22 changes: 22 additions & 0 deletions fcl/configurations/calibration_database_PMT_TagSets_icarus.fcl
Original file line number Diff line number Diff line change
Expand Up @@ -79,4 +79,26 @@ PMT_CalibrationTags_Run3_Feb2025: {
# Run 3: run>=11590
}

# These are the standard tags for analyses on Run 1, Run 2, Run 3 and Run 4 data (as of Oct 2025)
# These tagged versions of the databases contain tables relevant for Run 1, Run 2, Run 3 and Run 4.
# Notes:
# - New cosmics corrections for Run 4 (run>=12837)
PMT_CalibrationTags_Oct2025: {
pmt_cables_delays_data: "v2r5" # tables for run>=0 (null)
# Run 1: run>=8046
# Run 2: run>=9301, run>=9628, run>=9773
# Run 3: run>=10369, run>=10441, run>=10865
# Run 4: run>=12040, run>=12455, run>=12777
pmt_laser_timing_data: "v2r3" # tables for run>=0 (null)
# Run 1: run>=8046
# Run 2: run>=9301, run>=9628, run>=9773
# Run 3: run>=10908, run>=11590
# Run 4: run>=12058, run>=12837
pmt_cosmics_timing_data: "v2r3" # tables for run>=0 (null)
# Run 1: run>=8046
# Run 2: run>=9301, run>=9628, run>=9773
# Run 3: run>=11590
# Run 4: run>=12837
}

END_PROLOG
22 changes: 22 additions & 0 deletions fcl/configurations/calibration_database_TPC_TagSets_icarus.fcl
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,26 @@ TPC_CalibrationTags_Jan2025: {

}

## TPC_CalibrationTags_Jul2025
# Update to 2D deconv tags. Change TPC equalization to be per-plane
TPC_CalibrationTags_Jul2025: {

tpc_channelstatus_data: "v3r4"
tpc_elifetime_data: "v3r0"
tpc_dqdxcalibration_allplanes_data: "v1r0"
tpc_yz_correction_allplanes_data: "v2r0"

}

## TPC_CalibrationTags_Oct2025
# Include Run 4 in calibrations
TPC_CalibrationTags_Oct2025: {

tpc_channelstatus_data: "v4r0"
tpc_elifetime_data: "v3r1"
tpc_dqdxcalibration_allplanes_data: "v1r1"
tpc_yz_correction_allplanes_data: "v2r1"

}

END_PROLOG
2 changes: 1 addition & 1 deletion fcl/detsim/detsim_2d_icarus_refactored.fcl
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ physics: {

crtdaq: @local::icarus_crtsim
opdaq: @local::icarus_simpmt
daq: @local::icarus_simwire_wirecell_filtersed
daq: @local::icarus_simwire_wirecell_shifted

rns: { module_type: "RandomNumberSaver" }
} # producers
Expand Down
3 changes: 3 additions & 0 deletions fcl/detsim/detsim_2d_icarus_refactored_overlay.fcl
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#include "detsim_2d_icarus_refactored.fcl"

physics.producers.daq: @local::icarus_simwire_wirecell_shifted_overlay
3 changes: 3 additions & 0 deletions fcl/detsim/detsim_2d_icarus_refactored_yzsim_Run4.fcl
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#include "detsim_2d_icarus_refactored_yzsim.fcl"

physics.producers.daq.wcls_main.params.YZScaleMapJson: "yzmap_gain_icarus_v4_run4.json"
3 changes: 3 additions & 0 deletions fcl/detsim/detsim_2d_icarus_refactored_yzsim_overlay_Run4.fcl
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#include "detsim_2d_icarus_refactored_yzsim_overlay.fcl"

physics.producers.daq.wcls_main.params.YZScaleMapJson: "yzmap_gain_icarus_v4_run4.json"
11 changes: 11 additions & 0 deletions fcl/g4/larg4_icarus_cosmics_sce_filterdirt.fcl
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#include "simenergydep_faketrigger_icarus.fcl"
#include "icarus_siminfomixer.fcl"
#include "larg4_icarus_cosmics.fcl"

physics.filters.dirtfilter: @local::icarus_simenergydepfaketriggerfilter
physics.producers.potinevent: @local::icarus_subrunpotinevent # so the sim info mixer can grab it

outputs.rootoutput.SelectEvents: [simulate]
physics.simulate: [@sequence::physics.simulate, potinevent, dirtfilter]

#include "enable_spacecharge_icarus.fcl"
8 changes: 8 additions & 0 deletions fcl/g4/larg4_icarus_cosmics_sce_filterwiremod.fcl
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#include "filter_wiremod_sbn.fcl"
#include "larg4_icarus_cosmics_sce.fcl"


# Insert the sim channel filter and only save events that pass it
physics.filters.requiresimchan: @local::filter_primary_simchan
physics.simulate: [@sequence::physics.simulate, "requiresimchan"]
outputs.rootoutput.SelectEvents: ["simulate"]
76 changes: 76 additions & 0 deletions fcl/gen/corsika/prodwiremod_icarus.fcl
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
#include "corsika_icarus.fcl"
#include "beamgates_icarus.fcl"
#include "services_common_icarus.fcl"
#include "services_icarus_simulation.fcl"
#include "wiremodmuon_sbn.fcl"

process_name: WireModMuon

services:
{
#FileCatalogMetadata: @local::art_file_catalog_mc
@table::icarus_gen_services
}

#Start each new event with an empty event.
source:
{
module_type: EmptyEvent
timestampPlugin: { plugin_type: "GeneratedEventTimestamp" }
maxEvents: 10 # Number of events to create
firstRun: 1 # Run number to use for this file
firstEvent: 1 # number of first event in the file
}

# Define and configure some modules to do work on each event.
# First modules are defined; they are scheduled later.
# Modules are grouped by type.
physics:
{

producers:
{
generator: {
@table::icarus_corsika_cmc
@table::wiremodmuon_icarus
}
beamgate: @local::icarus_standardbeamgate_BNB # from beamgates_icarus.fcl
rns: { module_type: "RandomNumberSaver" }
}

#define the producer and filter modules for this path, order matters,
#filters reject all following items. see lines starting physics.producers below
simulate: [ rns, generator, beamgate ]

#define the output stream, there could be more than one if using filters
stream1: [ out1 ]

#trigger_paths is a keyword and contains the paths that modify the art::event,
#ie filters and producers
trigger_paths: [simulate]

#end_paths is a keyword and contains the paths that do not modify the art::Event,
#ie analyzers and output streams. these all run simultaneously
end_paths: [stream1]
}

#block to define where the output goes. if you defined a filter in the physics
#block and put it in the trigger_paths then you need to put a SelectEvents: {SelectEvents: [XXX]}
#entry in the output stream you want those to go to, where XXX is the label of the filter module(s)
outputs:
{
out1:
{
module_type: RootOutput
fileName: "prodwiremod_standard_icarus_%tc-%p.root"
dataTier: "simulated"
compressionLevel: 1
fastCloning: false
saveMemoryObjectThreshold: 0
}
}

# Allow info messages from generator
# services.message.destinations.LogStandardOut.categories.WireModMuon.limit: 0

services.TFileService.fileName: "Supplemental-prodwiremod_standard_icarus_%tc-%p.root"
3 changes: 3 additions & 0 deletions fcl/gen/corsika/prodwiremod_icarus_overlays.fcl
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#include "prodwiremod_icarus.fcl"

#include "enable_overlay_gen.fcl"
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#include "simulation_genie_icarus_bnb_volDetEnclosure.fcl"

physics.producers.generator.FiducialCut: "mbox: -378.49,-191.86,-904.950652270838,378.49,144.96,904.950652270838"
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#include "filterMCTruthVolume.fcl"
#include "simulation_genie_icarus_bnb_volDetEnclosure.fcl"

# change "generator" to "mcgen"-- we'll have a filter module to replicate generator
physics.producers.mcgen: @local::physics.producers.generator
physics.producers.mcgen.TopVolume: "volWorld"
physics.producers.mcgen.FiducialCut: "rockbox:(-378.49,-191.86,-904.950652270838)(+378.49,+144.96,+904.950652270838),1,800,0.00425,1.3,1"
physics.producers.mcgen.FluxFiles: ["gsimple_bnb_neutrino_icarus_dirt_*.root"]
physics.producers.mcgen.FluxSearchPaths: "/cvmfs/sbn.osgstorage.org/pnfs/fnal.gov/usr/sbn/persistent/stash/physics-gputnam/icarus-bnb-dirt/"
physics.producers.generator: @erase

# Reject neutrino interactions inside volDetEnclosure
physics.filters.generator: @local::filtermctruthvolume

physics.simulate: [rns, mcgen, generator, beamgate]

outputs.rootoutput.outputCommands: [
"keep *_*_*_*",
"drop *_mcgen_*_*"
]
outputs.rootoutput.SelectEvents: ["simulate"]
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#include "simulation_genie_icarus_bnb_volDetEnclosure.fcl"

physics.producers.generator.TopVolume: "volWorld"
physics.producers.generator.FiducialCut: "rockbox:(-378.49,-191.86,-904.950652270838)(+378.49,+144.96,+904.950652270838),1,800,0.00425,1.3,1"
physics.producers.generator.FluxFiles: ["gsimple_bnb_neutrino_icarus_dirt_*.root"]
physics.producers.generator.FluxSearchPaths: "/cvmfs/sbn.osgstorage.org/pnfs/fnal.gov/usr/sbn/persistent/stash/physics-gputnam/icarus-bnb-dirt/"
Loading