Skip to content

Commit 0f1a621

Browse files
author
Jacob McLaughlin
committed
changes for special blip processing
1 parent 83c10a8 commit 0f1a621

8 files changed

Lines changed: 25 additions & 13 deletions

File tree

sbndcode/BlipRecoSBND/blipreco_configs.fcl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ BEGIN_PROLOG
55
# Main BlipAlg settings
66
sbnd_blipalg:
77
{
8-
HitProducer: "gaushit" #// input recob::Hits to use for blip reconstruction
9-
TrkProducer: "pandoraTrack" #// input recob::Tracks to use for blip reconstruction
8+
HitProducer: "specialblipgaushit" #// input recob::Hits to use for blip reconstruction
9+
TrkProducer: "blipPandoraTrackCopy" #// input recob::Tracks to use for blip reconstruction
1010
GeantProducer: "largeant" #// input sim::MCParticles (getting true particle info)
1111
SimEDepProducer: "ionandscint" #// input sim::SimEnergyDeposits (getting energy/electrons deposited)
1212
SimChanProducer: "simdrift" #// label for sim::SimChannels (getting drifted charge; optional)

sbndcode/JobConfigurations/standard/reco/config/drops_reco1.fcl

100644100755
Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,10 @@ sbnd_reco1_ml_drops: [
1212
sbnd_reco1_drops: [
1313
@sequence::detsim_drops
1414
, "drop raw::RawDigits_*_*_*"
15-
, "drop raw::OpDetWaveforms_*_*_*"
15+
#, "drop raw::OpDetWaveforms_*_*_*"
1616
, "drop *_fasthit_*_*"
1717
, "drop recob::Wires_*_wiener_*" #drop wiener wires
18+
, "drop recob::Wires_*_gauss_*"
1819
, @sequence::sbnd_reco1_ml_drops
1920
]
2021

@@ -34,6 +35,13 @@ sbnd_reco1_drops_selective: [ #Needed to maintain earlier workflows where some
3435
, "drop *_cluster3d_*_*" #drop all mlreco output
3536
]
3637

38+
sbnd_reco1_drops_data: [ #data specific drops to conserve space where needed
39+
"keep *_*_*_*",
40+
"drop *_cluster3d_*_*", #drop uneeded spine (mlreco) output
41+
"drop recob::Wires_*_gauss_*",
42+
"drop recob::Wires_*_wiener_*"
43+
]
44+
3745
sbnd_reco1_drops_keep_rawdigits: [
3846
@sequence::sbnd_reco1_drops_selective
3947
, "keep raw::RawDigit*_*_*_*"

sbndcode/JobConfigurations/standard/reco/config/drops_reco2.fcl

100644100755
File mode changed.

sbndcode/JobConfigurations/standard/reco/reco1_data.fcl

100644100755
Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#include "drops_reco1.fcl"
12
#include "wcsp_data_sbnd.fcl"
23
#include "opdeconvolution_sbnd_data.fcl"
34
#include "sbnd_ophitfinder_deco_data.fcl"
@@ -19,7 +20,7 @@ services:
1920
physics.producers:
2021
{
2122
@table::physics.producers
22-
sptpc2d: @local::sbnd_wcls_sp_data
23+
sptpc2d: @local::sbnd_wcls_sp_data_bothrois
2324
crtstrips: @local::crtstriphitproducer_data_sbnd
2425
crtclustering: @local::crtclusterproducer_data_sbnd
2526
crtspacepoints: @local::crtspacepointproducer_data_sbnd
@@ -31,10 +32,12 @@ physics.producers:
3132
opflashtpc1: @local::SBNDDecoSimpleFlashTPC1_data
3233
}
3334

34-
physics.reco1: [sptpc2d, gaushit, numberofhitsfilter, cluster3d, crtstrips,
35+
physics.reco1: [sptpc2d, gaushit, specialblipgaushit, numberofhitsfilter, cluster3d, crtstrips,
3536
crtclustering, crtspacepoints, crttracks, wfalign, opdecopmt, ophitpmt, opflashtpc0, opflashtpc1]
3637
physics.ana: [superadata]
3738

3839
outputs.out1.SelectEvents: [ "reco1" ]
40+
outputs.out1.outputCommands:[@sequence::sbnd_reco1_drops_data]
3941

40-
physics.producers.gaushit.CalDataModuleLabel: "sptpc2d:gauss"
42+
physics.producers.gaushit.CalDataModuleLabel: "sptpc2d:dnnsp"
43+
physics.producers.specialblipgaushit.CalDataModuleLabel: "sptpc2d:gauss"

sbndcode/JobConfigurations/standard/reco/reco2_data.fcl

100644100755
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ physics.producers:
4141
frameshift: @local::frameshift_data
4242
}
4343

44-
physics.reco2: [ pandora, pandoraTrack, pandoraShower, pandoraShowerSBN, pandoraCaloData, pandoraPidData,
44+
physics.reco2: [ pandora, pandoraTrack, blipPandoraCopy, blipPandoraTrackCopy, pandoraShower, pandoraShowerSBN, pandoraCaloData, pandoraPidData,
4545
cvn, opt0finder, crtveto, crtspacepointmatching, crttrackmatching, tpcpmtbarycentermatching,
4646
pandoraSCE, pandoraSCETrack, pandoraSCEShower, pandoraSCEShowerSBN, pandoraSCECaloData, pandoraSCEPidData,
4747
cvnSCE, opt0finderSCE, tpcpmtbarycentermatchingSCE, crtspacepointmatchingSCE, crttrackmatchingSCE,

sbndcode/JobConfigurations/standard/standard_detsim_sbnd.fcl

100644100755
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,4 +93,4 @@ outputs:
9393
]
9494
}
9595
}
96-
physics.producers.simtpc2d.wcls_main.structs.enableLowROIThresholds: false
96+
physics.producers.simtpc2d.wcls_main.structs.enableLowROIThresholds: true

sbndcode/JobConfigurations/standard/standard_reco1_sbnd.fcl

100644100755
File mode changed.

sbndcode/WireCell/wcsimsp_sbnd.fcl

100644100755
Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ sbnd_wcls_simsp.wcls_main.configs: ["pgrapher/experiment/sbnd/wcls-sim-drift-de
3535
sbnd_wcls_simsp.wcls_main.inputers: ["wclsSimDepoSetSource:"]
3636
sbnd_wcls_simsp.wcls_main.outputers:["wclsDepoFluxWriter:postdrift",
3737
# "wclsFrameSaver:simdigits" , # <- by default, do not save RawDigits. Uncomment this line to save RawDigits and set
38-
"wclsFrameSaver:spsaver"
38+
"wclsFrameSaver:spsaver",
39+
"wclsFrameSaver:dnnsaver"
3940
]
4041
sbnd_wcls_simsp.wcls_main.params: {
4142
## This locates the input SimEnergyDeposits in the art::Event
@@ -64,7 +65,7 @@ sbnd_wcls_simsp.wcls_main.params: {
6465

6566
dnnroi_model_p0: "DNN_ROI/plane0.ts"
6667
dnnroi_model_p1: "DNN_ROI/plane1.ts"
67-
roi: "trad"
68+
roi: "both"
6869
}
6970

7071
sbnd_wcls_simsp.wcls_main.structs: {
@@ -81,7 +82,7 @@ sbnd_wcls_simsp.wcls_main.structs: {
8182
nticks: 3427
8283
nchunks: 2 # dummy for trad
8384
tick_per_slice: 4 # dummy for trad
84-
enableLowROIThresholds: "false"
85+
enableLowROIThresholds: "true"
8586
}
8687

8788
# ------------------------------------------------------------------------------------ #
@@ -232,8 +233,8 @@ sbnd_wcls_samples_tru.wcls_main.structs: {
232233
}
233234
#---------------------------------------------------Low threshold setting ----------------
234235
sbnd_wcls_simsp_low: @local::sbnd_wcls_simsp
235-
sbnd_wcls_simsp_low.wcls_main.outputers: ["wclsDepoFluxWriter:postdrift", "wclsFrameSaver:dnnsaver"]
236-
sbnd_wcls_simsp_low.wcls_main.params.roi: "dnn"
236+
sbnd_wcls_simsp_low.wcls_main.outputers: ["wclsDepoFluxWriter:postdrift", "wclsFrameSaver:spsaver", "wclsFrameSaver:dnnsaver"]
237+
sbnd_wcls_simsp_low.wcls_main.params.roi: "both"
237238
sbnd_wcls_simsp_low.wcls_main.structs.nchunks: 2 # should match training config
238239
sbnd_wcls_simsp_low.wcls_main.structs.tick_per_slice: 4 # should match training config
239240
sbnd_wcls_simsp_low.wcls_main.structs.enableLowROIThresholds: "true"

0 commit comments

Comments
 (0)