Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
97 commits
Select commit Hold shift + click to select a range
30c60b1
Updating dependencies
Apr 8, 2025
84f703d
Updating dependencies
Apr 21, 2025
08fcd01
The gauss hit finder operating on ChannelROIs has moved to sbncode, a…
SFBayLaser Apr 22, 2025
27b6b78
Updated icarus_data and sbncode dependencies
May 6, 2025
b0ba537
Fix fhicl bugs and update G4 config names.
gputnam May 8, 2025
36b81f1
Update SkipTesting list.
gputnam May 8, 2025
b29e832
Updating sbncode dependency
May 12, 2025
5ffe503
Ignore another fcl.
gputnam May 12, 2025
aa230b9
Remove path in new configs in SkipTesting.txt
gputnam May 12, 2025
2f0525a
Updating tag and dependencies for release
May 13, 2025
1551887
Reorganize standard fcls. Update to new MC path. Add in overlay path.
gputnam May 16, 2025
a095e2d
Fhicl file to convert ChannelROIs back into Wires
gputnam May 16, 2025
fef5977
Get non-YZ detsim configs working. Add in overlay option to non-YZ sim.
gputnam May 17, 2025
fd478dd
Tune sim-reco timing offsets to 2D deconv.
gputnam May 17, 2025
8c0136d
Add gpus configs
nathanielerowe May 20, 2025
a6805b1
Revert "Add gpus configs"
nathanielerowe May 20, 2025
8f6b363
Update stage0_icarus_defs.fcl
nathanielerowe May 20, 2025
36ad784
Create wcls-decode-to-sig-twofaced-dnnroi-gpu.jsonnet
nathanielerowe May 20, 2025
850a023
Add partial fcls back into icaruscode
gputnam May 21, 2025
cc9bd56
Updating version for CMake and ups dependencies
May 22, 2025
6c36b9c
Delete icaruscode/TPC/ICARUSWireCell/icarus/wcls-decode-to-sig-twofac…
nathanielerowe May 25, 2025
25ed5fa
Update stage0_run2_wcdnn_icarus_overlay.fcl
nathanielerowe May 25, 2025
b16ea59
Create stage0_run2_wcdnn_gpu_icarus.fcl
nathanielerowe May 25, 2025
29be32f
Update stage0_icarus_defs.fcl
nathanielerowe May 25, 2025
211f903
Prune simChannelROI from 1D SP fcl.
gputnam May 30, 2025
16636cf
Simple detsim jsonnet bugfix.
gputnam May 30, 2025
af17978
Remove mcreco from CAF stage.
gputnam Jun 1, 2025
870ecf7
Stage1+CAF configs for non-YZ detsim.
gputnam Jun 1, 2025
71e04e8
Ignore mcreco logging.
gputnam Jun 1, 2025
73b9961
Correctly disable mcreco logging.
gputnam Jun 4, 2025
3dc5615
Disable pusle trains.
gputnam Jun 17, 2025
02ae7a8
Move from overlay to mc
nathanielerowe Jun 17, 2025
6311443
Updating version
Jun 18, 2025
b293dca
Fixup GPU enabled WC DNN configs. Move cpu setting into default fcl.
gputnam Jun 18, 2025
c169b76
Updating the package version
Jun 18, 2025
2a3ce4f
keep PMT waveforms in stage and add fcl to drop them later
cerati Jun 23, 2025
efe6520
no additional timestamp in file name
cerati Jun 23, 2025
577da27
Updated CMake tag for icarus release
Jun 23, 2025
04194fb
Inject services necessary for metadata generation in production.
gputnam Jul 1, 2025
6f6e6f2
Updating CMake tag
Jul 1, 2025
9e34864
Update overlay reco to use same calibrations as data reco.
gputnam Jul 31, 2025
cf147dd
Update calibrations for 2D+DNN signal processing for Run 2.
gputnam Jul 31, 2025
9acee10
Update reco1 processing chain. Pandora gets hits with 'long hits', co…
gputnam Jul 31, 2025
e4f996b
Tune transverse diffusion constant.
gputnam Jul 31, 2025
6bc393a
Tune MC gain and sim-reco timing offsets.
gputnam Jul 31, 2025
24270ba
Fix stage0 mc no trigger simulation fcl file.
gputnam Jul 31, 2025
2ab066e
Update to new YZ gain map.
gputnam Aug 1, 2025
124bec2
Revert "Tune transverse diffusion constant."
gputnam Aug 1, 2025
3e117bb
MC gain fine tuning.
gputnam Aug 4, 2025
95be875
Set reco gain values.
gputnam Aug 4, 2025
202fed7
Update CMake and product dependency
Aug 4, 2025
b52c99c
Corrected icarusalg version
Aug 4, 2025
27c43aa
Remove CaloConst override in CAF.
gputnam Aug 6, 2025
798f36c
Tag for production release
Aug 7, 2025
527aaa0
Put supera config in icaruscode with correct SimChannel input. Overri…
gputnam Aug 11, 2025
c9238a7
Add in overlay supera config with correct CRT label.
gputnam Aug 12, 2025
ad8f8d4
Set overload path correctly...
gputnam Aug 12, 2025
b6d0788
CMake tag for release
Aug 13, 2025
047e425
Fixes to overlay CAF files. Use correct truth labels. Don't blind ove…
gputnam Sep 3, 2025
e4a1d5e
GENIE gen config with fiducial cut.
gputnam Sep 3, 2025
eb9be52
Fix output supera CRT hit label.
gputnam Sep 3, 2025
be93c12
Updated Cmake tag
Sep 3, 2025
c6b5e2b
Update products to save. Keep DAQ CRT hits and PMT waveforms. Drop MC…
gputnam Sep 10, 2025
9ee8748
Put product update into 1D SP stage0 reco.
gputnam Sep 10, 2025
a335a79
Make sure to move the tag!
SFBayLaser Sep 10, 2025
5ca2775
Use correct CRT Hit label in CAF making.
gputnam Sep 15, 2025
dba9b05
New fcl files to enable Overlay pathway for Wiremod sample.
gputnam Sep 15, 2025
644eecd
Add geant4 into CAFMaker defs
Jul 27, 2024
dcda07d
Add G4Rewight configs to cafmaker
Sep 18, 2025
c69f596
Update sbncode dependency to get G4RW support
Sep 18, 2025
858fa9f
Mash G4RW into all systtools cafmakerjobs
Sep 23, 2025
76d5f75
Fix hit labels for new hit merging.
gputnam Sep 30, 2025
9d3245c
Set correct CRTSimChannel override for refactored detsim.
gputnam Sep 30, 2025
4b1e4c9
Update standard overlay+data reco fcl files to 2D SP.
gputnam Sep 30, 2025
09834c6
Updated CMake and product dependencies
Oct 2, 2025
ac527c7
This commit re-introduces CRTData in Stage0.
Oct 2, 2025
4a4bc73
Updated CMake tag
Oct 10, 2025
33ee54f
update pmt tags
mvicenzi Oct 26, 2025
c0e625d
fix to stage1 1D deconvolution
francescopoppi Oct 27, 2025
e3aded1
removal of keepup fcl, changed icarus_filter1D_cluster3D to original.
francescopoppi Oct 28, 2025
1b2c8bc
stage1_run2_1d_icarus updated to work with Cluster3D
francescopoppi Oct 28, 2025
049a1f5
stage1_run2_1d_icarus, fix typo
francescopoppi Oct 28, 2025
aa0fbf1
tested and works. caloskimE/W are analyzers, not producers.
Oct 28, 2025
d8bb948
BugFix: If CRTData are not present, hitTreeun number and subRun numbe…
francescopoppi Oct 28, 2025
b211c76
The code was fairly unreadable. Added indentention for readibility an…
francescopoppi Oct 28, 2025
f1def6d
Update icarus_data dependency. As part of the migration from release/…
mvicenzi Oct 29, 2025
e48daf9
This commit does the following things: a) it fixes an issue/typo wher…
Oct 31, 2025
638b105
Add in option to control YZMap+Electron lifetime DB from fcl. Add in …
gputnam Nov 5, 2025
97458ea
Update TPC calibration to tag including 2D-based Run2+4 calibrations.
gputnam Nov 5, 2025
3451b85
Add in option to override scaler json file. Correct which json file i…
gputnam Nov 7, 2025
d805bd0
Bump TPC channel status DB version
gputnam Nov 11, 2025
65e92c3
Updating version and dependencies for release
Nov 12, 2025
b4f84f2
Update SPINE to use 10 hits per pulse train.
gputnam Nov 24, 2025
03c1cfd
addressed requests from reviewers. sequences: icarus_East/WestHits_TP…
francescopoppi Nov 25, 2025
ad7c256
Updating icarus_data version
Dec 2, 2025
aa88e11
Updating CMake for new production release
Dec 3, 2025
194e2b7
Update PMT GlobalTags to Oct2025, which is the latest tag used by SBN…
jas1005 Apr 14, 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
6 changes: 3 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ cmake_minimum_required(VERSION 3.20 FATAL_ERROR)
# cmake_policy(VERSION 3.19)

find_package(cetmodules 3.24.01 REQUIRED)
project(icaruscode VERSION 10.20.03 LANGUAGES CXX)
#project(icaruscode VERSION 10.06.00.06 LANGUAGES CXX)

#set(${PROJECT_NAME}_CMAKE_PROJECT_VERSION_STRING 10.15.00)
#project(icaruscode LANGUAGES CXX)
set(${PROJECT_NAME}_CMAKE_PROJECT_VERSION_STRING 10.06.00.06-p03)
Copy link

Copilot AI Apr 14, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In CMake, set(${PROJECT_NAME}_CMAKE_PROJECT_VERSION_STRING ...) is executed before project(...), so PROJECT_NAME is not defined yet and this sets the wrong variable (often _CMAKE_PROJECT_VERSION_STRING). This can break version propagation/packaging; set icaruscode_CMAKE_PROJECT_VERSION_STRING explicitly or restore project(icaruscode VERSION ...) and drop the manual set().

Suggested change
set(${PROJECT_NAME}_CMAKE_PROJECT_VERSION_STRING 10.06.00.06-p03)
set(icaruscode_CMAKE_PROJECT_VERSION_STRING 10.06.00.06-p03)

Copilot uses AI. Check for mistakes.
project(icaruscode LANGUAGES CXX)

message(STATUS
"\n-- ============================================================================="
Expand Down
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"
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"
1 change: 0 additions & 1 deletion fcl/overlays/overlay_waveforms.fcl
Original file line number Diff line number Diff line change
Expand Up @@ -108,5 +108,4 @@ outputs.rootOutput.outputCommands: ["keep *_*_*_*",
"drop *_gaushitTPC*_*_*",
"drop *_ophit*_*_*",
"drop *_opflash*_*_*",
"drop *_crthit*_*_*",
"drop *_crttrack*_*_*"] #TODO: drop raw waveforms that arent from this module. Keep wf from this module to feed to later stages
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#include "simulation_genie_icarus_bnb_overlays_volDetEnclosure.fcl"

physics.producers.generator.FiducialCut: "mbox: -378.49,-191.86,-904.950652270838,378.49,144.96,904.950652270838"
1 change: 1 addition & 0 deletions fcl/reco/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ add_subdirectory(ForCITests)
#add_subdirectory(archive)
add_subdirectory(Definitions)
add_subdirectory(larcv)
add_subdirectory(wires)
add_subdirectory(ntuple)
add_subdirectory(Stage0)
add_subdirectory(Stage1)
Expand Down
3 changes: 3 additions & 0 deletions fcl/reco/Definitions/enable_overlay_stage1.fcl
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,6 @@ physics.producers.crttrack.DataLabelHits: "overlayCRTHit"

# overlay PMT waveforms
physics.analyzers.simpleLightAna.OpDetWaveformLabels: ["overlayOpWaveforms"]

# Set Supera config
physics.analyzers.superaMC.supera_params: "supera_icarus_MC_all_cryo_PMT_CRT_overlay.fcl"
Loading