Skip to content

Commit 69c531d

Browse files
author
Brinden Carlson
committed
update reco1 stage
1 parent 24823b8 commit 69c531d

7 files changed

Lines changed: 68 additions & 4 deletions

File tree

sbndcode/JobConfigurations/README.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,22 @@ At the time of writing, the core workflow (for BNB + Dirt + Cosmics) is the foll
66

77
- `prodoverlay_corsika_cosmics_proton_genie_rockbox_sce.fcl`
88
- `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)
9+
- `detsim_sce_overlay_lite.fcl` (includes TPC drift simulation, TPC electronics simulation, and signal processing)
1010
- `reco1_sce_lite.fcl`
1111
- `reco2_sce.fcl`
1212

13+
For single generator workflows (like intrinsic neutrino samples) the workflow is the follow:
14+
15+
- `<your-gen>.fcl`
16+
- `g4_sce_lite.fcl`
17+
- `detsim_sce_lite.fcl`
18+
- `reco1_sce_no_overlay_lite.fcl`
19+
- `reco2_sce.fcl`
20+
1321
This may well change over the coming months, and this README should be updated to reflect this.
1422

1523
** ALERT **
1624

1725
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!
1826

19-
Henry Lay & Lynn Tung - Feb 2024
27+
Henry Lay, Lynn Tung, Bear Carlson - Feb 2024

sbndcode/JobConfigurations/base/reco_drops.fcl

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,10 @@ BEGIN_PROLOG
1919

2020
reco_drops: [ @sequence::detsim_drops,
2121
"drop raw::RawDigits_*_*_*",
22-
"drop raw::OpDetWaveforms_*_*_*" ]
22+
"drop raw::OpDetWaveforms_*_*_*",
23+
"drop *_cluster3d_*_*", #drop all mlreco output
24+
"drop *_simplemerge_*_*" #drop all mlreco output
25+
]
2326

2427
END_PROLOG
2528

sbndcode/JobConfigurations/base/reco_sbnd.fcl

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,10 @@
4848
#include "scecorrections.fcl"
4949
#include "flashmatch_sbnd.fcl"
5050

51+
#include "simplemerge.fcl"
52+
#include "mlreco_sbnd.fcl"
53+
54+
5155
###include "hitparticleassociations.fcl"
5256

5357
#include "sbnd_trackcalo_skimmer.fcl"
@@ -189,6 +193,10 @@ physics:
189193
### Uncalibrated calorimetry producer for calibration caloskimmer
190194
caloskimCalorimetry: @local::caloskim_calorimetry
191195

196+
#ML Reco
197+
cluster3d: @local::standard_cluster3d
198+
simplemerge: @local::simplemerge
199+
192200
}
193201

194202
#define the producer and filter modules for this path, order matters,
@@ -211,6 +219,8 @@ physics:
211219
# , corner
212220
# , fuzzycluster
213221
, crtstrips
222+
, simplemerge #merges dropped particle collections into nominal
223+
, cluster3d
214224
]
215225

216226
reco2_no_opt0finder: [
@@ -245,9 +255,11 @@ physics:
245255

246256
analyzers:{
247257
caloskim: @local::caloskim_nodigits_goldentracks
258+
supera: @local::sbnd_supera
248259
}
249260

250261
caloskimana: [ caloskim ]
262+
superaana: [ supera ] #outputs larcv.root for use in mlreco
251263

252264
#define the output stream, there could be more than one if using filters
253265
stream1: [ out1 ]
@@ -276,7 +288,9 @@ outputs:
276288
#"drop sim::SimChannels_*_*_*",
277289
"drop sim::OpDetBacktrackerRecords_*_*_*",
278290
"drop *_linecluster_*_*",
279-
"drop *_fasthit_*_*"
291+
"drop *_fasthit_*_*",
292+
"drop *_cluster3d_*_*", #drop all mlreco output
293+
"drop *_simplemerge_*_*" #drop all mlreco output
280294
]
281295

282296

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
#-------------------------------------------------------------------
2+
#
3+
# Name: reco1_sce_no_overlay_lite.fcl
4+
#
5+
# Purpose: Handles simplemerge labels from single source generators
6+
#
7+
# Created: 28-Feb-2024 B. Carlson (bcarlson1@ufl.edu)
8+
#
9+
#-------------------------------------------------------------------
10+
11+
#include "reco1_sce_lite.fcl"
12+
13+
physics.producers.simplemerge.InputSourcesLabels: ["largeant","largeant:droppedMCParticles"]

sbndcode/JobConfigurations/standard/standard_reco1_sbnd.fcl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,16 @@
66
# 20200923 (d.brailsford@lancster.ac.uk) [v1.0]
77
# Initial definition
88
#
9+
# Changes:
10+
# 20240228 (bcarlson1@ufl.edu) [v1.1]
11+
# Add supera output using an analyzer end path
912
# job configuration
1013

1114
#include "reco_sbnd.fcl"
1215

1316
process_name: Reco1
1417

1518
physics.trigger_paths: [ reco1 ]
19+
physics.end_paths: [stream1, superaana]
20+
1621

sbndcode/JobConfigurations/standard/standard_reco1reco2_sbnd.fcl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,4 @@
1313
process_name: Reco1Reco2
1414

1515
physics.trigger_paths: [ fullreco ]
16+
physics.end_paths: [stream1, superaana]

sbndcode/LArSoftConfigurations/mlreco_sbnd.fcl

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,24 @@ sbnd_sedlite: @local::sbn_largeant_info_reducer
77
sbnd_sedlite.SimEnergyDepositLabel: "largeant:LArG4DetectorServicevolTPCActive"
88
sbnd_sedlite.useOrigTrackID: true #needed since TrackID overwritten by SBND modules
99

10+
#supera for mpvmpr
11+
sbnd_supera_mpvmpr: {
12+
module_type: "LArSoftSuperaDriver"
13+
supera_params: "supera_sbnd_mpvmpr.fcl"
14+
out_filename: "larcv.root"
15+
unique_filename: false
16+
stream: "mc"
17+
StrictDataLoading: false
18+
}
19+
20+
#supera for everything else
21+
sbnd_supera: {
22+
module_type: "LArSoftSuperaDriver"
23+
supera_params: "supera_sbnd_corsika.fcl"
24+
out_filename: "larcv.root"
25+
unique_filename: false
26+
stream: "mc"
27+
StrictDataLoading: false
28+
}
29+
1030
END_PROLOG

0 commit comments

Comments
 (0)