Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
94 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
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
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
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-p01)
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
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