diff --git a/data/proto_nd_flow/2x2_run1-2_lifetime.json b/data/proto_nd_flow/2x2_run1-2_lifetime.json new file mode 100644 index 00000000..b01f6967 --- /dev/null +++ b/data/proto_nd_flow/2x2_run1-2_lifetime.json @@ -0,0 +1,474 @@ +{ + "2024_07_07_14_09_33": [ + 0.74352, + 0.008433 + ], + "2024_07_07_20_10_13": [ + 0.847557, + 0.010765 + ], + "2024_07_08_02_45_57": [ + 1.151429, + 0.015317 + ], + "2024_07_08_14_15_16": [ + 1.200483, + 0.014134 + ], + "2024_07_08_19_40_34": [ + 1.1280409999999998, + 0.012872999999999999 + ], + "2024_07_09_01_44_43": [ + 1.200255, + 0.014375 + ], + "2024_07_09_05_31_47": [ + 1.2970979999999999, + 0.016673999999999998 + ], + "2024_07_09_09_07_44": [ + 1.358141, + 0.013631 + ], + "2024_07_09_12_25_51": [ + 1.3639860000000001, + 0.018904 + ], + "2024_07_09_15_59_55": [ + 1.351717, + 0.017543 + ], + "2024_07_09_19_31_37": [ + 1.4087539999999998, + 0.019871 + ], + "2024_07_10_01_32_15": [ + 1.525674, + 0.023219999999999998 + ], + "2024_07_10_04_52_36": [ + 1.649144, + 0.026957000000000002 + ], + "2024_07_10_08_23_34": [ + 1.727559, + 0.020044 + ], + "2024_07_10_12_09_16": [ + 1.6429500000000001, + 0.026359999999999998 + ], + "2024_07_10_15_42_39": [ + 1.549898, + 0.02314 + ], + "2024_07_10_20_47_24": [ + 1.5656240000000001, + 0.022193 + ], + "2024_07_11_01_47_56": [ + 1.728653, + 0.023806 + ], + "2024_07_11_05_39_24": [ + 1.769026, + 0.027963000000000002 + ], + "2024_07_11_09_23_44": [ + 1.781938, + 0.028998 + ], + "2024_07_11_12_59_39": [ + 1.8580640000000002, + 0.032045000000000004 + ], + "2024_07_11_16_38_30": [ + 1.718555, + 0.0288 + ], + "2024_07_11_20_29_55": [ + 1.749727, + 0.030654 + ], + "2024_07_12_01_30_28": [ + 1.7136259999999999, + 0.020245000000000003 + ], + "2025_10_10_14_14_21": [ + 1.120346, + 0.019279 + ], + "2025_10_10_16_37_53": [ + 0.8741140000000001, + 0.01038 + ], + "2025_10_10_17_50_55": [ + 0.645285, + 0.0053360000000000005 + ], + "2025_10_10_18_32_28": [ + 0.6840940000000001, + 0.005514 + ], + "2025_10_10_19_11_30": [ + 0.655208, + 0.0056500000000000005 + ], + "2025_10_10_19_51_47": [ + 0.6867880000000001, + 0.006091999999999999 + ], + "2025_10_10_20_33_20": [ + 0.640153, + 0.005468 + ], + "2025_10_10_21_12_23": [ + 0.658341, + 0.0052380000000000005 + ], + "2025_10_10_21_57_43": [ + 0.6649539999999999, + 0.005921999999999999 + ], + "2025_10_10_22_45_33": [ + 0.639104, + 0.004579 + ], + "2025_10_10_23_28_22": [ + 0.6326609999999999, + 0.004716000000000001 + ], + "2025_10_11_00_26_17": [ + 0.659384, + 0.004866 + ], + "2025_10_11_01_19_10": [ + 0.740931, + 0.008262 + ], + "2025_10_11_02_08_16": [ + 0.7493099999999999, + 0.0066500000000000005 + ], + "2025_10_11_02_51_04": [ + 0.742713, + 0.006351 + ], + "2025_10_11_03_32_37": [ + 0.767288, + 0.007402 + ], + "2025_10_11_04_21_43": [ + 0.760443, + 0.0079 + ], + "2025_10_11_05_42_17": [ + 0.96199, + 0.012927 + ], + "2025_10_17_08_28_42": [ + 1.27257, + 0.029623 + ], + "2025_10_17_15_47_10": [ + 1.214058, + 0.022681999999999997 + ], + "2025_10_18_02_18_32": [ + 1.051557, + 0.027791 + ], + "2025_10_18_07_08_44": [ + 1.0231649999999999, + 0.027445 + ], + "2025_10_18_13_16_46": [ + 0.828589, + 0.014073 + ], + "2025_10_18_18_30_13": [ + 0.764439, + 0.011181 + ], + "2025_10_19_02_12_14": [ + 0.729905, + 0.010583 + ], + "2025_10_19_06_40_23": [ + 0.723062, + 0.011734 + ], + "2025_10_20_02_03_24": [ + 0.645203, + 0.006064 + ], + "2025_10_20_17_40_00": [ + 0.626716, + 0.00524 + ], + "2025_10_21_02_14_57": [ + 0.632948, + 0.01031 + ], + "2025_10_24_02_09_47": [ + 0.776481, + 0.008383 + ], + "2025_10_25_02_07_45": [ + 0.982676, + 0.012062 + ], + "2025_10_25_06_23_19": [ + 1.060967, + 0.015518 + ], + "2025_10_25_10_32_36": [ + 1.054358, + 0.013986 + ], + "2025_10_25_16_27_23": [ + 1.1151179999999998, + 0.015192 + ], + "2025_10_25_21_18_12": [ + 1.17322, + 0.017249 + ], + "2025_10_26_02_00_12": [ + 1.180962, + 0.016946000000000003 + ], + "2025_10_26_06_00_40": [ + 1.1658, + 0.015757999999999998 + ], + "2025_10_27_02_11_43": [ + 1.246732, + 0.018539 + ], + "2025_10_27_06_10_55": [ + 1.2479390000000001, + 0.019809999999999998 + ], + "2025_10_27_15_48_57": [ + 1.298683, + 0.046398 + ], + "2025_10_28_02_18_47": [ + 1.27698, + 0.018811 + ], + "2025_10_28_06_25_20": [ + 1.2864069999999999, + 0.020460000000000002 + ], + "2025_10_31_16_55_10": [ + 1.060516, + 0.013498 + ], + "2025_10_31_19_17_10": [ + 1.081461, + 0.01479 + ], + "2025_10_31_21_32_20": [ + 1.090777, + 0.014638 + ], + "2025_11_01_01_06_20": [ + 1.058897, + 0.014254 + ], + "2025_11_01_03_32_46": [ + 1.0777739999999998, + 0.015048 + ], + "2025_11_01_06_02_06": [ + 1.0880370000000001, + 0.013854 + ], + "2025_11_01_08_40_38": [ + 1.067015, + 0.01463 + ], + "2025_11_01_11_03_18": [ + 1.044052, + 0.013781 + ], + "2025_11_01_13_18_27": [ + 1.069262, + 0.014747999999999999 + ], + "2025_11_01_15_41_08": [ + 1.1099459999999999, + 0.016561 + ], + "2025_11_01_18_03_48": [ + 1.06435, + 0.013582 + ], + "2025_11_01_20_18_57": [ + 1.04041, + 0.014236 + ], + "2025_11_01_22_34_07": [ + 1.0780399999999999, + 0.014864 + ], + "2025_11_02_00_56_49": [ + 1.103758, + 0.01511 + ], + "2025_11_02_02_23_12": [ + 1.046256, + 0.013841 + ], + "2025_11_02_04_34_37": [ + 1.067242, + 0.014973 + ], + "2025_11_02_06_49_47": [ + 1.093028, + 0.014785 + ], + "2025_11_02_11_14_50": [ + 1.048391, + 0.013795 + ], + "2025_11_02_14_13_18": [ + 1.097607, + 0.015567000000000001 + ], + "2025_11_02_18_17_08": [ + 1.088358, + 0.015138 + ], + "2025_11_02_20_52_27": [ + 1.132444, + 0.015529 + ], + "2025_11_03_00_56_29": [ + 1.065292, + 0.013782 + ], + "2025_11_03_03_11_39": [ + 1.093893, + 0.01298 + ], + "2025_11_03_05_26_48": [ + 1.136795, + 0.017195000000000002 + ], + "2025_11_07_12_52_48": [ + 1.3407650000000002, + 0.026302 + ], + "2025_11_11_14_56_00": [ + 1.773285, + 0.035783 + ], + "2025_11_12_12_33_35": [ + 2.02148, + 0.051752 + ], + "2025_11_15_10_37_25": [ + 1.681616, + 0.027698 + ], + "2025_11_15_13_07_36": [ + 1.9644359999999998, + 0.043966 + ], + "2025_11_16_12_14_47": [ + 2.708748, + 0.085419 + ], + "2025_11_17_08_54_04": [ + 3.145114, + 0.119239 + ], + "2025_11_18_15_05_15": [ + 0.682123, + 0.0072510000000000005 + ], + "2025_11_18_17_54_59": [ + 0.266778, + 0.001029 + ], + "2025_11_18_20_53_13": [ + 0.30748899999999996, + 0.0014010000000000001 + ], + "2025_11_19_01_10_53": [ + 0.458187, + 0.0028380000000000002 + ], + "2025_11_19_03_41_04": [ + 0.517116, + 0.003585 + ], + "2025_11_19_06_10_59": [ + 0.609855, + 0.005313 + ], + "2025_11_19_14_20_49": [ + 1.059595, + 0.013349 + ], + "2025_11_20_01_31_56": [ + 1.5738910000000002, + 0.032451999999999995 + ], + "2025_11_20_05_10_28": [ + 1.620198, + 0.030063 + ], + "2025_12_09_11_59_40": [ + 0.13955199999999998, + 0.000874 + ], + "2025_12_09_15_31_21": [ + 0.15654200000000001, + 0.0009509999999999999 + ], + "2025_12_09_18_46_35": [ + 0.153429, + 0.00086 + ], + "2025_12_09_22_09_19": [ + 0.14261500000000002, + 0.0009220000000000001 + ], + "2025_12_10_01_39_34": [ + 0.13104, + 0.001001 + ], + "2025_12_10_12_40_22": [ + 0.130536, + 0.00063 + ], + "2025_12_10_15_48_05": [ + 0.17835499999999999, + 0.000743 + ], + "2025_12_10_18_33_17": [ + 0.23319900000000002, + 0.0009599999999999999 + ], + "2025_12_10_21_10_58": [ + 0.302838, + 0.001375 + ], + "2025_12_11_01_11_15": [ + 0.428134, + 0.002438 + ], + "2025_12_11_03_41_26": [ + 0.516415, + 0.003494 + ], + "2025_12_11_06_11_37": [ + 0.6212219999999999, + 0.005292 + ] +} \ No newline at end of file diff --git a/yamls/proto_nd_flow/reco/charge/CalibHitBuilderData.yaml b/yamls/proto_nd_flow/reco/charge/CalibHitBuilderData.yaml index 840ebb95..1dc122dd 100644 --- a/yamls/proto_nd_flow/reco/charge/CalibHitBuilderData.yaml +++ b/yamls/proto_nd_flow/reco/charge/CalibHitBuilderData.yaml @@ -31,4 +31,7 @@ params: #flag to perform ADC droop calibration adc_droop_calibration: True + elifetime_calibration: True + + pedestal_file: '/global/common/software/dune/mkramer/devel/flow4pedestal/reference-cold-pedestal-2024_06_05_08_28_19_CDTevd_ped.tile_id.decimal.json' diff --git a/yamls/proto_nd_flow/reco/charge/CalibHitBuilderData_Run2.yaml b/yamls/proto_nd_flow/reco/charge/CalibHitBuilderData_Run2.yaml index 53c39801..9c4fdcb7 100644 --- a/yamls/proto_nd_flow/reco/charge/CalibHitBuilderData_Run2.yaml +++ b/yamls/proto_nd_flow/reco/charge/CalibHitBuilderData_Run2.yaml @@ -30,6 +30,7 @@ params: #flag to perform ADC droop calibration adc_droop_calibration: True + elifetime_calibration: True # from Sam F: pedestal_file: '/global/common/software/dune/mkramer/devel/flow4pedestal/packet-pedestal_nominal_60min-2025_10_02_23_03_26_CDT.json' diff --git a/yamls/proto_nd_flow/reco/charge/CalibHitBuilderMC.yaml b/yamls/proto_nd_flow/reco/charge/CalibHitBuilderMC.yaml index 701d49b2..b85be721 100644 --- a/yamls/proto_nd_flow/reco/charge/CalibHitBuilderMC.yaml +++ b/yamls/proto_nd_flow/reco/charge/CalibHitBuilderMC.yaml @@ -32,5 +32,6 @@ params: vcm_mv: 478.1 #M0-like:288 #478.0 #2x2: 478.1 adc_counts: 256 gain: 4.522 #datasheet: 4 #measurement(?): 4.522 + elifetime_calibration: True pedestal_file: 'data/proto_nd_flow/reference-cold-pedestal-2024_06_05_08_28_19_CDTevd_ped.tile_id_swapped.decimal.json' diff --git a/yamls/proto_nd_flow/resources/LArData.yaml b/yamls/proto_nd_flow/resources/LArData.yaml index d7f6e0b7..2ab536b8 100644 --- a/yamls/proto_nd_flow/resources/LArData.yaml +++ b/yamls/proto_nd_flow/resources/LArData.yaml @@ -5,6 +5,7 @@ params: # electron_lifetime_file: 'data/module0_flow/ElecLifetimeFit_Module0.npz' # download link: https://portal.nersc.gov/project/dune/data/Module0/electronLifetime/ElecLifetimeFit_Module0.root electron_lifetime: 2200 # us + electron_lifetime_file: "data/proto_nd_flow/2x2_run1-2_lifetime.json" #: Recombination :math:`\alpha` constant for the Box model box_alpha: 0.93 #: Recombination :math:`\beta` value for the Box model in :math:`(kV/cm)(g/cm^2)/MeV` @@ -15,3 +16,4 @@ params: birks_kb: 0.0486 # g/cm2/MeV Amoruso, et al NIM A 523 (2004) 275 #: Average energy expended per ion pair in LAr in :math:`eV` from Phys. Rev. A 10, 1452 W_ion: 23.6 + vdrift: [1.583] #mm/µm