Skip to content

Commit 2e61dc5

Browse files
Merge pull request #848 from SBNSoftware/feature/separate_blip_hitfinding_fcl
changes for special blip processing
2 parents 7f2eb3a + 5ff4f33 commit 2e61dc5

14 files changed

+37
-18
lines changed

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/caf/cafmakerjob_sbnd_data_sce.fcl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ physics.producers.cafmaker.OpT0Label: "opt0finderSCE"
1414
physics.producers.cafmaker.TPCPMTBarycenterMatchLabel: "tpcpmtbarycentermatchingSCE"
1515
physics.producers.cafmaker.CVNLabel: "cvnSCE"
1616
physics.producers.cafmaker.CorrectedOpFlashLabel: "lightpropagationcorrectionSCE"
17+
physics.producers.cnnid.WireLabel: "sptpc2d:dnnsp"
1718

1819
physics.producers.cnnid.ClusterModuleLabel: "pandoraSCE"
1920
physics.producers.cnnid.PFParticleModuleLabel: "pandoraSCE"

sbndcode/JobConfigurations/standard/caf/cafmakerjob_sbnd_sce.fcl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ physics.producers.cafmaker.CVNLabel: "cvnSCE"
1818

1919
physics.producers.cnnid.ClusterModuleLabel: "pandoraSCE"
2020
physics.producers.cnnid.PFParticleModuleLabel: "pandoraSCE"
21+
physics.producers.cnnid.WireLabel: "simtpc2d:dnnsp"
2122

2223
physics.producers.pandoraTrackMCS.TrackLabel: "pandoraSCETrack"
2324
physics.producers.pandoraTrackRange.TrackLabel: "pandoraSCETrack"

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

100644100755
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ sbnd_reco1_drops: [
1515
, "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

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

100644100755
File mode changed.

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

100644100755
Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,12 @@ sbnd_reco1_producers:{
4040

4141
### hit-finder producers
4242
gaushit: @local::sbnd_gaushitfinder
43+
specialblipgaushit: @local::sbnd_gaushitfinder
4344
fasthit: @local::sbnd_fasthitfinder
4445

4546
### Truth-matich for hits
4647
gaushitTruthMatch: @local::standard_mcparticlehitmatching
48+
blipgaushitTruthMatch: @local::standard_mcparticlehitmatching
4749

4850
### CRT reconstruction
4951
crtstrips: @local::crtstriphitproducer_sbnd
@@ -67,6 +69,8 @@ sbnd_reco1_producer_sequence: [
6769
#, opflashtpc1xarapuca
6870
, gaushit
6971
, gaushitTruthMatch
72+
, specialblipgaushit
73+
, blipgaushitTruthMatch
7074
, crtstrips
7175
, crtclustering
7276
, crtspacepoints
@@ -75,10 +79,14 @@ sbnd_reco1_producer_sequence: [
7579
]
7680

7781
#FIXME override the producer labels. This should really happen in the module's config fcl
78-
sbnd_reco1_producers.gaushit.CalDataModuleLabel: "simtpc2d:gauss"
82+
sbnd_reco1_producers.gaushit.CalDataModuleLabel: "simtpc2d:dnnsp"
7983
sbnd_reco1_producers.fasthit.DigitModuleLabel: "simtpc2d:daq"
8084
sbnd_reco1_producers.gaushitTruthMatch.HitParticleAssociations.HitModuleLabel: "gaushit"
81-
85+
sbnd_reco1_producers.specialblipgaushit.CalDataModuleLabel: "simtpc2d:gauss"
86+
sbnd_reco1_producers.specialblipgaushit.MinHitHeightPlane0: 8
87+
sbnd_reco1_producers.specialblipgaushit.MinHitHeightPlane1: 15
88+
sbnd_reco1_producers.specialblipgaushit.MinHitHeightPlane2: 5
89+
sbnd_reco1_producers.blipgaushitTruthMatch.HitParticleAssociations.HitModuleLabel: "specialblipgaushit"
8290
sbnd_reco1_filters: {
8391
#filter events based on the number of reconstructed hits (avoids overly messy data events)
8492
numberofhitsfilter: @local::sbnd_numberofhitsfilter

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

100644100755
Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ sbnd_reco2_producers:{
3030
### pandora
3131
pandora: @local::sbnd_pandora
3232
pandoraTrack: @local::sbnd_pandoraTrackCreation
33+
blipPandoraCopy: @local::sbnd_pandora
34+
blipPandoraTrackCopy:@local::sbnd_pandoraTrackCreation
3335
pandoraShower: @local::sbnd_incremental_pandoraModularShowerCreation
3436
pandoraShowerSBN: @local::sbnd_sbn_pandoraModularShowerCreation
3537
pandoraCalo: @local::sbnd_gnewcalomc
@@ -96,6 +98,8 @@ sbnd_reco2_producer_sequence: [
9698
rns
9799
, pandora
98100
, pandoraTrack
101+
, blipPandoraCopy
102+
, blipPandoraTrackCopy
99103
, pandoraShower
100104
, pandoraShowerSBN
101105
, pandoraCalo
@@ -200,7 +204,8 @@ sbnd_reco2_producers.crtspacepointmatchingSCE.MatchingAlg.TPCTrackLabel: "pandor
200204
sbnd_reco2_producers.crttrackmatchingSCE.TPCTrackModuleLabel: "pandoraSCETrack"
201205
sbnd_reco2_producers.crttrackmatchingSCE.PFPModuleLabel: "pandoraSCE"
202206
sbnd_reco2_producers.crttrackmatchingSCE.MatchingAlg.TPCTrackLabel: "pandoraSCETrack"
203-
207+
sbnd_reco2_producers.blipPandoraCopy.HitFinderModuleLabel: "specialblipgaushit"
208+
sbnd_reco2_producers.blipPandoraTrackCopy.PFParticleLabel: "blipPandoraCopy"
204209
sbnd_reco2_analyzers: {
205210
caloskim: @local::caloskim_nodigits_goldentracks
206211
crtana: @local::crtana_sbnd

sbndcode/JobConfigurations/standard/reco/reco1_data.fcl

100644100755
Lines changed: 5 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,11 @@ 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" ]
3940

40-
physics.producers.gaushit.CalDataModuleLabel: "sptpc2d:gauss"
41+
physics.producers.gaushit.CalDataModuleLabel: "sptpc2d:dnnsp"
42+
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, pandoraLikePidData,
44+
physics.reco2: [ pandora, pandoraTrack, blipPandoraCopy, blipPandoraTrackCopy, pandoraShower, pandoraShowerSBN, pandoraCaloData, pandoraPidData, pandoraLikePidData,
4545
cvn, opt0finder, crtveto, crtspacepointmatching, crttrackmatching, tpcpmtbarycentermatching,
4646
pandoraSCE, pandoraSCETrack, pandoraSCEShower, pandoraSCEShowerSBN, pandoraSCECaloData, pandoraSCEPidData, pandoraSCELikePidData,
4747
cvnSCE, opt0finderSCE, tpcpmtbarycentermatchingSCE, crtspacepointmatchingSCE, crttrackmatchingSCE,

sbndcode/JobConfigurations/standard/standard_detsim_sbnd.fcl

100644100755
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ physics:
6363
producers:
6464
{
6565
rns: { module_type: "RandomNumberSaver" }
66-
simtpc2d: @local::sbnd_wcls_simsp
66+
simtpc2d: @local::sbnd_wcls_simsp_bothrois
6767
crtsim: @local::sbnd_crtsim
6868
opdaq: @local::sbnd_opdetdigitizer
6969
}
@@ -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

0 commit comments

Comments
 (0)