Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/ehinkle hip selection #97

Open
wants to merge 41 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
c94f779
copied over CalibHitMerger as starting point for adding workflow
Aug 30, 2023
9916692
this version runs Dummy module
Aug 30, 2023
141d3e2
added separate workflow for dummy
Aug 30, 2023
1cdddcd
committing before reverting dummy script
Aug 30, 2023
9ef00ad
made merge hits run in dummy.py
Aug 30, 2023
8ce2be8
updated product name in yaml
Aug 31, 2023
0e40602
took out the bulk of the merge function
Aug 31, 2023
be9cc8c
added in some comments
Sep 1, 2023
3ea1e8b
renamed files to have better naming scheme
Sep 6, 2023
febd0a1
commented out a bit more of the backtracking
Sep 7, 2023
b8eac60
copied over tracklets macros from module0
Sep 20, 2023
43b9ad9
updated to util path
Sep 20, 2023
9b86a6a
Make tracklet reconstruction module compatible with proto_nd_flow dat…
Oct 2, 2023
6483ea5
Update tracklet reconstruction script to reflect x- and z-coordinate …
Oct 3, 2023
fe63f0d
Fix bug where arrays containing NaNs could be passed to DBSCAN.
Oct 4, 2023
1e89d05
Allow tracklet plotting in proto_nd_flow event display with calib_fin…
Oct 5, 2023
cba5368
Update TrackletReconstruction.yaml to run over charge/calib_prompt_hi…
Oct 5, 2023
e4c9d64
Add capability to plot tracklets dataset created from calib_prompt_hits.
Oct 6, 2023
88b3103
Update distance and charge units for proto_nd_flow tracklet reco script.
Oct 6, 2023
636c313
Change proto_nd_flow tracklet reco yaml to reflect updated charge and…
Oct 6, 2023
5087498
Replace DBSCAN with HDBSCAN in tracklet reconstruction.
Oct 13, 2023
b156bc0
Remove use of RANSAC in proto_nd_flow tracklet reconstruction.
Oct 13, 2023
aa2c586
Add RANSAC and additional run of HDBSCAN back into proto_nd_flow trac…
Oct 16, 2023
5a14bdf
Update HDBSCAN parameters which can be customized in yaml for trackle…
Oct 17, 2023
4929458
Final changes to proto_nd_flow tracklet display notebook.
Oct 19, 2023
77ab323
Merge pull request #81 from DUNE/feature/ehinkle_eventdisplay
edhinkle Oct 19, 2023
a6757b3
Add HIP selection code to proto_nd_flow.
Nov 6, 2023
f51e4fa
Adding ParticleData resource source code in proto_nd_flow and yaml in…
Dec 22, 2023
27ebd60
Adding initial infrastructure for time-dependent version of Disabled …
Dec 22, 2023
f848e97
Allowing for time-based consideration of disabled channels in proto_n…
Jan 4, 2024
3e42379
Adding MC case to disabled_channels resource in proto_nd_flow.
Jan 4, 2024
4969e6d
Adding bug fixes to allow flow to run over Module 1 Bern data.
Jan 5, 2024
6b33390
Updating event display notebook in proto_nd_flow.
Jan 8, 2024
46301e9
Resolve merge conflict between HIP Selection and module 1 reflow reso…
Jan 8, 2024
728f527
Merge pull request #94 from DUNE/feature/ehinkle_module1_reflow_add_r…
edhinkle Jan 8, 2024
cfb29d6
Merging from develop and updating tracklet code and hip selection cod…
Jan 12, 2024
7ad7ce4
Adding additional plotting capabilities for HIP selection.
Jan 14, 2024
8157a43
Updating hit level metrics plotting script for HIP selection.
Jan 15, 2024
845365f
Adding tracklet metrics to HIP selection.
Jan 16, 2024
e01d174
Associating all hits with tracks in HIP selection plotting.
Jan 17, 2024
900dd3e
Update event display, tracklet reconstruction phi angle, and RunData …
Jan 19, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
203 changes: 203 additions & 0 deletions data/module1_flow/light_module_desc_single_module-2.0.0.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,203 @@
format_version: "0.2.0"
geometry_version: "0.2.0"

geom:
# ArcLight
0: { min: [-15.14 , -15.51, 0], max: [+12.03, +15.51, 0] }
# LCM
1: { min: [-15.14 , -5.17, 0], max: [+12.03, +5.17, 0] }

tpc_center_offset:
0: [+15.30, 0, 0]
1: [-15.30, 0, 0]

det_center:
0: [0, -46.53, -31.49]
1: [0, -25.85, -31.49]
2: [0, -15.51, -31.49]
3: [0, -5.16, -31.49]
4: [0, 15.51, -31.49]
5: [0, 36.19, -31.49]
6: [0, 46.53, -31.49]
7: [0, 56.87, -31.49]
8: [0, -46.53, +31.49]
9: [0, -25.84, +31.49]
10: [0, -15.51, +31.49]
11: [0, -5.17, +31.49]
12: [0, 15.51, +31.49]
13: [0, 36.19, +31.49]
14: [0, 46.53, +31.49]
15: [0, 56.87, +31.49]

sipm_center:
0: [15.14, -60.07, -31.49]
1: [15.14, -55.37, -31.49]
2: [15.14, -48.87, -31.49]
3: [15.14, -44.17, -31.49]
4: [15.14, -37.67, -31.49]
5: [15.14, -32.97, -31.49]
6: [15.14, -29.07, -31.49]
7: [15.14, -24.37, -31.49]
8: [15.14, -17.87, -31.49]
9: [15.14, -13.17, -31.49]
10: [15.14, -6.67, -31.49]
11: [15.14, -1.97, -31.49]
12: [15.14, 1.97, -31.49]
13: [15.14, 6.67, -31.49]
14: [15.14, 13.17, -31.49]
15: [15.14, 17.87, -31.49]
16: [15.14, 24.37, -31.49]
17: [15.14, 29.07, -31.49]
18: [15.14, 32.97, -31.49]
19: [15.14, 37.67, -31.49]
20: [15.14, 44.17, -31.49]
21: [15.14, 48.87, -31.49]
22: [15.14, 55.37, -31.49]
23: [15.14, 60.07, -31.49]
24: [15.14, -60.07, 31.49]
25: [15.14, -55.37, 31.49]
26: [15.14, -48.87, 31.49]
27: [15.14, -44.17, 31.49]
28: [15.14, -37.67, 31.49]
29: [15.14, -32.97, 31.49]
30: [15.14, -29.07, 31.49]
31: [15.14, -24.37, 31.49]
32: [15.14, -17.87, 31.49]
33: [15.14, -13.17, 31.49]
34: [15.14, -6.67, 31.49]
35: [15.14, -1.97, 31.49]
36: [15.14, 1.97, 31.49]
37: [15.14, 6.67, 31.49]
38: [15.14, 13.17, 31.49]
39: [15.14, 17.87, 31.49]
40: [15.14, 24.37, 31.49]
41: [15.14, 29.07, 31.49]
42: [15.14, 32.97, 31.49]
43: [15.14, 37.67, 31.49]
44: [15.14, 44.17, 31.49]
45: [15.14, 48.87, 31.49]
46: [15.14, 55.37, 31.49]
47: [15.14, 60.07, 31.49]

ch_to_vert_bin: # 0:ACL 1:LCM
0: [-1,-1,-1,-1,0,1,2,3,4,5,12,13,14,15,16,17,-1,-1,-1,-1,0,1,2,3,4,5,12,13,14,15,16,17, -1,-1,-1,-1,0,1,2,3,4,5,12,13,14,15,16,17,-1,-1,-1,-1,0,1,2,3,4,5,12,13,14,15,16,17]
1: [-1,-1,-1,-1,6,7,8,9,10,11,18,19,20,21,22,23,-1,-1,-1,-1,6,7,8,9,10,11,18,19,20,21,22,23,-1,-1,-1,-1,6,7,8,9,10,11,18,19,20,21,22,23,-1,-1,-1,-1,6,7,8,9,10,11,18,19,20,21,22,23]

adc_to_det_type:
0: 0
1: 1

det_side: #TPC side 0: -z direction 1: +z direction
0: 0
1: 0
2: 0
3: 0
4: 0
5: 0
6: 0
7: 0
8: 1
9: 1
10: 1
11: 1
12: 1
13: 1
14: 1
15: 1

det_geom:
0: 0
1: 1
2: 1
3: 1
4: 0
5: 1
6: 1
7: 1
8: 0
9: 1
10: 1
11: 1
12: 0
13: 1
14: 1
15: 1

det_adc:
0: #TPC
# -z, increasing y (det-> adc)
0: 0
1: 1
2: 1
3: 1
4: 0
5: 1
6: 1
7: 1
# +z, increasing y
8: 0
9: 1
10: 1
11: 1
12: 0
13: 1
14: 1
15: 1

1:
# -z, increasing y
0: 0
1: 1
2: 1
3: 1
4: 0
5: 1
6: 1
7: 1
# +z, increasing y
8: 0
9: 1
10: 1
11: 1
12: 0
13: 1
14: 1
15: 1


det_chan:
0:
0: [4,5,6,7,8,9]
1: [4,5]
2: [6,7]
3: [8,9]
4: [10,11,12,13,14,15]
5: [10,11]
6: [12,13]
7: [14,15]
8: [20,21,22,23,24,25]
9: [20,21]
10: [22,23]
11: [24,25]
12: [26,27,28,29,30,31]
13: [26,27]
14: [28,29]
15: [30,31]

1:
0: [52,53,54,55,56,57]
1: [52,53]
2: [54,55]
3: [56,57]
4: [58,59,60,61,62,63]
5: [58,59]
6: [60,61]
7: [62,63]
8: [36,37,38,39,40,41]
9: [36,37]
10: [38,39]
11: [40,41]
12: [42,43,44,45,46,47]
13: [42,43]
14: [44,45]
15: [46,47]
50 changes: 50 additions & 0 deletions data/module1_flow/module0.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# Argon properties
temperature: 87.17 # K
e_field: 0.50 # kV/cm
lifetime: 2.6e+3 # us
long_diff: 4.0e-6 # cm * cm / us
tran_diff: 8.8e-6 # cm * cm / us
singlet_fraction: 0.375
tau_s: 0.001 # us
tau_t: 0.752 # us
#tau_t: 0.620 # us

# Charge simulation parameters
drift_length: 30.27225 # cm
time_interval: [0, 200.] # us
response_sampling: 0.1 # us
#response_sampling: 0.05 # us
response_bin_size: 0.04434 # cm
time_padding: 190 # us
time_window: 189.1 # us

# Charge geometry parameters
tpc_offsets: # cm
- [0, -21.8236, 0]
tile_map:
- [[7,5,3,1],[8,6,4,2]]
- [[16,14,12,10],[15,13,11,9]]
module_to_io_groups:
1: [1,2]

# Light simulation parameters
light_gain: [-5.2589, -5.1955, -5.1616, -5.0982, -5.6851, -5.6870, -58.5344, -58.1440, -58.7968, -59.8208, -55.1488, -57.2672, -5.5680, -5.2243, -5.4509, -5.4291, -5.2672, -5.4278, -57.8816, -54.9824, -54.2272, -54.5856, -56.7616, -58.1696, -5.1424, -6.1382, -6.2451, -5.9392, -4.9338, -5.0266, -51.6864, -50.1568, -49.3440, -51.5904, -48.4992, -46.8160, -6.0134, -6.3974, -6.0077, -6.1254, -6.1280, -6.2048, -0.0000, -0.0000, -0.0000, -0.0000, -0.0000, -0.0000, -5.8694, -5.9027, -5.9392, -6.0058, -6.0083, -6.0454, -59.9296, -61.7792, -63.2704, -60.4672, -61.1776, -60.7680, -6.7821, -6.8288, -6.7693, -6.9325, -6.7930, -6.7757, -55.9552, -57.2032, -56.1856, -53.5232, -59.9296, -0.0000, -6.2221, -6.0813, -6.0646, -6.2138, -6.2310, -6.3558, -42.9824, -41.6768, -51.2832, -49.4976, -42.1312, -44.9792, -6.1901, -0.0000, -5.9878, -5.8035, -6.1069, -6.4064, -0.0000, -55.6160, -56.4864, -55.6416, -54.8032, -55.4816] # PE/us / ADC
sipm_response_model: 1 # arbitrary impulse
impulse_model: 'larndsim/bin/sipm_impulse.npy'
impulse_tick_size: 0.01 # us

light_det_noise_sample_spacing: 0.01 # us
light_trig_threshold: [
-1500, -9e+9, -1500, -9e+9, -1500, -9e+9, -1500, -9e+9, -1500, -9e+9, -1500, -9e+9, -1500, -9e+9, -1500, -9e+9] # ArcLight=~no trigger, LCM=-1500 ADC, every 6 channels summed
light_trig_window: [0.9, 1.66] # us
light_nbit: 10
op_channel_efficiency: [0.38, 0.38, 0.38, 0.38, 0.38, 0.38, 0.38, 0.38, 0.38, 0.38, 0.38, 0.38, 0.38, 0.38, 0.38, 0.38, 0.38, 0.38, 0.38, 0.38, 0.38, 0.38, 0.38, 0.38, 0.38, 0.38, 0.38, 0.38, 0.38, 0.38, 0.38, 0.38, 0.38, 0.38, 0.38, 0.38, 0.38, 0.38, 0.38, 0.38, 0.38, 0.38, 0.38, 0.38, 0.38, 0.38, 0.38, 0.38, 0.38, 0.38, 0.38, 0.38, 0.38, 0.38, 0.38, 0.38, 0.38, 0.38, 0.38, 0.38, 0.38, 0.38, 0.38, 0.38, 0.38, 0.38, 0.38, 0.38, 0.38, 0.38, 0.38, 0.38, 0.38, 0.38, 0.38, 0.38, 0.38, 0.38, 0.38, 0.38, 0.38, 0.38, 0.38, 0.38, 0.38, 0.38, 0.38, 0.38, 0.38, 0.38, 0.38, 0.38, 0.38, 0.38, 0.38, 0.38] # ad hoc PDE scale factor to better improve data/sim agreement

# Light geometry parameters
n_op_channel: 96
tpc_to_op_channel:
- [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47]
- [48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95]
module_to_tpcs:
1: [0, 1]
lut_vox_div: [14, 26, 8]
Loading