Skip to content

Commit ec3ef7c

Browse files
Merge branch 'develop' into feature/mdeltutt_geom_fix
2 parents 9323b3b + 25d26a4 commit ec3ef7c

47 files changed

Lines changed: 571 additions & 184 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.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
add_subdirectory(base)
22
add_subdirectory(standard)
3+
add_subdirectory(dnnroi)
34

sbndcode/JobConfigurations/base/reco_drops.fcl

Lines changed: 0 additions & 32 deletions
This file was deleted.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
install_fhicl()
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# File: reco1_data_bothrois.fcl
2+
# Authors: Mun Jung Jung (munjung@uchicago.edu)
3+
4+
# runs Reco1 on data
5+
# for SP, use both traditional and DNN-based ROI finding, creating three Wire products: simtpc2d:gauss, simtpc2d:wiener (from traditional), simtpc2d:dnnsp (from DNN)
6+
# for downstream reco1, run gaushitfinder on sptpc2d:gauss, from traditional ROI finding
7+
# to generate matching files with downstream reco1 run on sptpc2d:dnnsp, gaushits should be scrubbed and run again
8+
#
9+
#include "reco1_data.fcl"
10+
11+
physics.producers.sptpc2d: @local::sbnd_wcls_sp_data_bothrois
12+
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# File: reco1_nosp_data.fcl
2+
# Authors: Mun Jung Jung (munjung@uchicago.edu)
3+
4+
# runs everything downstream of sptpc2d in the reco1 chain for data
5+
# runs gaushitfinder on sptpc2d:gauss
6+
7+
#include "reco1_data.fcl"
8+
9+
physics.reco1: [gaushit, numberofhitsfilter, cluster3d, crtstrips,
10+
crtclustering, crtspacepoints, crttracks, opdecopmt, ophitpmt, opflashtpc0, opflashtpc1]
11+
physics.ana: [superadata]
12+
13+
outputs.out1.SelectEvents: [ "reco1" ]
14+
15+
physics.producers.gaushit.CalDataModuleLabel: "sptpc2d:gauss"
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# File: reco1_nosp_data_dnnroi.fcl
2+
# Authors: Mun Jung Jung (munjung@uchicago.edu)
3+
4+
# runs everything downstream of sptpc2d in the reco1 chain for data
5+
# runs gaushitfinder on sptpc2d:dnnsp
6+
7+
#include "reco1_data.fcl"
8+
9+
physics.reco1: [gaushit, numberofhitsfilter, cluster3d, crtstrips,
10+
crtclustering, crtspacepoints, crttracks, opdecopmt, ophitpmt, opflashtpc0, opflashtpc1]
11+
physics.ana: [superadata]
12+
13+
outputs.out1.SelectEvents: [ "reco1" ]
14+
15+
physics.producers.gaushit.CalDataModuleLabel: "sptpc2d:dnnsp"
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# File: reco1_postscrub_data_dnnroi.fcl
2+
# Authors: Linyan Wan (lwan@fnal.gov) and Mun Jung Jung (munjung@uchicago.edu)
3+
#
4+
# to be used for the 2025 DNN ROI validation production
5+
# MUST be run after running "scrub_gaushit_data.fcl" on Reco1 files
6+
#
7+
# runs gaushit, numberofhitsfilter, cluster3d, superadata on sptpc2d:dnnsp Wire products.
8+
9+
#include "reco1_data.fcl"
10+
11+
process_name: Reco1onDNN
12+
13+
physics.reco1: [gaushit, numberofhitsfilter, cluster3d]
14+
physics.ana: [superadata]
15+
16+
outputs.out1.SelectEvents: [ "reco1" ]
17+
18+
physics.producers.gaushit.CalDataModuleLabel: "sptpc2d:dnnsp"
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# File: scrub_gaushit_data.fcl
2+
# Authors: Linyan Wan (lwan@fnal.gov) and Mun Jung Jung (munjung@uchicago.edu)
3+
#
4+
# to be used for the 2025 DNN ROI validation production
5+
#
6+
# removes gaushit products made in Reco 1 for data
7+
# allows gaushitfinder to be run again on different choice of Wire products
8+
9+
#include "rootoutput_sbnd.fcl"
10+
#include "sam_sbnd.fcl"
11+
12+
process_name: Scrub
13+
14+
source:
15+
{
16+
module_type: RootInput
17+
inputCommands: [ "keep *_*_*_*",
18+
"drop *_gaushit_*_*"]
19+
}
20+
21+
outputs:
22+
{
23+
out1:
24+
{
25+
@table::sbnd_rootoutput
26+
dataTier: "reconstructed"
27+
}
28+
}
29+
30+
physics:
31+
{
32+
stream1: [ out1 ]
33+
end_paths: [ stream1 ]
34+
}
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# File: sp_data_bothrois.fcl
2+
# Authors: Mun Jung Jung (munjung@uchicago.edu)
3+
4+
# runs WC 2D signal processing on data using both traditional and DNN-based ROI finding
5+
# create three Wire products: sptpc2d:gauss, sptpc2d:wiener (from traditional), sptc2d:dnnsp (from DNN)
6+
7+
#include "services_sbnd.fcl"
8+
#include "messages_sbnd.fcl"
9+
#include "rootoutput_sbnd.fcl"
10+
#include "wcsp_data_sbnd.fcl"
11+
12+
process_name: WCLS
13+
14+
services:
15+
{
16+
@table::services
17+
@table::sbnd_data_services
18+
}
19+
20+
source: {
21+
module_type: RootInput
22+
}
23+
24+
outputs:{
25+
out1:
26+
{
27+
@table::sbnd_rootoutput # inherit shared settings
28+
dataTier: "reconstructed"
29+
}
30+
31+
}
32+
33+
physics : {
34+
producers: {
35+
sptpc2d: @local::sbnd_wcls_sp_data_bothrois
36+
}
37+
38+
sp : [ sptpc2d ]
39+
trigger_paths : [ sp ]
40+
41+
o1 : [ out1 ]
42+
end_paths: [ o1 ]
43+
}
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# File: sp_data_dnnroi.fcl
2+
# Authors: Mun Jung Jung (munjung@uchicago.edu)
3+
4+
# runs WC 2D signal processing using only DNN-based ROI finding
5+
# create one Wire product: sptc2d:dnnsp
6+
7+
#include "services_sbnd.fcl"
8+
#include "messages_sbnd.fcl"
9+
#include "rootoutput_sbnd.fcl"
10+
#include "wcsp_data_sbnd.fcl"
11+
12+
process_name: WCLS
13+
14+
services:
15+
{
16+
@table::services
17+
@table::sbnd_data_services
18+
}
19+
20+
source: {
21+
module_type: RootInput
22+
}
23+
24+
outputs:{
25+
out1:
26+
{
27+
@table::sbnd_rootoutput # inherit shared settings
28+
dataTier: "reconstructed"
29+
}
30+
31+
}
32+
33+
physics : {
34+
producers: {
35+
sptpc2d: @local::sbnd_wcls_sp_data_dnnroi
36+
}
37+
38+
sp : [ sptpc2d ]
39+
trigger_paths : [ sp ]
40+
41+
o1 : [ out1 ]
42+
end_paths: [ o1 ]
43+
}

0 commit comments

Comments
 (0)