From f970520792717c0aeaaa2fd329fba7da066cd321 Mon Sep 17 00:00:00 2001 From: sungbinoh Date: Tue, 21 Oct 2025 12:41:29 -0500 Subject: [PATCH 1/6] adding a new folder in sbnd calidb for sbnd etau --- sbnd_calibration_database.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/sbnd_calibration_database.md b/sbnd_calibration_database.md index 47816b02a..6a97a1656 100644 --- a/sbnd_calibration_database.md +++ b/sbnd_calibration_database.md @@ -59,6 +59,26 @@ This section displays a list of the variables in the database, as well as their \* More information on DocDB 35489 (slide 13). + +### tpc_elifetime_data +- Folder description: This folder contains electron lifetime data +- Channel number: No meaning +- Number of rows: 1 for each merged run index +- Suggested table structure + +| Variable Name | Type | Description | Unit | +| ------------- | ---- | ----------- | ---- | +| run | integer | run number | N/A | +| merged_run_idx | integer | index for merge runs | N/A | +| first_run_of_merged | integer | first run of the merged runs | N/A | +| last_run_of_merged | integer | last run of the merged runs | N/A | +| etau_sce_spatial_east | real | East TPC electron lifetime after sptial SCE correction | ms | +| etau_sce_spatial_east_p_1sig | real | plus one sigma error of East TPC electron lifetime after sptial SCE correction | ms | +| etau_sce_spatial_east_m_1sig | real | mimus one sigma error of East TPC electron lifetime after sptial SCE correction | ms | +| etau_sce_spatial_west | real | West TPC electron lifetime after sptial SCE correction | ms | +| etau_sce_spatial_west_p_1sig | real | plus one sigma error of West TPC electron lifetime after sptial SCE correction | ms | +| etau_sce_spatial_west_m_1sig | real | minus one sigma error of West TPC electron lifetime after sptial SCE correction | ms | + ### tpc_globalconstants - Folder description: This folder contains non-channel specific information - Channel number: No meaning From 91838681d698e96ac819f22e31afca178cdbd3d8 Mon Sep 17 00:00:00 2001 From: sungbinoh Date: Tue, 21 Oct 2025 12:43:16 -0500 Subject: [PATCH 2/6] minor type fix --- sbnd_calibration_database.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/sbnd_calibration_database.md b/sbnd_calibration_database.md index 6a97a1656..80936cc9b 100644 --- a/sbnd_calibration_database.md +++ b/sbnd_calibration_database.md @@ -72,12 +72,12 @@ This section displays a list of the variables in the database, as well as their | merged_run_idx | integer | index for merge runs | N/A | | first_run_of_merged | integer | first run of the merged runs | N/A | | last_run_of_merged | integer | last run of the merged runs | N/A | -| etau_sce_spatial_east | real | East TPC electron lifetime after sptial SCE correction | ms | -| etau_sce_spatial_east_p_1sig | real | plus one sigma error of East TPC electron lifetime after sptial SCE correction | ms | -| etau_sce_spatial_east_m_1sig | real | mimus one sigma error of East TPC electron lifetime after sptial SCE correction | ms | -| etau_sce_spatial_west | real | West TPC electron lifetime after sptial SCE correction | ms | -| etau_sce_spatial_west_p_1sig | real | plus one sigma error of West TPC electron lifetime after sptial SCE correction | ms | -| etau_sce_spatial_west_m_1sig | real | minus one sigma error of West TPC electron lifetime after sptial SCE correction | ms | +| etau_sce_spatial_east | real | East TPC electron lifetime after spatial SCE correction | ms | +| etau_sce_spatial_east_p_1sig | real | plus one sigma error of East TPC electron lifetime after spatial SCE correction | ms | +| etau_sce_spatial_east_m_1sig | real | mimus one sigma error of East TPC electron lifetime after spatial SCE correction | ms | +| etau_sce_spatial_west | real | West TPC electron lifetime after spatial SCE correction | ms | +| etau_sce_spatial_west_p_1sig | real | plus one sigma error of West TPC electron lifetime after spatial SCE correction | ms | +| etau_sce_spatial_west_m_1sig | real | minus one sigma error of West TPC electron lifetime after spatial SCE correction | ms | ### tpc_globalconstants - Folder description: This folder contains non-channel specific information From e4750079494e713e948b8eae0864007d9ff587ae Mon Sep 17 00:00:00 2001 From: sungbinoh Date: Tue, 21 Oct 2025 12:49:19 -0500 Subject: [PATCH 3/6] minor text fix --- sbnd_calibration_database.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sbnd_calibration_database.md b/sbnd_calibration_database.md index 80936cc9b..2de198447 100644 --- a/sbnd_calibration_database.md +++ b/sbnd_calibration_database.md @@ -63,7 +63,7 @@ This section displays a list of the variables in the database, as well as their ### tpc_elifetime_data - Folder description: This folder contains electron lifetime data - Channel number: No meaning -- Number of rows: 1 for each merged run index +- Number of rows: 1 for each run - Suggested table structure | Variable Name | Type | Description | Unit | From d5c1510ef83eb5709c90a7c48d9edd38df411116 Mon Sep 17 00:00:00 2001 From: sungbinoh Date: Tue, 21 Oct 2025 13:16:28 -0500 Subject: [PATCH 4/6] removing run column from sbnd calib DB's etau table --- sbnd_calibration_database.md | 1 - 1 file changed, 1 deletion(-) diff --git a/sbnd_calibration_database.md b/sbnd_calibration_database.md index 2de198447..a3656720f 100644 --- a/sbnd_calibration_database.md +++ b/sbnd_calibration_database.md @@ -68,7 +68,6 @@ This section displays a list of the variables in the database, as well as their | Variable Name | Type | Description | Unit | | ------------- | ---- | ----------- | ---- | -| run | integer | run number | N/A | | merged_run_idx | integer | index for merge runs | N/A | | first_run_of_merged | integer | first run of the merged runs | N/A | | last_run_of_merged | integer | last run of the merged runs | N/A | From 37eef2236989123bfc33a815f5009e2578b4891c Mon Sep 17 00:00:00 2001 From: sungbinoh Date: Tue, 21 Oct 2025 13:28:25 -0500 Subject: [PATCH 5/6] adding __iov_id request for SBND etau table --- sbnd_calibration_database.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sbnd_calibration_database.md b/sbnd_calibration_database.md index a3656720f..03060cf02 100644 --- a/sbnd_calibration_database.md +++ b/sbnd_calibration_database.md @@ -63,7 +63,8 @@ This section displays a list of the variables in the database, as well as their ### tpc_elifetime_data - Folder description: This folder contains electron lifetime data - Channel number: No meaning -- Number of rows: 1 for each run +- Number of rows: 1 for each merged run + - When filling the folder, `__iov_id` should be 1000000000 + first_run_of_merged - Suggested table structure | Variable Name | Type | Description | Unit | From 8bf65d319778f386a862f25df20221325bb24b69 Mon Sep 17 00:00:00 2001 From: sungbinoh Date: Wed, 29 Oct 2025 09:19:05 -0500 Subject: [PATCH 6/6] adding channel col to elifetime table --- sbnd_calibration_database.md | 1 + 1 file changed, 1 insertion(+) diff --git a/sbnd_calibration_database.md b/sbnd_calibration_database.md index 03060cf02..f1cf1455e 100644 --- a/sbnd_calibration_database.md +++ b/sbnd_calibration_database.md @@ -69,6 +69,7 @@ This section displays a list of the variables in the database, as well as their | Variable Name | Type | Description | Unit | | ------------- | ---- | ----------- | ---- | +| channel | integer | No meaning | N/A | | merged_run_idx | integer | index for merge runs | N/A | | first_run_of_merged | integer | first run of the merged runs | N/A | | last_run_of_merged | integer | last run of the merged runs | N/A |