Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
116 commits
Select commit Hold shift + click to select a range
aa0e95a
Reorganize standard fcls. Update to new MC path. Add in overlay path.
gputnam May 16, 2025
d45b9f5
Fhicl file to convert ChannelROIs back into Wires
gputnam May 16, 2025
cb50ecb
Fix input label for MC stage0.
gputnam May 16, 2025
1339362
Get non-YZ detsim configs working. Add in overlay option to non-YZ sim.
gputnam May 17, 2025
8d5d447
Tune sim-reco timing offsets to 2D deconv.
gputnam May 17, 2025
a75c82e
Fix ophit label.
gputnam May 20, 2025
5f4c23e
Add partial fcls back into icaruscode
gputnam May 21, 2025
e73e676
Reorganize standard fcls. Update to new MC path. Add in overlay path.
gputnam May 16, 2025
4729a40
Fhicl file to convert ChannelROIs back into Wires
gputnam May 16, 2025
b3946e9
Fix input label for MC stage0.
gputnam May 16, 2025
8d76950
Get non-YZ detsim configs working. Add in overlay option to non-YZ sim.
gputnam May 17, 2025
eb123e6
Tune sim-reco timing offsets to 2D deconv.
gputnam May 17, 2025
4cad74f
Fix ophit label.
gputnam May 20, 2025
1e245e8
Add partial fcls back into icaruscode
gputnam May 21, 2025
4f5f72c
Prune simChannelROI from 1D SP fcl.
gputnam May 30, 2025
f37a12f
Fix database tags.
gputnam May 30, 2025
5d3a59e
Merge branch 'release/Mar25Production-build' into release/MC25Production
gputnam May 30, 2025
41ff587
Simple detsim jsonnet bugfix.
gputnam May 30, 2025
59f69c4
Remove mcreco from CAF stage.
gputnam Jun 1, 2025
73cc510
Stage1+CAF configs for non-YZ detsim.
gputnam Jun 1, 2025
32c965f
Ignore mcreco logging.
gputnam Jun 1, 2025
fc72220
Merge branch 'develop' into release/MC25Production
gputnam Jun 1, 2025
9fd7afb
Correctly disable mcreco logging.
gputnam Jun 4, 2025
c3f0a8f
Fix ctoffset to match RawDigit/Deconvolved collection hit time.
gputnam Jun 18, 2025
74b8196
Merge pull request #835 from cerati/feature/cerati_PMTwaveforms
leoaliaga Jun 23, 2025
8cd87cc
Updated CMake tag for icarus release
Jun 23, 2025
2b459f0
Inject services necessary for metadata generation in production.
gputnam Jul 1, 2025
e393d30
Merge pull request #837 from SBNSoftware/feature/gputnam-stage0dropPM…
leoaliaga Jul 1, 2025
61e6c22
Updating CMake tag
Jul 1, 2025
99234c3
Update overlay reco to use same calibrations as data reco.
gputnam Jul 31, 2025
c04a691
Update calibrations for 2D+DNN signal processing for Run 2.
gputnam Jul 31, 2025
ef8076e
Update reco1 processing chain. Pandora gets hits with 'long hits', co…
gputnam Jul 31, 2025
2f30b6c
Tune transverse diffusion constant.
gputnam Jul 31, 2025
77f4d33
Tune MC gain and sim-reco timing offsets.
gputnam Jul 31, 2025
87f3e5b
Fix stage0 mc no trigger simulation fcl file.
gputnam Jul 31, 2025
e0a5831
Disable pusle trains.
gputnam Jun 17, 2025
c6fcff6
Update to new YZ gain map.
gputnam Aug 1, 2025
279266f
Revert "Tune transverse diffusion constant."
gputnam Aug 1, 2025
acfbf78
Merge pull request #826 from SBNSoftware/release/MC25Production
leoaliaga Aug 4, 2025
544df81
MC gain fine tuning.
gputnam Aug 4, 2025
538934e
Set reco gain values.
gputnam Aug 4, 2025
f8e8834
Merge pull request #841 from SBNSoftware/release/MC25Production-tunegain
leoaliaga Aug 4, 2025
1e52468
Update CMake and product dependency
Aug 4, 2025
09d809f
Corrected icarusalg version
Aug 4, 2025
1e77707
Remove CaloConst override in CAF.
gputnam Aug 6, 2025
dd6edd8
Merge pull request #842 from SBNSoftware/release/MC25Production-tunegain
leoaliaga Aug 7, 2025
db14deb
Tag for production release
Aug 7, 2025
ea13c1a
Put supera config in icaruscode with correct SimChannel input. Overri…
gputnam Aug 11, 2025
b5c77b0
Add in overlay supera config with correct CRT label.
gputnam Aug 12, 2025
9fc493d
Set overload path correctly...
gputnam Aug 12, 2025
87014b3
Merge pull request #843 from SBNSoftware/feature/gputnam-fix-supera-prod
icaromx Aug 12, 2025
4196b66
CMake tag for release
Aug 13, 2025
aedad26
Fixes to overlay CAF files. Use correct truth labels. Don't blind ove…
gputnam Sep 3, 2025
41df60c
GENIE gen config with fiducial cut.
gputnam Sep 3, 2025
1093a5d
Merge branch 'release/SBN2025A' into feature/gputnam-MC25Production-p…
gputnam Sep 3, 2025
ba29c95
Merge branch 'release/SBN2025A' into feature/gputnam-MC25Production-p…
gputnam Sep 3, 2025
fe23326
Fix output supera CRT hit label.
gputnam Sep 3, 2025
1926e4d
Merge pull request #847 from SBNSoftware/feature/gputnam-MC25Producti…
leoaliaga Sep 3, 2025
7b34a22
Updated Cmake tag
Sep 3, 2025
8e4b9b4
Update products to save. Keep DAQ CRT hits and PMT waveforms. Drop MC…
gputnam Sep 10, 2025
63c3672
Put product update into 1D SP stage0 reco.
gputnam Sep 10, 2025
3e1dcb7
Merge pull request #848 from SBNSoftware/feature/gputnam-MC25Producti…
SFBayLaser Sep 10, 2025
6a2c00d
Make sure to move the tag!
SFBayLaser Sep 10, 2025
87ebed8
Use correct CRT Hit label in CAF making.
gputnam Sep 15, 2025
c5e6aeb
New fcl files to enable Overlay pathway for Wiremod sample.
gputnam Sep 15, 2025
90a91da
Add geant4 into CAFMaker defs
Jul 27, 2024
283ae7a
Add G4Rewight configs to cafmaker
Sep 18, 2025
16e3722
Update sbncode dependency to get G4RW support
Sep 18, 2025
8024eee
Mash G4RW into all systtools cafmakerjobs
Sep 23, 2025
1da7314
Fix hit labels for new hit merging.
gputnam Sep 30, 2025
5af2663
Set correct CRTSimChannel override for refactored detsim.
gputnam Sep 30, 2025
e3e6fbe
Update standard overlay+data reco fcl files to 2D SP.
gputnam Sep 30, 2025
4fa6ccc
Merge pull request #849 from SBNSoftware/feature/gputnam-crt-caf
leoaliaga Oct 1, 2025
5aed685
Merge pull request #850 from SBNSoftware/feature/gputnam-wiremod-gen
leoaliaga Oct 1, 2025
56693c7
Merge pull request #852 from JackSmedley/feature/jsmedley_g4rwcafmake…
leoaliaga Oct 1, 2025
de4a1dd
Merge pull request #853 from SBNSoftware/feature/gputnam-crt-hit-truth
leoaliaga Oct 1, 2025
f9b35bd
Merge pull request #854 from SBNSoftware/feature/gputnam-standard-fcls
leoaliaga Oct 1, 2025
92b12cf
Updated CMake and product dependencies
Oct 2, 2025
97abbc2
This commit re-introduces CRTData in Stage0.
Oct 2, 2025
7cef4d4
Merge pull request #857 from SBNSoftware/feature/fp_stage0_CRTData_prod
leoaliaga Oct 10, 2025
cd400cf
Updated CMake tag
Oct 10, 2025
066369f
update pmt tags
mvicenzi Oct 26, 2025
0dbaa66
fix to stage1 1D deconvolution
francescopoppi Oct 27, 2025
2cd79a6
removal of keepup fcl, changed icarus_filter1D_cluster3D to original.
francescopoppi Oct 28, 2025
df0acf2
stage1_run2_1d_icarus updated to work with Cluster3D
francescopoppi Oct 28, 2025
e4c394f
stage1_run2_1d_icarus, fix typo
francescopoppi Oct 28, 2025
798c9ce
tested and works. caloskimE/W are analyzers, not producers.
Oct 28, 2025
1a357ad
BugFix: If CRTData are not present, hitTreeun number and subRun numbe…
francescopoppi Oct 28, 2025
48245c5
The code was fairly unreadable. Added indentention for readibility an…
francescopoppi Oct 28, 2025
14f45a6
update icarus_data
mvicenzi Oct 29, 2025
6753937
This commit does the following things: a) it fixes an issue/typo wher…
Oct 31, 2025
27ccc68
Add in option to control YZMap+Electron lifetime DB from fcl. Add in …
gputnam Nov 5, 2025
21209f0
Update TPC calibration to tag including 2D-based Run2+4 calibrations.
gputnam Nov 5, 2025
79eed35
Merge branch 'release/SBN2025A' into feature/mvicenzi_run4_tcorr
mvicenzi Nov 6, 2025
11f18d1
Add in option to override scaler json file. Correct which json file i…
gputnam Nov 7, 2025
5103ff9
Bump TPC channel status DB version
gputnam Nov 11, 2025
bd5a493
Merge pull request #860 from SBNSoftware/feature/fp_fixCRTHit_CRTData…
leoaliaga Nov 11, 2025
ae2f302
Merge pull request #863 from SBNSoftware/feature/gputnam-update-tpcca…
leoaliaga Nov 12, 2025
40eeba8
Merge pull request #862 from SBNSoftware/feature/gputnam-detsim-run4
leoaliaga Nov 12, 2025
1a29800
Merge branch 'release/SBN2025A' into feature/mvicenzi_run4_tcorr
leoaliaga Nov 12, 2025
ca25bb1
Merge pull request #864 from SBNSoftware/feature/mvicenzi_run4_tcorr
leoaliaga Nov 12, 2025
3544f7f
Updating version and dependencies for release
Nov 12, 2025
a3e75f7
Update SPINE to use 10 hits per pulse train.
gputnam Nov 24, 2025
2bcc1fb
addressed requests from reviewers. sequences: icarus_East/WestHits_TP…
francescopoppi Nov 25, 2025
1036790
FHiCL files + pandora's XML for small poduction 1D/2D/2D+DNNROI valid…
Nov 30, 2025
422f4c6
Refactored all FHiCL with conventional naming
Nov 30, 2025
d6cfb81
Merge pull request #872 from SBNSoftware/feature/gputnam-spine-pt10
leoaliaga Dec 2, 2025
d6129eb
Updating icarus_data version
Dec 2, 2025
8486625
Merge pull request #859 from SBNSoftware/feature/fp_stage1_1d_fix
leoaliaga Dec 3, 2025
47f5a15
Updating CMake for new production release
Dec 3, 2025
2f9ecb9
Fixed CAF w/o YZ simulation
Dec 5, 2025
db0f48e
Push to allow PR with tagged release
Jan 26, 2026
f4a38a9
Merge pull request #884 from SBNSoftware/features/msotgia_rtriozzi_ac…
mattiasotgia Jan 26, 2026
2701f9b
fcl/reco/Stage1/mc/stage1_run2_1d_icarus_MC.fcl updated
Jan 31, 2026
7db88a3
[fcl] Added processing with the cluster3D chain
Feb 10, 2026
c695393
[consistency] added different field response on detsim (old configura…
Feb 11, 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
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ cmake_minimum_required(VERSION 3.20 FATAL_ERROR)
# cmake_policy(VERSION 3.19)

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

set(${PROJECT_NAME}_CMAKE_PROJECT_VERSION_STRING 10.06.00.01-p03)
set(${PROJECT_NAME}_CMAKE_PROJECT_VERSION_STRING 10.06.00.06-p03)
project(icaruscode LANGUAGES CXX)

message(STATUS
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
11 changes: 11 additions & 0 deletions fcl/caf/cafmakerjob_icarus_detsim2d_noyzsim.fcl
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#include "cafmakerjob_icarus.fcl"
#include "cafmaker_add_detsim2d_icarus.fcl"

# Fix for CAFMaker simchannel -- using correct (?)
physics.producers.cafmaker.SimChannelLabel: "daq:simpleSC"

# Fix for BackTracker simchannel
services.BackTrackerService.BackTracker.SimChannelModuleLabel: "daq:simpleSC"

# Fix for MCReco simchannel
physics.producers.mcreco.SimChannelLabel: "daq:simpleSC"
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
4 changes: 3 additions & 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 Expand Up @@ -55,3 +55,5 @@ physics.producers.crtdaq.G4ModuleLabel: "shifted"
physics.producers.opdaq.InputModule: "pdfastsim"
physics.producers.shifted.InitAuxDetSimChannelLabel: "genericcrt"
physics.producers.shifted.InitSimPhotonsLabel: "pdfastsim"

physics.producers.daq.wcls_main.params.files_fields: "icarus_final_fit_dqdx6.json.bz2"
57 changes: 57 additions & 0 deletions fcl/detsim/detsim_2d_icarus_refactored_keepSimChannel.fcl
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
#include "services_icarus_simulation.fcl"
#include "detsimmodules_wirecell_ICARUS.fcl"
#include "opdetsim_pmt_icarus.fcl"
#include "crtsimmodules_icarus.fcl"
#include "trigger_emulation_icarus.fcl"
#include "rootoutput_icarus.fcl"

process_name: DetSim

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

physics: {

producers: {
@table::icarus_shifting_triggersim.producers

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

rns: { module_type: "RandomNumberSaver" }
} # producers

simulate: [ rns, opdaq, @sequence::icarus_shifting_triggersim.path, daq, crtdaq ]

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

} # physics

outputs: {
rootoutput: {
@table::icarus_rootoutput
outputCommands: [
"keep *"
, "drop *_ionization_*_*"
, "drop *_simdrift_*_*"
, "drop *_pdfastsim_*_*"
, "drop raw::OpDetWaveform*_opdaq_*_*"
, "drop sim::SimEnergyDeposits_largeant_*_*"
, "drop sim::SimEnergyDepositLites_sedlite_*_*"
, "drop sim::SimEnergyDeposits_shifted_*_*"
, "drop *_pmtlvdsgatesinit_*_*"
, "drop *_pmtfixedthrinit_*_*"
, "drop *_pmttriggerwindowsinit_*_*"
, "drop *_triggersimgatesinit_*_*"
]
}
}

physics.producers.crtdaq.G4ModuleLabel: "shifted"
physics.producers.opdaq.InputModule: "pdfastsim"
physics.producers.shifted.InitAuxDetSimChannelLabel: "genericcrt"
physics.producers.shifted.InitSimPhotonsLabel: "pdfastsim"
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"
Loading