Skip to content

Commit 1846a00

Browse files
committed
Merge branch 'release/v09_84_00_01'
2 parents 9ff8327 + 71485a6 commit 1846a00

82 files changed

Lines changed: 697 additions & 814 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@
1515

1616
cmake_minimum_required(VERSION 3.20 FATAL_ERROR)
1717

18-
set(${PROJECT_NAME}_CMAKE_PROJECT_VERSION_STRING 09.83.01)
18+
set(${PROJECT_NAME}_CMAKE_PROJECT_VERSION_STRING 09.84.00.01)
1919
find_package(cetmodules REQUIRED)
2020
project(sbndcode LANGUAGES CXX)
2121

2222
# for CI:
23-
# project(sbndcode VERSION 09.83.01)
23+
# project(sbndcode VERSION 09.84.00.01)
2424

2525
message(STATUS "\n")
2626
message(STATUS "================================= ${PROJECT_NAME} =================================")

sbndcode/Commissioning/fcls/detsim_comm_sbnd.fcl

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,9 @@
1111

1212
# Do not apply optical triggers (done to save the full waveform)
1313
physics.producers.opdaq.ApplyTriggers: false
14+
15+
## need both of the below lines to save rawdigits!
16+
physics.producers.simtpc2d.wcls_main.outputers: [ "wclsDepoFluxWriter:postdrift",
17+
"wclsFrameSaver:simdigits" , # adding this line asks wcls to save raw digits
18+
"wclsFrameSaver:spsaver"]
19+
physics.producers.simtpc2d.wcls_main.params.save_simdigits: "true" # needs to be a string!!
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#include "detsim_comm_sbnd.fcl"
22

3-
#include "enable_spacecharge_services_sbnd.fcl"
3+
#include "enable_spacecharge_services_sbnd_2D_DriftSimOnly.fcl"

sbndcode/Commissioning/fcls/run_hitdumper.fcl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ physics.producers.fasthit.SkipInd: false
132132
# this many widths to each side. Original window is above threshold.
133133
# Both thresh and larger window in this file are appropriate only when
134134
# noise is turned off.
135+
physics.producers.fasthit.DigitModuleLabel: "simtpc2d:daq"
135136
physics.producers.fasthit.IncludeMoreTail: 3.0
136137
physics.producers.fasthit.ColMinWidth: 100.0
137138
physics.producers.fasthit.UncompressWithPed: false

sbndcode/Commissioning/fcls/run_muontrack.fcl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ physics.analyzers.hitdumper.readMuonHits: true
106106
physics.analyzers.hitdumper.SelectEvents: [reco]
107107

108108
# set thresholds
109+
physics.producers.fasthit.DigitModuleLabel: "simtpc2d:daq"
109110
physics.producers.fasthit.MinSigInd: 15.0
110111
physics.producers.fasthit.MinSigCol: 15.0
111112
physics.producers.fasthit.SkipInd: false

sbndcode/JobConfigurations/README

Lines changed: 0 additions & 17 deletions
This file was deleted.
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# SBND Core FHiCL Files
2+
3+
The intended operation of the fcl workflows is that the `standard-*` fcls run the standard workflow. This isn't currently true and should be acknowledged here. The WireCell 2D TPC simulation/signal processing workflow has now been implemented into the `standard-*` fcls, and the 1D simulation is now deprecated. The main deviation of the *core* workflow (described below) from the `standard-*` fcls is the inclusion of the space charge simulation. The *core* workflow also includes the dropping of some heavy data products (hence the `lite` suffix).
4+
5+
At the time of writing, the core workflow (for BNB + Dirt + Cosmics) is the following:
6+
7+
- `prodoverlay_corsika_cosmics_proton_genie_rockbox_sce.fcl`
8+
- `g4_sce_dirt_filter_lite.fcl` (does not include TPC electron drift simulation)
9+
- `detsim_sce_lite.fcl` (includes TPC drift simulation, TPC electronics simulation, and signal processing)
10+
- `reco1_sce_lite.fcl`
11+
- `reco2_sce.fcl`
12+
13+
This may well change over the coming months, and this README should be updated to reflect this.
14+
15+
** ALERT **
16+
17+
Due to changes implemented in sbndcode PRs #408 and #409 the 1D simulation fcls will not work out of the box, they will need editing by experts!
18+
19+
Henry Lay & Lynn Tung - Feb 2024

sbndcode/JobConfigurations/base/reco_sbnd.fcl

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -202,10 +202,10 @@ physics:
202202
, opflashtpc1
203203
, opflashtpc0xarapuca
204204
, opflashtpc1xarapuca
205-
, caldata
205+
# , caldata
206206
, gaushit
207-
, fasthit
208-
# , linecluster
207+
# , fasthit
208+
# , linecluster
209209
, gaushitTruthMatch
210210
# , rffhit
211211
# , corner
@@ -301,10 +301,11 @@ physics.trigger_paths: [ fullreco ]
301301
#physics.producers.opflash.InputModule: "optreadout"
302302
#physics.producers.opflash.GenModule: "generator"
303303

304-
physics.producers.caldata.DigitModuleLabel: "daq"
304+
# physics.producers.caldata.DigitModuleLabel: "daq"
305305

306-
physics.producers.gaushit.CalDataModuleLabel: "caldata"
307-
physics.producers.fasthit.DigitModuleLabel: "daq"
306+
# physics.producers.gaushit.CalDataModuleLabel: "caldata"
307+
physics.producers.gaushit.CalDataModuleLabel: "simtpc2d:gauss"
308+
physics.producers.fasthit.DigitModuleLabel: "simtpc2d:daq"
308309
#physics.producers.rffhit.CalDataModuleLabel: "caldata"
309310

310311
#physics.producers.corner.CornerAlgParamSet.RawDataModuleLabel: "daq"
@@ -333,6 +334,8 @@ physics.producers.pandoraSCECalo.TrackIsFieldDistortionCorrected:true
333334
physics.producers.pandoraSCEPid.TrackModuleLabel: "pandoraSCETrack"
334335
physics.producers.pandoraSCEPid.CalorimetryModuleLabel: "pandoraSCECalo"
335336

337+
physics.analyzers.caloskim.SimChannelproducer: "simtpc2d:simpleSC"
338+
336339
physics.producers.opt0finderSCE.SliceProducer: "pandoraSCE"
337340
physics.producers.opt0finderSCE.TrackProducer: "pandoraSCETrack"
338341
physics.producers.opt0finderSCE.ShowerProducer: "pandoraSCEShowerSBN"
@@ -390,5 +393,3 @@ physics.producers.crtspacepointmatchingSCE.MatchingAlg.TPCTrackLabel: "pandoraSC
390393
physics.producers.crttrackmatchingSCE.TPCTrackModuleLabel: "pandoraSCETrack"
391394
physics.producers.crttrackmatchingSCE.PFPModuleLabel: "pandoraSCE"
392395
physics.producers.crttrackmatchingSCE.MatchingAlg.TPCTrackLabel: "pandoraSCETrack"
393-
394-
services.BackTrackerService.BackTracker.SimChannelModuleLabel: "simdrift"

sbndcode/JobConfigurations/standard/caf/cafmakerjob_sbnd.fcl

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@
3030

3131
#include "cafmaker_common_defs.fcl"
3232

33+
#include "eventweight_genie_systtools.fcl"
34+
3335
process_name: CAFmaker
3436

3537
services:
@@ -80,7 +82,7 @@ physics:
8082
# cosmictrack: @local::standard_cosmictrack #reco
8183
# windowtrack: @local::window_cosmictrack #reco
8284

83-
# Includes: pandoraTrackMCS, pandoraTrackRange, rns, genieweight, fluxweight
85+
# Includes: pandoraTrackMCS, pandoraTrackRange, rns, fluxweight
8486
@table::cafmaker_common_producers
8587

8688
flashtrig: @local::pmtflashtrigmaker_sbnd
@@ -100,6 +102,8 @@ physics:
100102
pandoraShowerRazzle: @local::razzle_sbnd
101103

102104
pandoraRazzled: @local::razzled_sbnd
105+
106+
systtools: @local::sbn_systtools
103107
}
104108
filters:{
105109
flashtrigfilter: @local::pmtflashtrigfilter_sbnd
@@ -120,6 +124,11 @@ physics:
120124
end_paths: [ stream1 ]
121125
}
122126

127+
# change tools in sbn to have 2D TPC sim/sp input
128+
physics.producers.pandoraShowerRazzle.SimChannelLabel: "simtpc2d:simpleSC"
129+
physics.producers.pandoraTrackDazzle.SimChannelLabel: "simtpc2d:simpleSC"
130+
physics.producers.cnnid.WireLabel: "simtpc2d:gauss"
131+
123132
physics.producers.vertexCharge.CaloAlg: @local::sbnd_calorimetryalgmc
124133
physics.producers.vertexStub.CaloAlg: @local::sbnd_calorimetryalgmc
125134

@@ -134,7 +143,6 @@ physics.producers.cafmaker.FlashMatchOpDetSuffixes: ["", "op", "ara", "opara"]
134143
physics.producers.cafmaker.FlashMatchSCECryoSuffixes: [""]
135144

136145
# Overwrite weight_functions label:
137-
physics.producers.genieweight.weight_functions: @local::physics.producers.genieweight.weight_functions_genie
138146
physics.producers.fluxweight.weight_functions: @local::physics.producers.fluxweight.weight_functions_flux
139147

140148
# input art file.

sbndcode/JobConfigurations/standard/caf/cafmakerjob_sbnd_3drift_sce_runfmatch_geniewgt.fcl

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)