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
89b5994
fix sim label for PDFastSim
mvicenzi May 22, 2025
aa808ae
detsim_opdetonly_icarus.fcl: simulate only optical detector digitization
PetrilloAtWork Feb 8, 2025
5059f0e
Changed determination of the end of single photoelectron response tem…
PetrilloAtWork Feb 8, 2025
9b1acce
Updated `FastGaussianNoiseGeneratorAlg` documentation
PetrilloAtWork Apr 12, 2025
ad8a87e
SelectCathodeCrossingGenParticles: selects generated events with part…
PetrilloAtWork Jun 17, 2025
980fa3a
make MC2-var4 tune standard
mvicenzi Oct 29, 2025
5d226d7
simulate pmt timing delays in mc
mvicenzi Oct 29, 2025
4c90bfd
disable pmt mc noise for overlays
mvicenzi Oct 29, 2025
75a1387
add ophituncorrected + ophit flow for mc
mvicenzi Oct 30, 2025
90185a6
update stage0 flow for overlays
mvicenzi Oct 30, 2025
b6e85fd
small fix
mvicenzi Nov 3, 2025
3a21af7
prelimanary reco gain tuning
mvicenzi Nov 4, 2025
c8b658b
add SPRRun3, make SPRRun2 default
mvicenzi Nov 10, 2025
835ff1b
nullify flash calibration
mvicenzi Nov 10, 2025
e2b2a6a
add run3 opdet tune, make run2 default
mvicenzi Nov 10, 2025
6ae6370
change run3->run4, update gain
mvicenzi Nov 12, 2025
1c4ad07
add run4 detsim fhicls
mvicenzi Nov 13, 2025
4aa117e
first attempt at detsim reprocessing fhicl
mvicenzi Nov 18, 2025
38358e2
fix typo
mvicenzi Nov 18, 2025
227d4ff
Trigger simulation modules: support input tag with process name
PetrilloAtWork Nov 18, 2025
3790b68
Apply suggestions from GIT Copilot code review
PetrilloAtWork Nov 19, 2025
39a7a59
fix to detsim reprocessing
mvicenzi Nov 19, 2025
b7b6d5e
reprocessing opdetonly overlay fhicl
mvicenzi Nov 19, 2025
e4ae307
leave default tags
mvicenzi Nov 19, 2025
dc24177
add initial recalibrator module
mvicenzi Dec 3, 2025
b136e13
fix compilation for recalibrator
mvicenzi Dec 3, 2025
9df1310
link online corrections service to recalibrator
mvicenzi Dec 4, 2025
b76b224
link locally-provided old timing corrections
mvicenzi Dec 4, 2025
caf2544
fix timing recalibration
mvicenzi Dec 4, 2025
4d9da25
remove custom config, fixed indentation
mvicenzi Dec 4, 2025
91b1df1
chop off flat waveform tail in overlays
mvicenzi Dec 4, 2025
a4b8422
restore legacy defaults for backward compatibility
mvicenzi Dec 4, 2025
bdaa0f8
fixed documentation
mvicenzi Dec 4, 2025
45dd3cd
add opdetonly MCstage0 fhicls for reprocessing
mvicenzi Dec 5, 2025
496e3cc
fix stage0 reprocessing fhicls
mvicenzi Dec 8, 2025
5beee5e
adjust stage1 compatibility
mvicenzi Dec 8, 2025
94c5088
add data reprocessing fhicl(s)
mvicenzi Dec 8, 2025
ad179a5
update file names
mvicenzi Dec 8, 2025
2939e85
ICARUSFlashFinder: added Doxygen-style header
PetrilloAtWork Dec 18, 2025
c7bb7c5
ICARUSFlashFinder: turned into shared module
PetrilloAtWork Dec 18, 2025
82f1ca5
ICARUSFlashFinder: FHiCL configuration validation
PetrilloAtWork Dec 18, 2025
da32908
ICARUSFlashFinder: code updates
PetrilloAtWork Dec 18, 2025
1b0003f
ICARUSFlashFinder: removed hit recalibration (PECalib)
PetrilloAtWork Dec 18, 2025
dbc2ffe
dump_opflashes_icarus.fcl: dump reconstructed flashes on text file
PetrilloAtWork Dec 18, 2025
a8353f1
Adopting corrections from GitHub Copilot
PetrilloAtWork Dec 18, 2025
6ccfdf8
Removed obsolete icarus_flashcalib.fcl
PetrilloAtWork Dec 18, 2025
57ca8b9
tentative debug tree
mvicenzi Jan 13, 2026
703963d
tweaks for success build
mvicenzi Jan 13, 2026
475557d
move to other loop
mvicenzi Jan 13, 2026
6ddc1cd
save debug only with photons
mvicenzi Jan 13, 2026
971ca7c
store photon start position in debug
mvicenzi Jan 13, 2026
67b5e9f
remove old variables
mvicenzi Jan 13, 2026
ae74366
remove forgotten variable
mvicenzi Jan 13, 2026
4609a47
first commit, compiles and does nothing
Dec 12, 2025
d2deb20
changed namespaces
Dec 12, 2025
da458ea
basic struct/map for holding spe areas
Dec 12, 2025
daa2fb0
working version getting area from database and initial database file
Dec 12, 2025
17c05a9
updated tags in db file
Dec 12, 2025
fc373f9
add fcl file for debugging spe area service
Dec 12, 2025
808d6e5
PMT calibration service code review
PetrilloAtWork Dec 20, 2025
b38a5cc
update pmt calibration service provider
Jan 14, 2026
fca6bad
removed db file + copilot suggestions
mvicenzi Jan 15, 2026
46b05ae
interface SPEArea DB with ophit recalibrator
mvicenzi Jan 19, 2026
be1c00a
fix cout of current areatag
mvicenzi Jan 19, 2026
d0dc424
rework stage0 optical workflow for data, mc, overlay
mvicenzi Jan 19, 2026
fea7374
simulate pmt timing delays only for overlay flow
mvicenzi Jan 19, 2026
4d3ac06
remove ophituncurrected from legacy mc flow
mvicenzi Jan 19, 2026
61ed4aa
tune mcophit
mvicenzi Jan 19, 2026
034759b
make applytimingdelays explicit
mvicenzi Jan 20, 2026
eba271d
add run3/4 stage0 overlay light tunes
mvicenzi Feb 10, 2026
06c621e
remove useless while loop
mvicenzi Mar 5, 2026
10531d4
fix-up comment
mvicenzi Mar 5, 2026
1d03225
use microseconds, pass service as pointer not reference
mvicenzi Mar 5, 2026
8b09af5
fixes + indentation
mvicenzi Mar 5, 2026
b7e4aac
minor fixes
mvicenzi Mar 5, 2026
51c806e
add documentation in fhicls
mvicenzi Mar 5, 2026
2237942
use mf:errorlog
mvicenzi Mar 5, 2026
f9dc193
improve documentation
mvicenzi Mar 5, 2026
30469f1
more documentation please
mvicenzi Mar 5, 2026
d457494
augment gain db service
mvicenzi Mar 12, 2026
3426a89
add gain service provider interface
mvicenzi Mar 12, 2026
213f412
fix linking for db interface
mvicenzi Mar 12, 2026
a68acd8
update speareas database tag
mvicenzi Mar 16, 2026
16ed4f7
add pmt channel status service
mvicenzi Mar 16, 2026
a6a8814
tie up the service
mvicenzi Mar 16, 2026
1f8be5c
fix linking
mvicenzi Mar 16, 2026
163a15b
change kOn to kGood
mvicenzi Mar 16, 2026
7f7f5b0
use channel status service in pmtsim
mvicenzi Mar 16, 2026
1453393
update fcls for legacy vs overlay flow
mvicenzi Mar 16, 2026
832c051
switch reco to local entry point
mvicenzi Mar 17, 2026
e2a1441
fix sharing factory with ped algos
mvicenzi Mar 17, 2026
3f174d8
fix standard calibrator + add channel status service
mvicenzi Mar 17, 2026
e89820c
remove conflicting defaults
mvicenzi Mar 17, 2026
f51bcef
remove mcophit from mc-overlays
mvicenzi Mar 17, 2026
994ce67
never hold service pointers, you fool
mvicenzi Mar 18, 2026
742f4b3
expose integral and bias from sampled waveform tool
mvicenzi Mar 18, 2026
47b81f4
plug in db gain and spread in simulation
mvicenzi Mar 18, 2026
53fa682
fix variable name
mvicenzi Mar 18, 2026
33988a2
keep database use false for default non-overlay MC
mvicenzi Mar 18, 2026
ba7c1ee
add forgotten service
mvicenzi Mar 18, 2026
b1574bc
improve prints
mvicenzi Mar 18, 2026
15da565
better printing
mvicenzi Mar 18, 2026
77edef3
apply integral definition bias
mvicenzi Mar 18, 2026
22fe186
update db tag
mvicenzi Mar 18, 2026
01a7b9b
update variable names
mvicenzi Mar 23, 2026
0e1ab8f
TailNSigmaThreshold is wrong, should be TailNSigma
mvicenzi Mar 25, 2026
1b7c19c
re-tune flash algo for new SPEAreas to match past performance
mvicenzi Mar 25, 2026
3c11db1
add ophit integral to flashana tree
mvicenzi Mar 25, 2026
81b15ba
add run number ovverides to PMT db services
mvicenzi Apr 6, 2026
71488cc
introducing vertical track flash/wf module
mvicenzi Apr 15, 2026
ac354dd
make waveforms optional, add total PE per pmt
mvicenzi Apr 22, 2026
09a97a6
update transit time
mvicenzi May 4, 2026
5966cbd
TriggerSimulationOnGates: added fixed configurable trigger delay
PetrilloAtWork May 29, 2024
8225320
Update after TimeIntervalConfig breaking change
PetrilloAtWork Apr 16, 2026
17f6784
SimPMTIcarus: reworked internals
PetrilloAtWork Apr 16, 2026
9411382
SimPMTIcarus: produce baseline data products and associations
PetrilloAtWork Apr 16, 2026
1e0e978
PMTsimulationAlg: changed waveform superposition rounding, and defaul…
PetrilloAtWork Apr 16, 2026
5fafca1
Maintenance commit
PetrilloAtWork Apr 16, 2026
67d81ce
OverlayPMTwaveforms: dedicated PMT waveform overlay module
PetrilloAtWork Apr 16, 2026
97769cd
Simulation timescale changed to the "shifted" time
PetrilloAtWork Apr 20, 2026
aeefc3e
Trigger configuration maintenance
PetrilloAtWork Apr 20, 2026
e994d97
MC trigger simulation baselines now read from a data product.
PetrilloAtWork Apr 20, 2026
813ca8b
Trigger simulation gate now refers to simulation time instead of beam…
PetrilloAtWork Apr 20, 2026
a4a8342
TriggerSimulationOnGates: fix beam gate output
PetrilloAtWork Apr 22, 2026
a909aa8
Added trigger time delay to the trigger simulation
PetrilloAtWork Apr 20, 2026
69f7f39
Filtering disables in Stage0 MC to allow for fast cloning
PetrilloAtWork Apr 21, 2026
8d7623c
Retuned trigger-flash delay in TPC-PMT matching
PetrilloAtWork May 4, 2026
7125e06
Tuned beam gates to Run2 data
PetrilloAtWork May 7, 2026
35cbfb2
Using SBN (shared) GENIE configuration for BNB and NuMI
PetrilloAtWork Dec 5, 2024
568cfcc
Tuned BNB gate again (after enabling neutrino propagation time)
PetrilloAtWork May 8, 2026
68796ae
manageDataRunDefinitions.py version 1.1
PetrilloAtWork May 13, 2026
14ea0d8
Removed configuration override used in development
PetrilloAtWork May 14, 2026
e464b54
Indentation fix
PetrilloAtWork May 14, 2026
99a40bc
TriggerSimulationOnGates module: fixed trigger timestamp encoding
PetrilloAtWork May 15, 2026
aa464e9
TriggerSimulationOnGates: timestamp can be imported from a data product
PetrilloAtWork May 15, 2026
5c52f8d
TriggerSimulationOnGates module: minor bug fixes
PetrilloAtWork May 26, 2026
0a702eb
TriggerSimulationOnGates module: documentation fixes
PetrilloAtWork May 26, 2026
4bd36d0
CRT hit reconstruction: add time offset only in data
PetrilloAtWork May 27, 2026
f4db554
CRT hit reconstruction: ignore trigger timestamp for simulation
PetrilloAtWork May 27, 2026
48d6858
"Answered" Tracy Usher's questions on Stage0 workflow
PetrilloAtWork May 27, 2026
d9c6443
MC Stage0 CRT/PMT matching uses shifted trigger to determine in-beamness
PetrilloAtWork Jun 2, 2026
6d7bf88
Code maintenance
PetrilloAtWork Jun 10, 2026
ae56eef
RebuildShiftedTrigger: makeup module for reprocessing Monte Carlo sam…
PetrilloAtWork Jun 10, 2026
25a4e9b
Minor fix to simulation workflow
PetrilloAtWork Jun 10, 2026
f45c0c8
FixBeamGateInfo: changed gate selection
PetrilloAtWork Jun 10, 2026
e09a458
OverlayPMTwaveforms: more information when baseline not found
PetrilloAtWork Jun 12, 2026
8461fa5
MC reprocessing updated to reflect changes in workflow
PetrilloAtWork Jun 12, 2026
a8fd2a5
DataProductReader: prints available data products and their tags
PetrilloAtWork Jun 12, 2026
397510d
Apply suggestions from code review
PetrilloAtWork Jun 13, 2026
0a08c23
Custom changes after automated review report
PetrilloAtWork Jun 13, 2026
a29f754
Fixed Run4 reprocessing misfiring FHiCL override
PetrilloAtWork Jun 13, 2026
d832906
change default pmt channel status to off
mvicenzi Jun 13, 2026
3b11b44
detsim_opdetonly_icarus_overlay_reprocessing_run2.fcl: fixed time ref…
PetrilloAtWork Jul 23, 2026
0fb788e
Updated CAFMaker configuration (applies shift to beam gate time)
PetrilloAtWork Jul 23, 2026
415a63b
icarus_data version dependency bump: v10_20_04
PetrilloAtWork Jul 16, 2026
0e5e766
bugfix: do not recalibrate hits flagged as bad in status db
mvicenzi Jul 27, 2026
42bdce0
include initial tail suppression
mvicenzi Jun 18, 2026
e70354f
fix casting
mvicenzi Jun 19, 2026
06e8c51
move printout
mvicenzi Jun 21, 2026
0c626c4
fix time constant
mvicenzi Jun 23, 2026
ff4af3c
test distance dependent survival
mvicenzi Jul 14, 2026
d1294b5
update run2 tailsupp and survival distance tune
mvicenzi Jul 21, 2026
80d3cf1
improve documentation, clarify currently missing run4 tune
mvicenzi Jul 28, 2026
a5bee55
Update icaruscode/PMT/Algorithms/PMTsimulationAlg.cxx
mvicenzi Jul 29, 2026
b559459
Apply suggestion from @PetrilloAtWork
mvicenzi Jul 29, 2026
40c301d
switch to fhicl::OptionalTable + print DistanceSurvival settings as well
mvicenzi Jul 29, 2026
6d3d05c
add reprocessing stage0 fhicls with no DB use
mvicenzi Aug 21, 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
2 changes: 2 additions & 0 deletions fcl/SkipTesting.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ services_compat_no_overburden_icarus_v3.fcl
services_compat_overburden_icarus_v3.fcl
set_caf_calconst.fcl

override_services_for_simulation.fcl


################################################################################
# broken, won't fix
Expand Down
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