Skip to content

Commit 0a0c708

Browse files
authored
Merge branch 'develop' into feature/hlay_updated_systtools_fcls
2 parents 0c7f27e + dd998d5 commit 0a0c708

69 files changed

Lines changed: 665 additions & 786 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.

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: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,11 @@ physics:
124124
end_paths: [ stream1 ]
125125
}
126126

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+
127132
physics.producers.vertexCharge.CaloAlg: @local::sbnd_calorimetryalgmc
128133
physics.producers.vertexStub.CaloAlg: @local::sbnd_calorimetryalgmc
129134

sbndcode/JobConfigurations/standard/caf/cafmakerjob_sbnd_sce.fcl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ physics.producers.cafmaker.CRTSpacePointMatchLabel: "crtspacepointmatchingSCE"
1212
physics.producers.cafmaker.SBNDCRTTrackMatchLabel: "crttrackmatchingSCE"
1313
physics.producers.cafmaker.CRTHitMatchLabel: "pandoraSCETrackCRTHit"
1414
physics.producers.cafmaker.CRTTrackMatchLabel: "pandoraSCETrackCRTTrack"
15+
physics.producers.cafmaker.OpT0Label: "opt0finderSCE"
1516

1617
physics.producers.cnnid.ClusterModuleLabel: "pandoraSCE"
1718
physics.producers.cnnid.PFParticleModuleLabel: "pandoraSCE"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#include "standard_detsim_sbnd.fcl"
22

33
#include "3drift_services_sbnd.fcl"
4-
#include "enable_spacecharge_services_sbnd.fcl"
4+
#include "enable_spacecharge_services_sbnd_2D_DriftSimOnly.fcl"

0 commit comments

Comments
 (0)