Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
167 commits
Select commit Hold shift + click to select a range
edd20cc
fix sim label for PDFastSim
mvicenzi May 22, 2025
de89e10
detsim_opdetonly_icarus.fcl: simulate only optical detector digitization
PetrilloAtWork Feb 8, 2025
5409a1d
Changed determination of the end of single photoelectron response tem…
PetrilloAtWork Feb 8, 2025
7b6face
Updated `FastGaussianNoiseGeneratorAlg` documentation
PetrilloAtWork Apr 12, 2025
9e339a9
SelectCathodeCrossingGenParticles: selects generated events with part…
PetrilloAtWork Jun 17, 2025
82223e7
make MC2-var4 tune standard
mvicenzi Oct 29, 2025
cd06cff
simulate pmt timing delays in mc
mvicenzi Oct 29, 2025
2d11c22
disable pmt mc noise for overlays
mvicenzi Oct 29, 2025
a4146b1
add ophituncorrected + ophit flow for mc
mvicenzi Oct 30, 2025
a48cc68
update stage0 flow for overlays
mvicenzi Oct 30, 2025
b2d33fd
small fix
mvicenzi Nov 3, 2025
68cbad3
prelimanary reco gain tuning
mvicenzi Nov 4, 2025
5204bc5
add SPRRun3, make SPRRun2 default
mvicenzi Nov 10, 2025
5cc1b37
nullify flash calibration
mvicenzi Nov 10, 2025
3921788
add run3 opdet tune, make run2 default
mvicenzi Nov 10, 2025
e5b3da5
change run3->run4, update gain
mvicenzi Nov 12, 2025
0a3ae93
add run4 detsim fhicls
mvicenzi Nov 13, 2025
ab770f7
first attempt at detsim reprocessing fhicl
mvicenzi Nov 18, 2025
cac28c9
fix typo
mvicenzi Nov 18, 2025
a4cc484
Trigger simulation modules: support input tag with process name
PetrilloAtWork Nov 18, 2025
d614320
Apply suggestions from GIT Copilot code review
PetrilloAtWork Nov 19, 2025
bfcfa5d
fix to detsim reprocessing
mvicenzi Nov 19, 2025
726318d
reprocessing opdetonly overlay fhicl
mvicenzi Nov 19, 2025
e721b90
leave default tags
mvicenzi Nov 19, 2025
e6c5793
add initial recalibrator module
mvicenzi Dec 3, 2025
3f89041
fix compilation for recalibrator
mvicenzi Dec 3, 2025
4ef2c78
link online corrections service to recalibrator
mvicenzi Dec 4, 2025
daba6e6
link locally-provided old timing corrections
mvicenzi Dec 4, 2025
d523817
fix timing recalibration
mvicenzi Dec 4, 2025
e5b41b5
remove custom config, fixed indentation
mvicenzi Dec 4, 2025
44b2db7
chop off flat waveform tail in overlays
mvicenzi Dec 4, 2025
648d4eb
restore legacy defaults for backward compatibility
mvicenzi Dec 4, 2025
dcce54b
fixed documentation
mvicenzi Dec 4, 2025
77f55d8
add opdetonly MCstage0 fhicls for reprocessing
mvicenzi Dec 5, 2025
716dc1a
fix stage0 reprocessing fhicls
mvicenzi Dec 8, 2025
eee665c
adjust stage1 compatibility
mvicenzi Dec 8, 2025
d399fa9
add data reprocessing fhicl(s)
mvicenzi Dec 8, 2025
01ac54a
update file names
mvicenzi Dec 8, 2025
538f8c1
ICARUSFlashFinder: added Doxygen-style header
PetrilloAtWork Dec 18, 2025
a14e718
ICARUSFlashFinder: turned into shared module
PetrilloAtWork Dec 18, 2025
91df0e2
ICARUSFlashFinder: FHiCL configuration validation
PetrilloAtWork Dec 18, 2025
2f42a84
ICARUSFlashFinder: code updates
PetrilloAtWork Dec 18, 2025
1e1c09e
ICARUSFlashFinder: removed hit recalibration (PECalib)
PetrilloAtWork Dec 18, 2025
086ff13
dump_opflashes_icarus.fcl: dump reconstructed flashes on text file
PetrilloAtWork Dec 18, 2025
6fb3bba
Adopting corrections from GitHub Copilot
PetrilloAtWork Dec 18, 2025
ed3a38e
Removed obsolete icarus_flashcalib.fcl
PetrilloAtWork Dec 18, 2025
7846864
tentative debug tree
mvicenzi Jan 13, 2026
ffabf56
tweaks for success build
mvicenzi Jan 13, 2026
32f563d
move to other loop
mvicenzi Jan 13, 2026
1e848ab
save debug only with photons
mvicenzi Jan 13, 2026
e58896b
store photon start position in debug
mvicenzi Jan 13, 2026
fcb6209
remove old variables
mvicenzi Jan 13, 2026
4a2ba82
remove forgotten variable
mvicenzi Jan 13, 2026
86d75a9
first commit, compiles and does nothing
Dec 12, 2025
4c467a4
changed namespaces
Dec 12, 2025
cf62423
basic struct/map for holding spe areas
Dec 12, 2025
fde331a
working version getting area from database and initial database file
Dec 12, 2025
d1f1c7d
updated tags in db file
Dec 12, 2025
62c43e0
add fcl file for debugging spe area service
Dec 12, 2025
1d01a04
PMT calibration service code review
PetrilloAtWork Dec 20, 2025
b3b408f
update pmt calibration service provider
Jan 14, 2026
73c349d
removed db file + copilot suggestions
mvicenzi Jan 15, 2026
9584488
interface SPEArea DB with ophit recalibrator
mvicenzi Jan 19, 2026
fdb7474
fix cout of current areatag
mvicenzi Jan 19, 2026
76343d5
rework stage0 optical workflow for data, mc, overlay
mvicenzi Jan 19, 2026
c0e5cc5
simulate pmt timing delays only for overlay flow
mvicenzi Jan 19, 2026
865dacf
remove ophituncurrected from legacy mc flow
mvicenzi Jan 19, 2026
7f76573
tune mcophit
mvicenzi Jan 19, 2026
a6667e6
make applytimingdelays explicit
mvicenzi Jan 20, 2026
8124684
add run3/4 stage0 overlay light tunes
mvicenzi Feb 10, 2026
d430b4f
remove useless while loop
mvicenzi Mar 5, 2026
b6cb7ff
fix-up comment
mvicenzi Mar 5, 2026
b796cb6
use microseconds, pass service as pointer not reference
mvicenzi Mar 5, 2026
bde1539
fixes + indentation
mvicenzi Mar 5, 2026
a3ee2f3
minor fixes
mvicenzi Mar 5, 2026
31291e9
add documentation in fhicls
mvicenzi Mar 5, 2026
53981a8
use mf:errorlog
mvicenzi Mar 5, 2026
4368b92
improve documentation
mvicenzi Mar 5, 2026
7e1d4c5
more documentation please
mvicenzi Mar 5, 2026
069be53
augment gain db service
mvicenzi Mar 12, 2026
9b792e4
add gain service provider interface
mvicenzi Mar 12, 2026
2a5a876
fix linking for db interface
mvicenzi Mar 12, 2026
2436565
update speareas database tag
mvicenzi Mar 16, 2026
3b03a19
add pmt channel status service
mvicenzi Mar 16, 2026
29b6454
tie up the service
mvicenzi Mar 16, 2026
5936d38
fix linking
mvicenzi Mar 16, 2026
d004863
change kOn to kGood
mvicenzi Mar 16, 2026
d9a7485
use channel status service in pmtsim
mvicenzi Mar 16, 2026
3cb725a
update fcls for legacy vs overlay flow
mvicenzi Mar 16, 2026
42cc634
switch reco to local entry point
mvicenzi Mar 17, 2026
ec93322
fix sharing factory with ped algos
mvicenzi Mar 17, 2026
f7ad257
fix standard calibrator + add channel status service
mvicenzi Mar 17, 2026
6ec0b4d
remove conflicting defaults
mvicenzi Mar 17, 2026
6454ab6
remove mcophit from mc-overlays
mvicenzi Mar 17, 2026
1789bb1
never hold service pointers, you fool
mvicenzi Mar 18, 2026
714c60a
expose integral and bias from sampled waveform tool
mvicenzi Mar 18, 2026
13e288e
plug in db gain and spread in simulation
mvicenzi Mar 18, 2026
96769b8
fix variable name
mvicenzi Mar 18, 2026
944c8e4
keep database use false for default non-overlay MC
mvicenzi Mar 18, 2026
05a4e44
add forgotten service
mvicenzi Mar 18, 2026
9141308
improve prints
mvicenzi Mar 18, 2026
c4db4f1
better printing
mvicenzi Mar 18, 2026
870b46b
apply integral definition bias
mvicenzi Mar 18, 2026
3f7912e
update db tag
mvicenzi Mar 18, 2026
4a0e627
update variable names
mvicenzi Mar 23, 2026
4666b6f
TailNSigmaThreshold is wrong, should be TailNSigma
mvicenzi Mar 25, 2026
db01bec
re-tune flash algo for new SPEAreas to match past performance
mvicenzi Mar 25, 2026
3bc4641
add ophit integral to flashana tree
mvicenzi Mar 25, 2026
cc5d496
add run number ovverides to PMT db services
mvicenzi Apr 6, 2026
69396b5
introducing vertical track flash/wf module
mvicenzi Apr 15, 2026
4816011
make waveforms optional, add total PE per pmt
mvicenzi Apr 22, 2026
f02b168
update transit time
mvicenzi May 4, 2026
d1ada64
TriggerSimulationOnGates: added fixed configurable trigger delay
PetrilloAtWork May 29, 2024
a846553
Update after TimeIntervalConfig breaking change
PetrilloAtWork Apr 16, 2026
6160281
SimPMTIcarus: reworked internals
PetrilloAtWork Apr 16, 2026
250896e
SimPMTIcarus: produce baseline data products and associations
PetrilloAtWork Apr 16, 2026
9df8c11
PMTsimulationAlg: changed waveform superposition rounding, and defaul…
PetrilloAtWork Apr 16, 2026
2c8db96
Maintenance commit
PetrilloAtWork Apr 16, 2026
46e5513
OverlayPMTwaveforms: dedicated PMT waveform overlay module
PetrilloAtWork Apr 16, 2026
2f66b0e
Simulation timescale changed to the "shifted" time
PetrilloAtWork Apr 20, 2026
cc05e07
Trigger configuration maintenance
PetrilloAtWork Apr 20, 2026
51236d9
MC trigger simulation baselines now read from a data product.
PetrilloAtWork Apr 20, 2026
dc2640b
Trigger simulation gate now refers to simulation time instead of beam…
PetrilloAtWork Apr 20, 2026
66b38cf
TriggerSimulationOnGates: fix beam gate output
PetrilloAtWork Apr 22, 2026
66d9c3b
Added trigger time delay to the trigger simulation
PetrilloAtWork Apr 20, 2026
7acda75
Filtering disables in Stage0 MC to allow for fast cloning
PetrilloAtWork Apr 21, 2026
621c603
Retuned trigger-flash delay in TPC-PMT matching
PetrilloAtWork May 4, 2026
c337bcf
Tuned beam gates to Run2 data
PetrilloAtWork May 7, 2026
323cefb
Using SBN (shared) GENIE configuration for BNB and NuMI
PetrilloAtWork Dec 5, 2024
5d8a915
Tuned BNB gate again (after enabling neutrino propagation time)
PetrilloAtWork May 8, 2026
9ea6dab
manageDataRunDefinitions.py version 1.1
PetrilloAtWork May 13, 2026
dfbc49f
Removed configuration override used in development
PetrilloAtWork May 14, 2026
8e5748d
Indentation fix
PetrilloAtWork May 14, 2026
aa8f581
TriggerSimulationOnGates module: fixed trigger timestamp encoding
PetrilloAtWork May 15, 2026
715693b
TriggerSimulationOnGates: timestamp can be imported from a data product
PetrilloAtWork May 15, 2026
4e95dc7
TriggerSimulationOnGates module: minor bug fixes
PetrilloAtWork May 26, 2026
f5b4b52
TriggerSimulationOnGates module: documentation fixes
PetrilloAtWork May 26, 2026
2f1aaab
CRT hit reconstruction: add time offset only in data
PetrilloAtWork May 27, 2026
1ac889b
CRT hit reconstruction: ignore trigger timestamp for simulation
PetrilloAtWork May 27, 2026
a27ef51
"Answered" Tracy Usher's questions on Stage0 workflow
PetrilloAtWork May 27, 2026
4399795
MC Stage0 CRT/PMT matching uses shifted trigger to determine in-beamness
PetrilloAtWork Jun 2, 2026
1706ed0
Code maintenance
PetrilloAtWork Jun 10, 2026
bcaebdb
RebuildShiftedTrigger: makeup module for reprocessing Monte Carlo sam…
PetrilloAtWork Jun 10, 2026
a29100a
Minor fix to simulation workflow
PetrilloAtWork Jun 10, 2026
8aed23c
FixBeamGateInfo: changed gate selection
PetrilloAtWork Jun 10, 2026
e115c02
OverlayPMTwaveforms: more information when baseline not found
PetrilloAtWork Jun 12, 2026
f2a7353
MC reprocessing updated to reflect changes in workflow
PetrilloAtWork Jun 12, 2026
52964a4
DataProductReader: prints available data products and their tags
PetrilloAtWork Jun 12, 2026
4540c82
Apply suggestions from code review
PetrilloAtWork Jun 13, 2026
9bbd563
Custom changes after automated review report
PetrilloAtWork Jun 13, 2026
0778145
Fixed Run4 reprocessing misfiring FHiCL override
PetrilloAtWork Jun 13, 2026
a35faba
change default pmt channel status to off
mvicenzi Jun 13, 2026
e1cb944
detsim_opdetonly_icarus_overlay_reprocessing_run2.fcl: fixed time ref…
PetrilloAtWork Jul 23, 2026
b6a428c
Updated CAFMaker configuration (applies shift to beam gate time)
PetrilloAtWork Jul 23, 2026
5dc8636
bugfix: do not recalibrate hits flagged as bad in status db
mvicenzi Jul 27, 2026
8db14fb
include initial tail suppression
mvicenzi Jun 18, 2026
c9c3dad
fix casting
mvicenzi Jun 19, 2026
9140849
move printout
mvicenzi Jun 21, 2026
5b08b86
fix time constant
mvicenzi Jun 23, 2026
b2bc777
test distance dependent survival
mvicenzi Jul 14, 2026
00b4bc4
update run2 tailsupp and survival distance tune
mvicenzi Jul 21, 2026
66af8f1
improve documentation, clarify currently missing run4 tune
mvicenzi Jul 28, 2026
0939c7c
Update icaruscode/PMT/Algorithms/PMTsimulationAlg.cxx
mvicenzi Jul 29, 2026
9323a37
Apply suggestion from @PetrilloAtWork
mvicenzi Jul 29, 2026
6745ebc
switch to fhicl::OptionalTable + print DistanceSurvival settings as well
mvicenzi Jul 29, 2026
9cdd593
add reprocessing stage0 fhicls with no DB use
mvicenzi Aug 21, 2026
704dab7
Added missing FHiCL unit test exception
PetrilloAtWork Oct 26, 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
7 changes: 5 additions & 2 deletions fcl/SkipTesting.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ services_compat_no_overburden_icarus_v3.fcl
services_compat_overburden_icarus_v3.fcl
set_caf_calconst.fcl

override_services_for_simulation.fcl

enable_overlay_sp.fcl
enable_overlay_stage1.fcl


################################################################################
# broken, won't fix
Expand Down Expand Up @@ -94,5 +99,3 @@ intime_gen_overlay_SimInfoMixer1.fcl
prodcorsika_proton_intime_filter_bnb_siminfomixer.fcl
prodcorsika_proton_intime_filter_bnb_siminfomixer2.fcl
prodcorsika_proton_intime_filter_bnb_siminfomixer1.fcl
# GRAY PUTNAM 5/8/25: "Enabler" fcl files that should not be dump'd on their own
enable_overlay_sp.fcl
4 changes: 3 additions & 1 deletion fcl/caf/cafmaker_defs.fcl
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,9 @@ caf_preprocess_sce_evtw_sequence: [@sequence::caf_preprocess_sce_sequence, rns,
# CAFMaker config
cafmaker: @local::standard_cafmaker

# time shift and calibration settings
cafmaker.ShiftTimeFromTriggerToBeamGate: true

# Set the labels to ICARUS
cafmaker.PandoraTagSuffixes: ["CryoE", "CryoW"]
cafmaker.FlashMatchOpDetSuffixes: ["", "op"]
Expand Down Expand Up @@ -312,7 +315,6 @@ cafmaker.CRTTrackLabel: "crttrack"
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"
Expand Down
2 changes: 2 additions & 0 deletions fcl/caf/cafmakerjob_icarus.fcl
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ services:
SpaceChargeService: @local::icarus_spacecharge
}

#include "override_services_for_simulation.fcl"

outputs:
{
outpid:
Expand Down
4 changes: 2 additions & 2 deletions fcl/decoder/decoder_run2_icarus.fcl
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ process_name: stage0
## Define the path we'll execute
physics.path: [ "filterdataintegrity",
"triggerconfig",
"daqTrigger", # Note sure if we actually need some of these trigger and PMT stuff other than daqPMT... Gianluca?
"daqTrigger",
"pmtconfig",
"daqPMT",
"pmtconfigbaselines",
"pmtthr", # ???
"pmtthr", # discrimination for trigger emulation (cheaper than carrying waveforms around)
"pmtbaselines",
"daqCRT",
"crthit",
Expand Down
1 change: 1 addition & 0 deletions fcl/detsim/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# add underlying subfolders
add_subdirectory(SBNNoise)
add_subdirectory(partial)
add_subdirectory(commissioning)
add_subdirectory(archive)

Expand Down
4 changes: 2 additions & 2 deletions fcl/detsim/commissioning/run4642like_detsim_icarus.fcl
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
#

#include "services_common_icarus.fcl"
#include "opdetsim_pmt_icarus.fcl"
#include "pmtsimulation_icarus.fcl"
#include "rootoutput_icarus.fcl"

process_name: DetSim4642
Expand All @@ -38,7 +38,7 @@ services: @local::icarus_common_services # from services_common_icarus.fcl
physics: {
producers: {
opdaq: {
@table::icarus_simpmt_noise # from opdetsim_pmt_icarus.fcl
@table::icarus_pmtsimulationalg_202202_noise # from pmtsimulation_icarus.fcl

#
# enabled readout window
Expand Down
4 changes: 2 additions & 2 deletions fcl/detsim/commissioning/run4759like_detsim_icarus.fcl
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
#

#include "services_common_icarus.fcl"
#include "opdetsim_pmt_icarus.fcl"
#include "pmtsimulation_icarus.fcl"
#include "rootoutput_icarus.fcl"

process_name: DetSim4759
Expand All @@ -38,7 +38,7 @@ services: @local::icarus_common_services # from services_common_icarus.fcl
physics: {
producers: {
opdaq: {
@table::icarus_simpmt_noise # from opdetsim_pmt_icarus.fcl
@table::icarus_pmtsimulationalg_202202_noise # from pmtsimulation_icarus.fcl

#
# enabled readout window
Expand Down
3 changes: 3 additions & 0 deletions fcl/detsim/detsim_1d_icarus.fcl
Original file line number Diff line number Diff line change
Expand Up @@ -99,3 +99,6 @@ services.Geometry.GDML: "icarus_complete_20220518_overburden.gdml"
services.Geometry.ROOT: "icarus_complete_20220518_overburden.gdml"
physics.producers.crtdaq.G4ModuleLabel: "largeant"
physics.producers.opdaq.InputModule: "largeant"
physics.producers.opdaq.ApplyTimingDelays: false # keep false for non-overlay MC
physics.producers.opdaq.UseGainDatabase: false # keep false for non-overlay MC
physics.producers.opdaq.UseChannelStatusDatabase: false # keep false for non-overlay MC
3 changes: 3 additions & 0 deletions fcl/detsim/detsim_2d_icarus.fcl
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,6 @@ outputs: {
services.Geometry.GDML: "icarus_complete_20220518_overburden.gdml"
services.Geometry.ROOT: "icarus_complete_20220518_overburden.gdml"
physics.producers.crtdaq.G4ModuleLabel: "shifted"
physics.producers.opdaq.ApplyTimingDelays: false # keep false for non-overlay MC
physics.producers.opdaq.UseGainDatabase: false # keep false for non-overlay MC
physics.producers.opdaq.UseChannelStatusDatabase: false # keep false for non-overlay MC
3 changes: 3 additions & 0 deletions fcl/detsim/detsim_2d_icarus_refactored.fcl
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,8 @@ outputs: {

physics.producers.crtdaq.G4ModuleLabel: "shifted"
physics.producers.opdaq.InputModule: "pdfastsim"
physics.producers.opdaq.ApplyTimingDelays: false # keep false for non-overlay MC
physics.producers.opdaq.UseGainDatabase: false # keep false for non-overlay MC
physics.producers.opdaq.UseChannelStatusDatabase: false # keep false for non-overlay MC
physics.producers.shifted.InitAuxDetSimChannelLabel: "genericcrt"
physics.producers.shifted.InitSimPhotonsLabel: "pdfastsim"
7 changes: 7 additions & 0 deletions fcl/detsim/detsim_2d_icarus_refactored_Run4.fcl
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#include "detsim_2d_icarus_refactored.fcl"

# Run3/4 optical tune
physics.producers.opdaq: @local::icarus_simpmt_run4
physics.producers.opdaq.ApplyTimingDelays: false # keep false for non-overlay MC
physics.producers.opdaq.UseGainDatabase: false # keep false for non-overlay MC
physics.producers.opdaq.UseChannelStatusDatabase: false # keep false for non-overlay MC
7 changes: 7 additions & 0 deletions fcl/detsim/detsim_2d_icarus_refactored_overlay.fcl
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
#include "detsim_2d_icarus_refactored.fcl"

physics.producers.daq: @local::icarus_simwire_wirecell_shifted_overlay

# turn off mc noise on pmt waveforms
physics.producers.opdaq: @local::icarus_simpmt_nonoise
physics.producers.opdaq.ApplyTimingDelays: true
physics.producers.opdaq.UseGainDatabase: true
physics.producers.opdaq.UseChannelStatusDatabase: true

7 changes: 7 additions & 0 deletions fcl/detsim/detsim_2d_icarus_refactored_overlay_Run4.fcl
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#include "detsim_2d_icarus_refactored_overlay.fcl"

# Run3/4 optical tune (with no noise)
physics.producers.opdaq: @local::icarus_simpmt_run4_nonoise
physics.producers.opdaq.ApplyTimingDelays: true
physics.producers.opdaq.UseGainDatabase: true
physics.producers.opdaq.UseChannelStatusDatabase: true
3 changes: 3 additions & 0 deletions fcl/detsim/detsim_2d_icarus_refactored_yzsim.fcl
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,9 @@ outputs: {

physics.producers.crtdaq.G4ModuleLabel: "shifted"
physics.producers.opdaq.InputModule: "pdfastsim"
physics.producers.opdaq.ApplyTimingDelays: false # keep false for non-overlay MC
physics.producers.opdaq.UseGainDatabase: false # keep false for non-overlay MC
physics.producers.opdaq.UseChannelStatusDatabase: false # keep false for non-overlay MC
physics.producers.shifted.InitAuxDetSimChannelLabel: "genericcrt"
physics.producers.shifted.InitSimPhotonsLabel: "pdfastsim"
physics.producers.filtersed.InitSimEnergyDepositLabel: "shifted"
Expand Down
6 changes: 6 additions & 0 deletions fcl/detsim/detsim_2d_icarus_refactored_yzsim_Run4.fcl
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
#include "detsim_2d_icarus_refactored_yzsim.fcl"

physics.producers.daq.wcls_main.params.YZScaleMapJson: "yzmap_gain_icarus_v4_run4.json"

# Run3/4 optical tune
physics.producers.opdaq: @local::icarus_simpmt_run4
physics.producers.opdaq.ApplyTimingDelays: false # keep false for non-overlay MC
physics.producers.opdaq.UseGainDatabase: false # keep false for non-overlay MC
physics.producers.opdaq.UseChannelStatusDatabase: false # keep false for non-overlay MC
3 changes: 3 additions & 0 deletions fcl/detsim/detsim_2d_icarus_refactored_yzsim_notrigger.fcl
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,6 @@ outputs: {
}

physics.producers.opdaq.InputModule: "pdfastsim"
physics.producers.opdaq.ApplyTimingDelays: false # keep false for non-overlay MC
physics.producers.opdaq.UseGainDatabase: false # keep false for non-overlay MC
physics.producers.opdaq.UseChannelStatusDatabase: false # keep false for non-overlay MC
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
#include "detsim_2d_icarus_refactored_yzsim_notrigger.fcl"

physics.producers.daq: @local::icarus_simwire_wirecell_yz_overlay

# turn off mc noise on pmt waveforms
physics.producers.opdaq: @local::icarus_simpmt_nonoise
physics.producers.opdaq.ApplyTimingDelays: true
physics.producers.opdaq.UseGainDatabase: true
physics.producers.opdaq.UseChannelStatusDatabase: true
7 changes: 7 additions & 0 deletions fcl/detsim/detsim_2d_icarus_refactored_yzsim_overlay.fcl
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,10 @@ physics.producers.daq0: @local::icarus_simwire_wirecell_yz_overlay_0
physics.producers.daq1: @local::icarus_simwire_wirecell_yz_overlay_1
physics.producers.daq2: @local::icarus_simwire_wirecell_yz_overlay_2
physics.producers.daq3: @local::icarus_simwire_wirecell_yz_overlay_3

# turn off mc noise on pmt waveforms
physics.producers.opdaq: @local::icarus_simpmt_nonoise
physics.producers.opdaq.ApplyTimingDelays: true
physics.producers.opdaq.UseGainDatabase: true
physics.producers.opdaq.UseChannelStatusDatabase: true

6 changes: 6 additions & 0 deletions fcl/detsim/detsim_2d_icarus_refactored_yzsim_overlay_Run4.fcl
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
#include "detsim_2d_icarus_refactored_yzsim_overlay.fcl"

physics.producers.daq.wcls_main.params.YZScaleMapJson: "yzmap_gain_icarus_v4_run4.json"

# Run3/4 optical tune (with no noise)
physics.producers.opdaq: @local::icarus_simpmt_run4_nonoise
physics.producers.opdaq.ApplyTimingDelays: true
physics.producers.opdaq.UseGainDatabase: true
physics.producers.opdaq.UseChannelStatusDatabase: true
8 changes: 8 additions & 0 deletions fcl/detsim/partial/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Install fcl files in /job subdirectory.
install_fhicl()

# Also put a copy in the source tree.

FILE(GLOB fcl_files *.fcl)
install_source( EXTRAS ${fcl_files} )

40 changes: 40 additions & 0 deletions fcl/detsim/partial/detsim_opdetonly_icarus.fcl
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
#
# File: detsim_opdetonly_icarus.fcl
# Purpose: Simulation of the optical detector response.
# Date: January 27, 2025
# Author: Gianluca Petrillo (petrillo@slac.stanford.edu)
#
# This job configuration runs the standard detector simulation, like
# `detsim_1d_icarus.fcl` does, but only for the optical detector.
#
#
# Output
# -------
#
# * `std::vector<raw::OpDetWaveform>` (`opdaq`): raw PMT waveforms
#
#
#
#
# Changes
# --------
#
# 20250127 (petrillo@slac.stanford.edu) [v1.0]
# original version (from `detsim_1d_icarus.fcl`)
#

#include "detsim_1d_icarus.fcl"

process_name: OpDetSim

services.DetPedestalService: @erase
services.ChannelStatusService: @erase
services.IICARUSChannelMap: @erase
services.SignalShapingICARUSService: @erase

# run only the `opdaq` module:
physics.producers: {
opdaq: @local::physics.producers.opdaq # simplify configuration removing all other producers
}
physics.simulate: [ opdaq ]

Loading