diff --git a/.gitignore b/.gitignore
index 66b05ba2eeb487e3cfdc297d3d00a320504bd364..96a060c70b17d82cd03fb6d412596919d120a124 100644
--- a/.gitignore
+++ b/.gitignore
@@ -9,6 +9,7 @@
 *.eps
 *.pdf
 .nfs*
+*.root
 
 # Directories
 REPORT_OUTPUT
diff --git a/CALIBRATION/shms_aero_calib/gain.r b/CALIBRATION/shms_aero_calib/gain.r
index 4eacdcedf48fa7c86485e94d2769ad08dc635240..d141b2a82d3ea5148d51bb0be8ede40fbd852e02 100644
--- a/CALIBRATION/shms_aero_calib/gain.r
+++ b/CALIBRATION/shms_aero_calib/gain.r
@@ -1,2 +1,2 @@
-paero_neg_gain = 1./13.0959, 1./10.8902, 1./12.612, 1./11.6131, 1./10.3581, 1./8.5059, 1./12.7078, 
-paero_pos_gain = 1./7.34604, 1./9.85354, 1./10.2947, 1./12.5889, 1./10.5958, 1./10.6097, 1./10.7765, 
+paero_neg_gain = 1./13.0732, 1./11.1519, 1./12.7171, 1./11.7946, 1./10.7654, 1./8.72566, 1./12.9509, 
+paero_pos_gain = 1./7.45058, 1./10.1029, 1./10.7762, 1./13.0162, 1./10.5675, 1./10.9487, 1./10.8312, 
diff --git a/CALIBRATION/shms_aero_calib/gain_4985.r b/CALIBRATION/shms_aero_calib/gain_4985.r
new file mode 100644
index 0000000000000000000000000000000000000000..7656b21c6e58f6dda5dd56ac02361de97080ce70
--- /dev/null
+++ b/CALIBRATION/shms_aero_calib/gain_4985.r
@@ -0,0 +1,2 @@
+paero_neg_gain = 1./13.5843, 1./11.1229, 1./12.5078, 1./11.5904, 1./11.019, 1./8.54602, 1./12.5383, 
+paero_pos_gain = 1./7.3637, 1./9.83655, 1./10.4292, 1./12.8879, 1./10.45, 1./10.5741, 1./10.6287, 
diff --git a/DBASE/COIN/standard.kinematics b/DBASE/COIN/standard.kinematics
index fc3d6df249f8d8bdf9fec32edbfee93d8641c956..a474fe0a8d3a1aafbcd4b9e644f0075b4d62d43b 100644
--- a/DBASE/COIN/standard.kinematics
+++ b/DBASE/COIN/standard.kinematics
@@ -4749,7 +4749,7 @@ ppcentral = 4.983
 ppartmass = 0.493677
 hpartmass = 0.0005109
 
-4960-9999
+4960-4979
 gpbeam = 10.585
 gtargmass_amu = 1.00794
 htheta_lab = -17.08
@@ -4757,4 +4757,48 @@ ptheta_lab = 9.81
 hpcentral = 4.712
 ppcentral = 5.389
 ppartmass = 0.493677
+hpartmass = 0.0005109
+
+4980-4998
+gpbeam = 10.585
+gtargmass_amu = 1.00794
+htheta_lab = -17.08
+ptheta_lab = 12.81
+hpcentral = 4.712
+ppcentral = 5.389
+ppartmass = 0.493677
+hpartmass = 0.0005109
+
+
+
+4999-5012
+gpbeam = 10.585
+gtargmass_amu = 1.00794
+htheta_lab = -17.08
+ptheta_lab = 15.81
+hpcentral = 4.712
+ppcentral = 5.389
+ppartmass = 0.493677
+hpartmass = 0.0005109
+
+
+
+5013-5039
+gpbeam = 10.585
+gtargmass_amu = 1.00794
+htheta_lab = -14.93
+ptheta_lab = 12.46
+hpcentral = 4.204
+ppcentral = 6.053
+ppartmass = 0.493677
+hpartmass = 0.0005109
+
+5040-9999
+gpbeam = 10.585
+gtargmass_amu = 1.00794
+htheta_lab = -14.93
+ptheta_lab = 9.42
+hpcentral = 4.204
+ppcentral = 6.053
+ppartmass = 0.493677
 hpartmass = 0.0005109
\ No newline at end of file
diff --git a/PARAM/HMS/BCM/CALIB/bcmcurrent_4712.param b/PARAM/HMS/BCM/CALIB/bcmcurrent_4712.param
new file mode 100644
index 0000000000000000000000000000000000000000..5c42b98f6bcae8823a807bb7ded2b47a1f42f6b1
--- /dev/null
+++ b/PARAM/HMS/BCM/CALIB/bcmcurrent_4712.param
@@ -0,0 +1,13 @@
+num_scal_reads = 434
+
+scal_read_bcm1_current = 25.0035, 25.1582, 25.1442, 25.0106, 25.0343, 25.2066, 25.1751, 24.8025, 24.6962, 24.8611, 24.7812, 24.7172, 24.6583, 24.6354, 24.6435, 24.7904, 24.8143, 24.8457, 24.8694, 24.8391, 24.7795, 24.7981, 24.791, 24.7372, 24.7561, 24.8079, 24.7057, 24.7608, 24.7198, 24.7983, 24.7835, 25.0003, 26.6659, 26.587, 27.5548, 29.1707, 29.2141, 29.7104, 30.1701, 30.1841, 30.235, 30.1116, 30.0313, 30.0962, 30.3613, 30.2611, 30.2344, 30.2525, 30.2395, 30.1568, 30.2706, 19.8659, -0.0636795, -0.0626251, -0.063281, -0.0632061, -0.0632735, -0.0627401, -0.0630383, -0.0631569, -0.0638126, 7.77233, 16.1127, 16.6112, 19.5654, 23.1459, 26.8137, 28.8978, 29.2889, 29.6868, 29.6507, 29.6894, 29.6603, 29.4995, 29.7935, 30.0468, 30.1529, 30.2287, 30.0536, 22.4192, -0.0635495, -0.0623136, -0.0640358, -0.0636396, -0.0627175, -0.0637606, 4.35574, 15.041, 15.7292, 15.8385, 22.2582, 23.183, 28.2781, 29.0092, 30.1946, 30.1538, 30.1767, 30.2661, 30.2222, 30.1927, 30.0912, 30.0408, 30.0498, 30.1814, 30.1862, 30.1524, 30.2103, 30.1274, 30.1184, 6.28298, -0.0625863, -0.0623818, -0.0628905, -0.0622253, -0.0630674, -0.062755, -0.0635096, -0.063237, -0.0625002, -0.0460012, 15.2387, 16.6276, 20.1435, 23.6587, 26.9226, 29.2873, 29.6907, 29.8343, 29.5912, 30.0181, 30.2109, 30.1245, 30.119, 30.0536, 30.1538, 30.2832, 30.3372, 30.2898, 30.2576, 30.2525, 30.2425, 30.3189, 30.2327, 30.2944, 30.1798, 30.1919, 30.1276, 29.9482, 29.6435, 29.6208, 29.7135, 29.564, 29.573, 29.6914, 29.776, 29.8176, 29.7816, 29.8206, 29.7887, 29.819, 29.8082, 29.7414, 29.7883, 29.6537, 29.7565, 29.8698, 30.2184, 30.2085, 30.2159, 30.1113, 30.1604, 30.1625, 30.5867, 30.6409, 30.672, 30.7369, 30.7692, 30.6348, 30.6552, 30.7415, 30.7827, 30.7995, 30.7158, 30.7672, 30.405, 30.2035, 30.2095, 30.2643, 30.2627, 30.2303, 30.3869, 30.1668, 30.2545, 30.378, 30.26, 30.2585, 30.1481, 30.1789, 30.2472, 30.2237, 30.1117, 30.1921, 30.2412, 30.3853, 30.3208, 30.2184, 30.2599, 30.4206, 30.1132, 30.2197, 30.0496, 30.0003, 30.1357, 30.2662, 30.1666, 30.0261, 30.0982, 30.1447, 30.1842, 30.2085, 30.018, 29.6685, 29.7808, 29.9434, 29.7911, 29.792, 29.8848, 29.9499, 29.8114, 29.8979, 29.8984, 29.7302, 29.7738, 29.6738, 29.577, 29.5643, 29.6791, 29.6479, 29.6687, 29.5941, 29.6345, 29.7488, 30.3336, 30.3141, 30.2033, 30.27, 30.1812, 30.2533, 30.0704, 30.1117, 30.0818, 30.1198, 30.1177, 30.0322, 30.2163, 30.2515, 30.3362, 30.3457, 30.39, 30.2003, 30.1541, 30.1174, 30.2648, 30.3378, 30.2308, 30.2943, 30.2746, 30.2981, 30.2832, 30.1862, 30.1694, 30.1648, 30.2026, 30.0567, 30.0527, 30.1893, 30.0872, 30.0832, 30.0747, 30.0788, 29.967, 30.0019, 30.0838, 30.0388, 30.0911, 29.9455, 30.0482, 30.0385, 30.0551, 30.1199, 30.1014, 30.0567, 30.0412, 30.0083, 30.1218, 30.0985, 30.1452, 30.0497, 30.0844, 30.0649, 30.1905, 30.0727, 30.0763, 30.1059, 30.1783, 5.65323, -0.0631566, -0.0636597, -0.0636256, -0.0633962, -0.0630605, -0.0634144, -0.0630527, -0.0635207, -0.0633883, 12.0984, 15.042, 16.3291, 18.7045, 23.0339, 25.7474, 29.2002, 29.7535, 30.021, 30.1327, 30.0022, 30.0273, 30.1163, 30.2188, 30.1417, 30.0044, 29.9883, 30.1722, 30.03, 30.0686, 29.9838, 30.078, 30.087, 30.107, 30.186, 30.2098, 30.1876, 30.1198, 30.2135, 30.1038, 30.0072, 30.0581, 30.1006, 30.0892, 30.1814, 30.1071, 30.094, 30.1548, 30.1175, 30.1213, 30.0789, 30.1415, 30.1817, 30.1585, 30.1702, 30.1061, 30.2333, 30.1391, 30.1583, 30.1379, 29.8415, 29.6732, 29.5312, 29.5246, 29.6018, 29.6362, 29.7521, 29.8003, 29.8595, 29.9863, 29.9942, 29.9382, 29.7074, 29.8282, 29.8252, 29.9032, 29.9061, 29.8577, 29.6607, 29.7684, 29.7829, 30.2073, 30.1234, 30.1782, 30.2411, 30.3088, 30.1203, 30.1352, 30.2505, 30.0732, 29.9939, 29.9317, 29.9975, 30.2178, 30.3385, 30.2522, 30.2525, 30.1322, 30.0747, 30.1615, 30.1444, 30.1968, 30.2502, 30.1379, 30.1547, 30.1524, 30.2252, 30.2417, 30.1894, 30.1129, 30.1708, 30.0264, 30.0032, 30.2219, 30.2522, 30.0243, 30.1679, 30.1333, 30.0291, 29.9264, 29.9493, 30.0474, 30.1486, 30.1369, 30.1815, 29.9545, 30.034, 30.0873, 30.1535
+
+scal_read_bcm2_current = 24.8625, 24.8906, 24.8769, 24.7428, 24.7683, 24.9387, 24.9033, 24.5387, 24.4334, 24.5962, 24.5176, 24.4541, 24.3963, 24.3732, 24.3811, 24.526, 24.5502, 24.5813, 24.6051, 24.5745, 24.5157, 24.5343, 24.5269, 24.4739, 24.4942, 24.5435, 24.4422, 24.4968, 24.4565, 24.5345, 24.5204, 24.7348, 26.3835, 26.3054, 27.2639, 28.8634, 28.9066, 29.3977, 29.8524, 29.8659, 29.916, 29.7939, 29.7148, 29.7793, 30.042, 29.943, 29.9166, 29.9345, 29.9218, 29.8399, 29.9525, 19.6493, -0.0960597, -0.0959709, -0.0959748, -0.0959206, -0.0960103, -0.0959885, -0.095952, -0.0959563, -0.0959606, 7.66822, 15.9326, 16.4263, 19.3532, 22.9, 26.5323, 28.5954, 28.9826, 29.3762, 29.3395, 29.379, 29.3506, 29.1913, 29.4824, 29.7331, 29.8377, 29.9129, 29.7395, 22.1764, -0.0960023, -0.0959801, -0.0959726, -0.0959116, -0.0959589, -0.095945, 4.283, 14.8709, 15.5526, 15.6609, 22.0203, 22.936, 27.9814, 28.705, 29.8777, 29.8375, 29.8599, 29.9487, 29.9051, 29.8757, 29.7752, 29.7251, 29.7344, 29.8643, 29.8686, 29.8354, 29.8925, 29.8106, 29.801, 6.18963, -0.0959823, -0.0960051, -0.0960118, -0.0959835, -0.0959325, -0.0958921, -0.0959802, -0.0959581, -0.0959743, -0.0789691, 15.0649, 16.4408, 19.9234, 23.4052, 26.636, 28.9771, 29.376, 29.5184, 29.2776, 29.7001, 29.8908, 29.8054, 29.7998, 29.7349, 29.834, 29.9621, 30.0156, 29.9688, 29.9368, 29.9323, 29.9224, 29.9975, 29.9122, 29.9733, 29.8599, 29.8713, 29.8079, 29.6305, 29.3287, 29.3064, 29.3983, 29.2502, 29.2588, 29.3761, 29.4598, 29.501, 29.4652, 29.5039, 29.472, 29.5025, 29.4918, 29.4253, 29.4719, 29.3391, 29.4407, 29.5527, 29.8979, 29.8879, 29.8954, 29.7919, 29.8405, 29.8427, 30.2622, 30.3161, 30.3467, 30.411, 30.4431, 30.3107, 30.3309, 30.4163, 30.4569, 30.4741, 30.3912, 30.442, 30.0835, 29.8841, 29.8905, 29.945, 29.9434, 29.9112, 30.0661, 29.8483, 29.9352, 30.0572, 29.9403, 29.939, 29.8294, 29.8601, 29.9279, 29.9039, 29.7937, 29.8733, 29.922, 30.0648, 30.0005, 29.8992, 29.9404, 30.0995, 29.7952, 29.9005, 29.7322, 29.6834, 29.8179, 29.9468, 29.8482, 29.7094, 29.7809, 29.8272, 29.8665, 29.8909, 29.7023, 29.3563, 29.4675, 29.6283, 29.4775, 29.4785, 29.5703, 29.6346, 29.4976, 29.5831, 29.584, 29.4172, 29.4607, 29.3619, 29.2658, 29.2532, 29.3665, 29.3357, 29.3565, 29.2822, 29.3219, 29.4354, 30.0143, 29.9949, 29.885, 29.9509, 29.863, 29.9342, 29.753, 29.7941, 29.7641, 29.8017, 29.7993, 29.7144, 29.8971, 29.9316, 30.0158, 30.0248, 30.069, 29.881, 29.8354, 29.7991, 29.945, 30.0169, 29.911, 29.9743, 29.9545, 29.978, 29.9635, 29.8673, 29.8506, 29.8464, 29.8839, 29.7397, 29.7354, 29.8702, 29.7698, 29.7659, 29.7574, 29.7614, 29.651, 29.6854, 29.7667, 29.7219, 29.7741, 29.6301, 29.7314, 29.7219, 29.7382, 29.8024, 29.784, 29.7393, 29.7241, 29.6911, 29.8033, 29.7798, 29.8263, 29.732, 29.7659, 29.7466, 29.8706, 29.7541, 29.7576, 29.7864, 29.8582, 5.56618, -0.0959332, -0.0959471, -0.0959371, -0.0958992, -0.0958687, -0.0959853, -0.095865, -0.0959337, -0.0958761, 11.9533, 14.87, 16.1448, 18.4974, 22.7855, 25.4725, 28.891, 29.4389, 29.7034, 29.8144, 29.6856, 29.7105, 29.7986, 29.9, 29.8241, 29.6877, 29.6725, 29.8545, 29.7136, 29.7521, 29.6688, 29.762, 29.7709, 29.7909, 29.8693, 29.893, 29.8715, 29.8047, 29.8976, 29.7898, 29.6936, 29.7443, 29.7863, 29.7756, 29.8669, 29.7937, 29.781, 29.841, 29.8042, 29.8083, 29.7664, 29.8286, 29.8682, 29.845, 29.857, 29.7936, 29.9195, 29.8262, 29.845, 29.8249, 29.5319, 29.3652, 29.2244, 29.2175, 29.2942, 29.3282, 29.4423, 29.4904, 29.5489, 29.6745, 29.6821, 29.6267, 29.3983, 29.5178, 29.5145, 29.5917, 29.5944, 29.5464, 29.3514, 29.4579, 29.4719, 29.8923, 29.8091, 29.8633, 29.9255, 29.9923, 29.8059, 29.8205, 29.9346, 29.7585, 29.6804, 29.6184, 29.683, 29.9013, 30.0209, 29.935, 29.9353, 29.8164, 29.7591, 29.845, 29.8281, 29.8794, 29.9321, 29.8209, 29.8368, 29.8346, 29.9065, 29.9229, 29.8713, 29.7952, 29.8524, 29.71, 29.687, 29.9032, 29.9334, 29.7078, 29.85, 29.8156, 29.7123, 29.6106, 29.6336, 29.7308, 29.8308, 29.8187, 29.8632, 29.6383, 29.7168, 29.7693, 29.8355
+
+scal_read_bcm4a_current = 24.7305, 24.81, 24.7947, 24.6606, 24.6885, 24.8588, 24.8296, 24.4594, 24.3532, 24.5131, 24.4369, 24.3759, 24.317, 24.2954, 24.303, 24.4504, 24.4752, 24.5056, 24.5326, 24.4988, 24.438, 24.4594, 24.4482, 24.3947, 24.418, 24.4629, 24.3633, 24.4178, 24.3772, 24.4521, 24.4362, 24.651, 26.2935, 26.2202, 27.1729, 28.7648, 28.8079, 29.2967, 29.7463, 29.7615, 29.8112, 29.6902, 29.6092, 29.6712, 29.9341, 29.8347, 29.8089, 29.8287, 29.8135, 29.7298, 29.8413, 19.8968, 0.839726, 0.83755, 0.839285, 0.84186, 0.844213, 0.844793, 0.844178, 0.844775, 0.845305, 8.09522, 15.8932, 16.3821, 19.2915, 22.8223, 26.4342, 28.4881, 28.8743, 29.2665, 29.2304, 29.2701, 29.2405, 29.0799, 29.3681, 29.6182, 29.7219, 29.7984, 29.6246, 22.3307, 0.848081, 0.851453, 0.855873, 0.849422, 0.846914, 0.847124, 4.93278, 14.8354, 15.5124, 15.6182, 21.9423, 22.8545, 27.8737, 28.5918, 29.7597, 29.7144, 29.7372, 29.8255, 29.7808, 29.7526, 29.6555, 29.6079, 29.6147, 29.7434, 29.748, 29.713, 29.7716, 29.6893, 29.6813, 6.90766, 0.84396, 0.846338, 0.849869, 0.850417, 0.847235, 0.84738, 0.846673, 0.847475, 0.84519, 0.859428, 15.0282, 16.397, 19.8574, 23.3196, 26.536, 28.8653, 29.2631, 29.4018, 29.1617, 29.5811, 29.7724, 29.6861, 29.6791, 29.613, 29.7129, 29.8417, 29.8926, 29.8459, 29.8134, 29.8099, 29.7979, 29.8721, 29.7887, 29.8511, 29.7388, 29.748, 29.6854, 29.5097, 29.2094, 29.1855, 29.2777, 29.1331, 29.1442, 29.261, 29.3408, 29.3804, 29.3423, 29.3828, 29.3512, 29.3825, 29.3725, 29.3025, 29.3495, 29.2174, 29.3173, 29.4302, 29.7718, 29.7607, 29.7701, 29.6695, 29.7183, 29.7193, 30.138, 30.1904, 30.2208, 30.2848, 30.3164, 30.1843, 30.2021, 30.287, 30.3267, 30.3455, 30.2605, 30.3123, 29.9541, 29.7554, 29.7628, 29.8181, 29.8148, 29.7856, 29.9412, 29.7237, 29.8117, 29.9332, 29.8177, 29.8149, 29.7046, 29.7329, 29.8011, 29.7771, 29.6681, 29.7473, 29.7925, 29.9327, 29.8714, 29.7681, 29.8053, 29.9637, 29.6619, 29.7668, 29.6007, 29.5545, 29.6896, 29.8145, 29.7145, 29.5764, 29.6481, 29.6943, 29.7349, 29.7583, 29.5708, 29.2305, 29.3414, 29.4975, 29.3507, 29.3476, 29.4406, 29.5032, 29.3702, 29.4537, 29.4541, 29.2906, 29.3355, 29.2356, 29.1365, 29.1238, 29.235, 29.2058, 29.2272, 29.1518, 29.1934, 29.3066, 29.8827, 29.8637, 29.7555, 29.8211, 29.733, 29.8029, 29.6205, 29.6617, 29.6341, 29.669, 29.667, 29.5856, 29.7639, 29.7956, 29.8797, 29.8904, 29.9353, 29.7479, 29.6984, 29.6628, 29.8081, 29.8818, 29.7749, 29.8364, 29.8158, 29.8397, 29.8249, 29.7269, 29.7113, 29.7089, 29.7447, 29.6028, 29.6009, 29.7345, 29.6317, 29.6249, 29.6167, 29.6198, 29.5117, 29.5473, 29.6282, 29.5846, 29.6351, 29.4884, 29.5884, 29.5782, 29.597, 29.6602, 29.642, 29.5982, 29.5833, 29.5505, 29.6645, 29.6423, 29.6884, 29.5971, 29.629, 29.6099, 29.7349, 29.6186, 29.6216, 29.6514, 29.7227, 6.30577, 0.850035, 0.850086, 0.852147, 0.85506, 0.853704, 0.852389, 0.847375, 0.845265, 0.844268, 12.0884, 14.8202, 16.0854, 18.4263, 22.6864, 25.3547, 28.7515, 29.2947, 29.5581, 29.6702, 29.5414, 29.5656, 29.6555, 29.7576, 29.6792, 29.5457, 29.5302, 29.7084, 29.566, 29.6052, 29.5219, 29.6151, 29.6247, 29.6452, 29.7233, 29.7488, 29.729, 29.6618, 29.7586, 29.649, 29.5516, 29.6007, 29.6437, 29.6345, 29.7248, 29.6537, 29.6403, 29.6967, 29.6583, 29.6618, 29.6229, 29.6861, 29.7257, 29.7014, 29.7138, 29.6519, 29.7755, 29.6815, 29.6996, 29.6762, 29.3853, 29.2216, 29.0845, 29.0764, 29.1502, 29.181, 29.2939, 29.3407, 29.4, 29.5249, 29.5316, 29.4782, 29.2507, 29.3704, 29.3675, 29.4434, 29.446, 29.3978, 29.1997, 29.3096, 29.3254, 29.7428, 29.6611, 29.7145, 29.7762, 29.8435, 29.6584, 29.6749, 29.7896, 29.6143, 29.5371, 29.4746, 29.5399, 29.7573, 29.8757, 29.7886, 29.7899, 29.6722, 29.6167, 29.7026, 29.6855, 29.7371, 29.7882, 29.6779, 29.6959, 29.6948, 29.7656, 29.7826, 29.7351, 29.6583, 29.7127, 29.5707, 29.55, 29.7641, 29.7967, 29.5767, 29.7192, 29.6826, 29.5776, 29.4811, 29.5026, 29.5994, 29.6995, 29.6888, 29.7321, 29.5081, 29.583, 29.6376, 29.7027
+
+scal_read_bcm4b_current = 24.2938, 24.6909, 24.6776, 24.5463, 24.5704, 24.7421, 24.6999, 24.3468, 24.2384, 24.4042, 24.3236, 24.2619, 24.2062, 24.1791, 24.1864, 24.321, 24.3561, 24.3862, 24.4117, 24.3805, 24.3213, 24.3422, 24.3348, 24.2795, 24.3074, 24.345, 24.2456, 24.2944, 24.2606, 24.3389, 24.3169, 24.5364, 26.1661, 26.0885, 27.032, 28.6029, 28.6466, 29.1324, 29.5832, 29.5963, 29.6461, 29.5297, 29.4503, 29.5127, 29.7719, 29.6779, 29.6467, 29.6646, 29.6513, 29.5679, 29.6804, 19.8008, 0.865028, 0.866494, 0.867563, 0.867513, 0.866275, 0.867291, 0.868447, 0.871713, 0.876689, 8.10206, 15.8632, 16.3497, 19.2301, 22.7198, 26.3067, 28.3425, 28.7288, 29.1141, 29.0747, 29.1122, 29.0857, 28.9288, 29.2164, 29.4637, 29.5677, 29.6426, 29.4697, 22.2227, 0.879015, 0.880395, 0.873141, 0.875129, 0.874929, 0.879992, 4.94988, 14.8246, 15.4931, 15.5986, 21.8555, 22.7603, 27.7365, 28.4475, 29.6071, 29.5655, 29.5865, 29.6742, 29.63, 29.6017, 29.5043, 29.4556, 29.4637, 29.5913, 29.5945, 29.5644, 29.6215, 29.5386, 29.5274, 6.89856, 0.874026, 0.875464, 0.876605, 0.875395, 0.875113, 0.878503, 0.879137, 0.880862, 0.876992, 0.887001, 15.0122, 16.3578, 19.7862, 23.216, 26.4003, 28.7091, 29.102, 29.2427, 29.0049, 29.4211, 29.6144, 29.5267, 29.5206, 29.4599, 29.5531, 29.6822, 29.7363, 29.6895, 29.6575, 29.6551, 29.6448, 29.7163, 29.6329, 29.6947, 29.581, 29.5945, 29.5299, 29.3542, 29.057, 29.0333, 29.1268, 28.977, 28.984, 29.1026, 29.1844, 29.2248, 29.1882, 29.2263, 29.196, 29.2301, 29.2178, 29.1553, 29.1999, 29.0697, 29.1707, 29.2807, 29.6208, 29.6103, 29.6186, 29.5114, 29.5615, 29.5633, 29.9819, 30.0374, 30.0609, 30.1254, 30.1603, 30.0264, 30.0441, 30.1323, 30.1676, 30.1847, 30.1044, 30.1568, 29.7998, 29.6015, 29.6093, 29.6628, 29.6599, 29.6245, 29.7778, 29.5642, 29.6493, 29.7707, 29.6597, 29.6601, 29.5483, 29.5823, 29.6491, 29.6264, 29.5188, 29.5973, 29.6417, 29.781, 29.7156, 29.6133, 29.6532, 29.8093, 29.5079, 29.6147, 29.4495, 29.4006, 29.5332, 29.662, 29.564, 29.4277, 29.496, 29.5434, 29.5824, 29.6077, 29.4225, 29.079, 29.1895, 29.3461, 29.1964, 29.1987, 29.2922, 29.3562, 29.217, 29.2979, 29.2992, 29.1353, 29.1761, 29.0752, 28.9827, 28.9682, 29.0797, 29.0474, 29.0667, 28.9945, 29.0356, 29.1454, 29.7167, 29.7011, 29.5887, 29.6579, 29.569, 29.6446, 29.4635, 29.5012, 29.474, 29.5127, 29.5071, 29.4244, 29.6043, 29.638, 29.726, 29.7401, 29.782, 29.5966, 29.5512, 29.5129, 29.6578, 29.7278, 29.6234, 29.6854, 29.6645, 29.6869, 29.6726, 29.5773, 29.5602, 29.5549, 29.5915, 29.4498, 29.447, 29.5776, 29.4805, 29.4721, 29.4662, 29.472, 29.3591, 29.3936, 29.4736, 29.4315, 29.4818, 29.3375, 29.4378, 29.4273, 29.4426, 29.5052, 29.4859, 29.4418, 29.4255, 29.396, 29.5077, 29.4812, 29.5289, 29.4399, 29.47, 29.4496, 29.5749, 29.4569, 29.4588, 29.4891, 29.5609, 6.29963, 0.872948, 0.871841, 0.876535, 0.881108, 0.878881, 0.871579, 0.881796, 0.876899, 0.881474, 12.0876, 14.8087, 16.0574, 18.3708, 22.5879, 25.2357, 28.6046, 29.144, 29.4062, 29.5165, 29.3896, 29.4121, 29.4984, 29.6009, 29.523, 29.3888, 29.3745, 29.5529, 29.4144, 29.4521, 29.3683, 29.4625, 29.4672, 29.4869, 29.5627, 29.5863, 29.5649, 29.4989, 29.5913, 29.4898, 29.3927, 29.4408, 29.4808, 29.4731, 29.5633, 29.4908, 29.4793, 29.5387, 29.5014, 29.505, 29.4676, 29.5257, 29.5647, 29.5406, 29.5518, 29.4901, 29.6139, 29.5205, 29.5397, 29.5201, 29.2343, 29.0689, 28.9296, 28.923, 28.9969, 29.031, 29.1406, 29.189, 29.2491, 29.373, 29.3785, 29.3255, 29.1005, 29.2179, 29.2155, 29.2923, 29.2952, 29.2493, 29.0542, 29.1609, 29.1745, 29.5911, 29.5075, 29.5634, 29.6256, 29.6934, 29.511, 29.5235, 29.6362, 29.4634, 29.3837, 29.324, 29.3876, 29.6064, 29.7245, 29.6403, 29.6381, 29.525, 29.4702, 29.5542, 29.5347, 29.5855, 29.6368, 29.5292, 29.5495, 29.5461, 29.6143, 29.6294, 29.5831, 29.5056, 29.5628, 29.4194, 29.3978, 29.6131, 29.6425, 29.4217, 29.5588, 29.5248, 29.4248, 29.3239, 29.3484, 29.4494, 29.5476, 29.5368, 29.5818, 29.3577, 29.4372, 29.488, 29.5529
+
+scal_read_bcm4c_current = 24.4796, 24.6711, 24.6557, 24.5254, 24.5477, 24.7174, 24.6892, 24.323, 24.2198, 24.3781, 24.3041, 24.2449, 24.1834, 24.1621, 24.1704, 24.3098, 24.3363, 24.3639, 24.3928, 24.3583, 24.3044, 24.323, 24.3132, 24.2615, 24.2767, 24.3298, 24.2307, 24.2881, 24.2459, 24.3205, 24.3059, 24.5197, 26.1505, 26.077, 27.0269, 28.6151, 28.6578, 29.1498, 29.5966, 29.6075, 29.6583, 29.539, 29.4564, 29.5232, 29.7806, 29.6853, 29.6577, 29.6754, 29.6636, 29.582, 29.6947, 19.7366, 0.650058, 0.653691, 0.652938, 0.655231, 0.655257, 0.655592, 0.652267, 0.652417, 0.651941, 7.96764, 15.816, 16.3028, 19.1973, 22.6987, 26.2921, 28.3354, 28.7208, 29.1105, 29.0732, 29.1094, 29.0777, 28.9219, 29.2114, 29.4627, 29.5679, 29.6433, 29.4668, 22.1656, 0.657656, 0.657972, 0.653464, 0.649658, 0.663189, 0.662558, 4.77626, 14.7629, 15.4343, 15.5436, 21.8211, 22.7257, 27.7144, 28.4288, 29.5965, 29.5622, 29.581, 29.6646, 29.6234, 29.5938, 29.4937, 29.4444, 29.4547, 29.5829, 29.5911, 29.5596, 29.6159, 29.5336, 29.5207, 6.72241, 0.650405, 0.65135, 0.654609, 0.655488, 0.651271, 0.652712, 0.651364, 0.650921, 0.651026, 0.664031, 14.9518, 16.3086, 19.7471, 23.1848, 26.383, 28.7031, 29.0991, 29.2463, 29.0078, 29.4225, 29.607, 29.5204, 29.5166, 29.4507, 29.5485, 29.678, 29.7309, 29.6821, 29.6506, 29.6456, 29.6343, 29.7083, 29.6227, 29.686, 29.5724, 29.5805, 29.5182, 29.3486, 29.0452, 29.0219, 29.1176, 28.9667, 28.9737, 29.0927, 29.173, 29.2107, 29.176, 29.2126, 29.1801, 29.2136, 29.2024, 29.1347, 29.1824, 29.0473, 29.1515, 29.261, 29.6006, 29.5898, 29.5973, 29.4923, 29.543, 29.545, 29.9602, 30.0159, 30.0447, 30.1074, 30.1396, 30.0089, 30.0284, 30.1146, 30.1546, 30.1725, 30.0903, 30.1386, 29.7803, 29.5837, 29.5946, 29.6512, 29.6515, 29.6199, 29.7681, 29.5487, 29.6284, 29.7489, 29.6342, 29.6315, 29.5236, 29.551, 29.6176, 29.5969, 29.4898, 29.5778, 29.6215, 29.7568, 29.6932, 29.5961, 29.6345, 29.7891, 29.4944, 29.5989, 29.4294, 29.3807, 29.5098, 29.6378, 29.5403, 29.4035, 29.4718, 29.5152, 29.556, 29.5808, 29.396, 29.0512, 29.162, 29.3234, 29.1712, 29.1721, 29.2639, 29.3278, 29.1915, 29.2776, 29.2753, 29.1091, 29.1537, 29.0527, 28.9553, 28.9459, 29.0574, 29.0273, 29.0471, 28.9736, 29.0159, 29.1273, 29.7039, 29.6806, 29.571, 29.6336, 29.5498, 29.6212, 29.4401, 29.4857, 29.4522, 29.4912, 29.4859, 29.3997, 29.58, 29.6122, 29.6946, 29.7021, 29.7473, 29.5659, 29.5219, 29.4833, 29.6266, 29.697, 29.5917, 29.6571, 29.6377, 29.6689, 29.6507, 29.55, 29.5339, 29.5291, 29.5677, 29.4258, 29.4166, 29.5513, 29.4534, 29.4505, 29.4415, 29.4461, 29.3382, 29.3696, 29.4516, 29.4035, 29.4519, 29.3096, 29.4102, 29.4004, 29.4188, 29.4805, 29.4628, 29.4186, 29.4055, 29.3741, 29.4857, 29.4607, 29.5065, 29.4134, 29.4452, 29.4256, 29.5523, 29.437, 29.4376, 29.4635, 29.5373, 6.1043, 0.647071, 0.647049, 0.646593, 0.647395, 0.646375, 0.65131, 0.643907, 0.637007, 0.640647, 11.9863, 14.7387, 15.9958, 18.3156, 22.5456, 25.1976, 28.5708, 29.1175, 29.3807, 29.4885, 29.3605, 29.3848, 29.4723, 29.5747, 29.4997, 29.3632, 29.3448, 29.5245, 29.3863, 29.4228, 29.3402, 29.4317, 29.4393, 29.459, 29.5362, 29.5612, 29.5401, 29.4756, 29.5647, 29.4601, 29.3642, 29.4157, 29.4562, 29.4477, 29.5376, 29.4633, 29.4502, 29.5103, 29.4772, 29.4792, 29.4378, 29.4991, 29.5393, 29.5176, 29.527, 29.4637, 29.587, 29.4956, 29.5152, 29.4951, 29.2041, 29.0423, 28.9005, 28.8947, 28.9705, 29.0063, 29.1266, 29.1727, 29.2263, 29.3513, 29.3564, 29.3038, 29.0789, 29.1987, 29.1985, 29.2737, 29.2765, 29.2288, 29.0345, 29.1402, 29.1545, 29.5695, 29.4877, 29.5402, 29.6082, 29.6703, 29.4851, 29.5021, 29.6148, 29.4416, 29.366, 29.3047, 29.3697, 29.5869, 29.7066, 29.6245, 29.6256, 29.5077, 29.4518, 29.5391, 29.5236, 29.5736, 29.6275, 29.5177, 29.5385, 29.5362, 29.6071, 29.6276, 29.5768, 29.5072, 29.5619, 29.4174, 29.3965, 29.6131, 29.6476, 29.4256, 29.5634, 29.5338, 29.4376, 29.3327, 29.3513, 29.4475, 29.549, 29.5385, 29.5882, 29.3648, 29.4417, 29.4915, 29.5569
+
+scal_read_event = 1, 4797, 9801, 10000, 14842, 19943, 20000, 24842, 29666, 30000, 34834, 39650, 40000, 44886, 49896, 50000, 54802, 59892, 60000, 64993, 69882, 70000, 75022, 79824, 80000, 84943, 89721, 90000, 94853, 99782, 100000, 104972, 110000, 115173, 120000, 125655, 130000, 135792, 140000, 145756, 150000, 155900, 160000, 165832, 170000, 175918, 180000, 185871, 190000, 195869, 200000, 204220, 204226, 204235, 204242, 204246, 204250, 204256, 204261, 204268, 204280, 205775, 208971, 210000, 213696, 218387, 220000, 225718, 230000, 235833, 240000, 245837, 250000, 255775, 260000, 265687, 270000, 275906, 280000, 284695, 284699, 284702, 284706, 284712, 284716, 284726, 285588, 288521, 290000, 293071, 297403, 300000, 305561, 310000, 315835, 320000, 325906, 330000, 336014, 340000, 345772, 350000, 355812, 360000, 365857, 370000, 375859, 380000, 386013, 387354, 387358, 387367, 387375, 387380, 387384, 387389, 387393, 387399, 387404, 387410, 390000, 393200, 397128, 400000, 405336, 410000, 415814, 420000, 425818, 430000, 435916, 440000, 445892, 450000, 455922, 460000, 465910, 470000, 475954, 480000, 485834, 490000, 495966, 500000, 506013, 510000, 515970, 520000, 525835, 530000, 535933, 540000, 545806, 550000, 555768, 560000, 565907, 570000, 575952, 580000, 585807, 590000, 595875, 600000, 605618, 610000, 615972, 620000, 625949, 630000, 635912, 640000, 645882, 650000, 655975, 660000, 665910, 670000, 675925, 680000, 685957, 690000, 695983, 700000, 705832, 710000, 715811, 720000, 725991, 730000, 735946, 740000, 745900, 750000, 755935, 760000, 765955, 770000, 775875, 780000, 785828, 790000, 795767, 800000, 805816, 810000, 815821, 820000, 825917, 830000, 836015, 840000, 845853, 850000, 855827, 860000, 865941, 870000, 875727, 880000, 885894, 890000, 895945, 900000, 905798, 910000, 915909, 920000, 925762, 930000, 935893, 940000, 945934, 950000, 955829, 960000, 965676, 970000, 975735, 980000, 985836, 990000, 995951, 1e+06, 1.00588e+06, 1.01e+06, 1.01598e+06, 1.02e+06, 1.0259e+06, 1.03e+06, 1.03587e+06, 1.04e+06, 1.04592e+06, 1.05e+06, 1.05597e+06, 1.06e+06, 1.06594e+06, 1.07e+06, 1.0758e+06, 1.08e+06, 1.08594e+06, 1.09e+06, 1.09599e+06, 1.1e+06, 1.10589e+06, 1.11e+06, 1.11603e+06, 1.12e+06, 1.12593e+06, 1.13e+06, 1.13592e+06, 1.14e+06, 1.14595e+06, 1.15e+06, 1.15582e+06, 1.16e+06, 1.16591e+06, 1.17e+06, 1.17588e+06, 1.18e+06, 1.18582e+06, 1.19e+06, 1.1959e+06, 1.2e+06, 1.20583e+06, 1.21e+06, 1.21583e+06, 1.22e+06, 1.22594e+06, 1.23e+06, 1.23585e+06, 1.24e+06, 1.24581e+06, 1.25e+06, 1.25586e+06, 1.26e+06, 1.26574e+06, 1.27e+06, 1.276e+06, 1.28e+06, 1.28588e+06, 1.29e+06, 1.29604e+06, 1.3e+06, 1.30595e+06, 1.30721e+06, 1.30722e+06, 1.30722e+06, 1.30723e+06, 1.30724e+06, 1.30724e+06, 1.30724e+06, 1.30725e+06, 1.30726e+06, 1.30726e+06, 1.30954e+06, 1.31e+06, 1.31322e+06, 1.31692e+06, 1.32e+06, 1.32498e+06, 1.33e+06, 1.33568e+06, 1.34e+06, 1.34604e+06, 1.35e+06, 1.35602e+06, 1.36e+06, 1.3659e+06, 1.37e+06, 1.37588e+06, 1.38e+06, 1.38591e+06, 1.39e+06, 1.39586e+06, 1.4e+06, 1.40581e+06, 1.41e+06, 1.41597e+06, 1.42e+06, 1.42587e+06, 1.43e+06, 1.43586e+06, 1.44e+06, 1.4459e+06, 1.45e+06, 1.45589e+06, 1.46e+06, 1.46594e+06, 1.47e+06, 1.47598e+06, 1.48e+06, 1.48588e+06, 1.49e+06, 1.49591e+06, 1.5e+06, 1.5059e+06, 1.51e+06, 1.51597e+06, 1.52e+06, 1.52589e+06, 1.53e+06, 1.53589e+06, 1.54e+06, 1.54583e+06, 1.55e+06, 1.55579e+06, 1.56e+06, 1.56579e+06, 1.57e+06, 1.57582e+06, 1.58e+06, 1.58585e+06, 1.59e+06, 1.59591e+06, 1.6e+06, 1.60587e+06, 1.61e+06, 1.61592e+06, 1.62e+06, 1.62594e+06, 1.63e+06, 1.6358e+06, 1.64e+06, 1.64586e+06, 1.65e+06, 1.65585e+06, 1.66e+06, 1.66578e+06, 1.67e+06, 1.67601e+06, 1.68e+06, 1.68579e+06, 1.69e+06, 1.69593e+06, 1.7e+06, 1.7059e+06, 1.71e+06, 1.71598e+06, 1.72e+06, 1.7259e+06, 1.73e+06, 1.73586e+06, 1.74e+06, 1.74595e+06, 1.75e+06, 1.7558e+06, 1.76e+06, 1.7658e+06, 1.77e+06, 1.77584e+06, 1.78e+06, 1.78573e+06, 1.79e+06, 1.79582e+06, 1.8e+06, 1.80587e+06, 1.81e+06, 1.81594e+06, 1.82e+06, 1.82584e+06, 1.83e+06, 1.83582e+06, 1.84e+06, 1.84581e+06, 1.85e+06, 1.856e+06, 1.86e+06, 1.8659e+06, 1.87e+06, 1.8759e+06, 1.88e+06, 1.88583e+06, 1e+38
\ No newline at end of file
diff --git a/PARAM/HMS/BCM/CALIB/bcmcurrent_4999.param b/PARAM/HMS/BCM/CALIB/bcmcurrent_4999.param
new file mode 100644
index 0000000000000000000000000000000000000000..e8c5d94c5394696bfd9cc4e143fa14b0e31d65e9
--- /dev/null
+++ b/PARAM/HMS/BCM/CALIB/bcmcurrent_4999.param
@@ -0,0 +1,13 @@
+num_scal_reads = 367
+
+scal_read_bcm1_current = 58.7181, 58.6679, 58.6379, 58.833, 58.5257, 58.4569, 58.5744, 58.9469, 59.0199, 59.0244, 58.7452, 58.8192, 58.673, 5.61075, -0.0680264, -0.0682553, -0.0680053, -0.0678807, -0.0679229, -0.0680063, -0.0681097, -0.0680705, -0.0680876, -0.0676929, -0.0680274, -0.067944, -0.0675262, -0.0671727, -0.067466, -0.0677974, -0.0679651, 9.82049, 11.4322, 15.3024, 19.715, 23.8869, 29.8785, 36.0708, 39.2592, 44.6979, 49.7714, 52.4447, 57.9206, 58.6101, 59.0758, 58.8645, 58.8129, 58.6569, 58.6562, 58.662, 58.6687, 58.8344, 58.9008, 58.7846, 58.8806, 58.6519, 58.804, 58.688, 58.7208, 59.0697, 58.7505, 58.6167, 58.9269, 58.7986, 58.6942, 58.7022, 58.4655, 58.4279, 58.619, 58.4557, 58.354, 58.288, 58.5264, 58.4385, 58.4311, 58.7583, 58.5831, 58.6561, 58.643, 58.547, 58.8163, 58.7665, 58.7678, 58.6583, 58.891, 58.6323, 58.7067, 58.5696, 58.4555, 58.6401, 58.5877, 58.3299, 58.4935, 58.4268, 58.47, 58.2218, 58.1043, 58.5623, 58.5942, 58.7865, 58.4663, 58.5887, 58.6309, 58.6548, 58.4682, 58.2148, 58.1636, 58.4778, 58.5722, 58.6766, 58.7535, 58.9356, 58.4149, 58.2781, 57.9991, 58.3595, 58.5241, 58.2578, 58.1857, 58.3354, 58.3687, 58.4012, 58.4099, 58.0745, 58.1406, 58.3605, 58.1634, 18.3017, -0.0679832, -0.0674439, -0.0679651, -0.0679219, -0.0668805, -0.0667369, -0.0674419, -0.0674218, -0.0672149, -0.0673173, -0.067236, -0.067463, -0.0669649, -0.0673384, -0.0677984, 0.424553, 10.3378, 11.5574, 13.1543, 22.2623, 26.7526, 29.8258, 37.1469, 40.8247, 44.572, 50.5369, 53.7219, 57.8291, 58.3567, 58.4587, 58.5998, 58.4815, 4.8697, -0.0678827, -0.0676287, -0.067463, -0.067466, -0.0665883, -0.0676518, -0.0679852, -0.0680284, -0.0676698, -0.0678817, -0.0675072, -0.0664426, -0.0669026, -0.0673595, -0.0665049, -0.0666716, -0.0676327, -0.0680274, -0.0676086, -0.0677562, -0.0677783, -0.0680675, -0.0679279, -0.0595243, 4.32664, 11.2481, 11.5699, 19.5924, 23.6527, 29.3555, 34.1156, 37.2522, 44.4603, 48.3649, 51.6628, 57.9788, 58.1145, 52.3417, -0.0584808, -0.0575459, -0.0588796, -0.0588153, -0.0588986, -0.0587962, -0.0586285, -0.0674851, -0.0676729, -0.0674851, -0.0674037, -0.067482, -0.0675272, -0.0676538, -0.0675463, -0.0675051, -0.0675051, -0.0674248, -0.0674017, -0.0676718, -0.0675704, -0.067941, 0.104318, 9.91758, 11.3177, 14.1967, 19.6579, 25.7589, 29.0267, 34.5989, 39.3749, 42.4042, 49.3767, 52.8133, 55.4874, 58.0337, 58.1825, 58.0275, 1.10342, -0.058982, -0.058504, -0.0584407, -0.0581093, -0.0589629, -0.0588564, -0.0592742, -0.0573581, -0.0570448, -0.057816, -0.0574404, -0.0570026, -0.0579627, -0.0580661, -0.0571302, -0.0577517, -0.0576925, -0.057355, -0.0569213, -0.0576303, -0.057337, -0.058043, -0.0569192, -0.0560877, -0.0564191, -0.0572135, -0.0562725, -0.0574404, 9.66033, 11.5506, 15.6578, 19.6954, 27.274, 30.5303, 34.5943, 41.8766, 45.2908, 49.2624, 49.3386, 55.6368, 57.5825, 58.5739, 58.493, 58.4222, 17.038, -0.0578773, -0.057566, -0.058026, -0.0572315, -0.0574204, -0.0577949, -0.0577949, -0.0585662, -0.0574003, -0.0579416, -0.0579817, -0.0575871, -0.058524, -0.056857, -0.0595454, -0.0593174, -0.0576925, -0.0577306, -0.0586305, -0.0579426, -0.0582097, -0.0577317, -0.057566, -0.0645878, -0.0605677, -0.0586697, -0.0574837, -0.0576071, -0.0573782, -0.0578803, -0.0605235, -0.0610879, -0.0572326, -0.0578371, -0.0576092, -0.0576905, -0.0578371, -0.057355, -0.0594419, -0.0574847, -0.0572506, -0.0577136, -0.0584829, -0.0575449, -0.0586064, -0.0567746, -0.0572768, -0.0569172, -0.0583373, -0.0580049, -0.0580852, -0.058256, -0.0575428, -0.0591507, -0.0633807, -0.0578361, -0.0582138, -0.0579395, -0.0575238, -0.0578994, -0.0580661, -0.0570669, -0.0584618, -0.0593164, -0.0582117, -0.0586707, -0.0580661, -0.0586305, -0.0592933, -0.0579627, -0.0579406, -0.0598587, -0.0580239, -0.0573993, -0.0575459, -0.0578783, -0.0578593, -0.0568781, -0.0578763, -0.058026, -0.0576684, -0.0576092, -0.0574615, -0.0572602
+
+scal_read_bcm2_current = 58.6951, 58.6639, 58.6336, 58.8275, 58.5206, 58.4512, 58.5688, 58.9395, 59.0114, 59.0159, 58.7379, 58.8123, 58.6663, 5.58867, -0.0921055, -0.092084, -0.0921701, -0.0921271, -0.0921702, -0.0921702, -0.0921055, -0.0921489, -0.0920838, -0.0921055, -0.0921057, -0.0921057, -0.0921055, -0.0921702, -0.0921274, -0.0921271, -0.0920411, 9.80785, 11.4222, 15.2997, 19.7205, 23.8984, 29.8988, 36.0954, 39.2805, 44.706, 49.7712, 52.4407, 57.9088, 58.5986, 59.0643, 58.8547, 58.8031, 58.6476, 58.647, 58.653, 58.6595, 58.8249, 58.891, 58.7748, 58.8703, 58.6421, 58.7939, 58.678, 58.7117, 59.0585, 58.7413, 58.6076, 58.9165, 58.7889, 58.6849, 58.693, 58.4558, 58.4178, 58.6087, 58.4447, 58.3433, 58.278, 58.5156, 58.4277, 58.4204, 58.7477, 58.5725, 58.6454, 58.6323, 58.5361, 58.8048, 58.7556, 58.7569, 58.6477, 58.8799, 58.6216, 58.6958, 58.5594, 58.4452, 58.6302, 58.5776, 58.3195, 58.4824, 58.4161, 58.4592, 58.2109, 58.0931, 58.5524, 58.5843, 58.7766, 58.4566, 58.5789, 58.6211, 58.6456, 58.4593, 58.206, 58.1535, 58.469, 58.5632, 58.6678, 58.7445, 58.9267, 58.4068, 58.2699, 57.9898, 58.3522, 58.5175, 58.251, 58.1792, 58.3293, 58.3633, 58.3962, 58.4062, 58.0706, 58.1375, 58.3578, 58.1603, 18.2839, -0.0920623, -0.0920195, -0.0921272, -0.0919978, -0.092041, -0.0921489, -0.0920193, -0.0919978, -0.0920411, -0.0920624, -0.0919765, -0.0920408, -0.0920411, -0.0919978, -0.0921272, 0.400452, 10.3268, 11.5484, 13.1486, 22.275, 26.7714, 29.8486, 37.1744, 40.845, 44.584, 50.5383, 53.7192, 57.8201, 58.3519, 58.4534, 58.5947, 58.4758, 4.84709, -0.0920412, -0.0921268, -0.0920408, -0.0922135, -0.092084, -0.0921487, -0.0921487, -0.0921919, -0.0920837, -0.0921272, -0.0920842, -0.0921055, -0.0920627, -0.0921917, -0.092084, -0.092084, -0.0921274, -0.0921918, -0.0920193, -0.0921702, -0.0920197, -0.0921485, -0.0920679, -0.0921055, 4.30185, 11.2379, 11.5603, 19.5972, 23.6659, 29.3768, 34.1403, 37.2774, 44.4722, 48.3697, 51.6604, 57.9721, 58.1069, 52.3327, -0.0921484, -0.0920411, -0.0922134, -0.0921485, -0.0921485, -0.0921272, -0.0921271, -0.0921487, -0.0921702, -0.0920625, -0.0921489, -0.0920621, -0.0921057, -0.0921489, -0.0920408, -0.092084, -0.092084, -0.0920844, -0.0920625, -0.092084, -0.0921489, -0.0921053, 0.0798873, 9.90555, 11.3082, 14.1926, 19.6643, 25.7752, 29.0473, 34.6243, 39.3978, 42.4235, 49.3742, 52.8092, 55.482, 58.0283, 58.1778, 58.021, 1.07041, -0.0921485, -0.0920841, -0.0921917, -0.0921058, -0.0921272, -0.0921915, -0.0920194, -0.0921057, -0.0921271, -0.0920625, -0.0921055, -0.092084, -0.0921272, -0.0921487, -0.0921274, -0.0920838, -0.0921919, -0.0921053, -0.0921704, -0.0921274, -0.0920841, -0.0921268, -0.0919978, -0.0920842, -0.092084, -0.0921274, -0.0920193, -0.0921055, 9.64721, 11.5407, 15.6546, 19.7009, 27.2923, 30.5511, 34.6185, 41.8949, 45.2997, 49.2581, 49.3338, 55.6243, 57.5696, 58.5647, 58.4836, 58.4122, 17.0107, -0.0920408, -0.0921487, -0.0921058, -0.0920624, -0.0920841, -0.0921271, -0.092041, -0.0920625, -0.0920627, -0.0920195, -0.0920624, -0.0920841, -0.0921055, -0.0920194, -0.0921271, -0.0921488, -0.0920197, -0.0921484, -0.0920412, -0.0920197, -0.0920407, -0.0920624, -0.0920625, -0.092084, -0.0920627, -0.0919978, -0.0921488, -0.0920194, -0.092041, -0.0920412, -0.0921054, -0.0920841, -0.0919764, -0.0920841, -0.0920197, -0.0921055, -0.091998, -0.0920191, -0.0920195, -0.0920628, -0.0920837, -0.0920412, -0.0920625, -0.092041, -0.0921054, -0.0920195, -0.0921059, -0.0920837, -0.0920841, -0.0920842, -0.0920838, -0.0920844, -0.0920407, -0.0920627, -0.0921272, -0.0919978, -0.0920412, -0.0921054, -0.0920194, -0.0920625, -0.0920625, -0.0920627, -0.092041, -0.0921487, -0.092041, -0.0920841, -0.0921487, -0.0920412, -0.0921268, -0.0920411, -0.0921055, -0.0920195, -0.0921055, -0.0920625, -0.0921272, -0.0919548, -0.0921058, -0.092041, -0.0920407, -0.0920197, -0.0920838, -0.0920197, -0.0919548, -0.0919903
+
+scal_read_bcm4a_current = 59.144, 59.13, 59.1045, 59.3011, 58.9816, 58.9091, 59.036, 59.4236, 59.5007, 59.5065, 59.217, 59.2944, 59.1427, 6.13946, 0.466888, 0.467043, 0.467556, 0.468274, 0.467709, 0.468068, 0.46658, 0.466783, 0.464939, 0.463963, 0.466169, 0.466836, 0.46658, 0.46699, 0.466937, 0.467914, 0.467041, 9.83483, 11.4518, 15.3366, 19.7648, 23.9529, 29.9672, 36.1854, 39.3918, 44.867, 50.0079, 52.7308, 58.3497, 59.0705, 59.5495, 59.3339, 59.2842, 59.1182, 59.1128, 59.1191, 59.135, 59.3095, 59.3758, 59.2588, 59.3564, 59.1204, 59.2776, 59.1589, 59.1983, 59.5626, 59.2285, 59.0827, 59.4008, 59.2722, 59.1642, 59.1703, 58.9277, 58.8887, 59.0892, 58.9156, 58.8103, 58.7376, 58.9805, 58.8876, 58.8859, 59.2264, 59.0406, 59.1147, 59.106, 59.0038, 59.2829, 59.2322, 59.2306, 59.1112, 59.3501, 59.0816, 59.1578, 59.0187, 58.9065, 59.0973, 59.0437, 58.7729, 58.9443, 58.8736, 58.9149, 58.6539, 58.5326, 59.0126, 59.0441, 59.2437, 58.9114, 59.0341, 59.0775, 59.1071, 58.9093, 58.6444, 58.5914, 58.922, 59.0212, 59.1287, 59.2089, 59.3962, 58.8524, 58.7167, 58.429, 58.7982, 58.9693, 58.6975, 58.6326, 58.792, 58.8196, 58.8401, 58.8493, 58.5092, 58.5746, 58.8036, 58.5939, 18.8074, 0.467506, 0.466682, 0.467041, 0.467196, 0.467401, 0.466783, 0.466889, 0.467196, 0.467195, 0.467351, 0.467246, 0.467454, 0.467041, 0.467196, 0.467913, 0.932283, 10.3504, 11.5749, 13.1772, 22.3163, 26.8209, 29.9029, 37.2567, 40.9572, 44.7263, 50.7667, 54.0336, 58.2427, 58.7881, 58.8999, 59.0485, 58.9217, 5.39665, 0.4655, 0.465094, 0.465606, 0.46432, 0.464528, 0.46504, 0.46658, 0.466527, 0.466685, 0.467913, 0.468169, 0.467094, 0.464937, 0.46617, 0.465298, 0.466067, 0.467348, 0.46545, 0.466941, 0.466785, 0.467143, 0.468018, 0.466913, 0.465605, 4.62172, 11.263, 11.5854, 19.6344, 23.7062, 29.4272, 34.2093, 37.3602, 44.606, 48.5716, 51.9124, 58.3974, 58.5355, 52.7779, 0.46612, 0.465655, 0.465193, 0.464836, 0.464425, 0.464013, 0.464373, 0.465092, 0.464168, 0.464578, 0.464628, 0.466326, 0.465656, 0.465192, 0.465144, 0.466119, 0.465041, 0.464935, 0.46504, 0.466119, 0.466065, 0.466018, 0.627777, 9.92881, 11.3321, 14.2203, 19.6992, 25.8151, 29.0951, 34.689, 39.4883, 42.5348, 49.5721, 53.0828, 55.8168, 58.4412, 58.5941, 58.436, 1.62421, 0.466273, 0.464578, 0.463347, 0.463037, 0.463141, 0.461809, 0.463091, 0.462371, 0.461192, 0.461191, 0.462167, 0.461141, 0.462268, 0.463193, 0.461805, 0.46263, 0.464269, 0.463606, 0.464731, 0.463858, 0.463449, 0.464068, 0.463758, 0.464577, 0.464887, 0.464525, 0.466068, 0.465554, 9.68996, 11.5667, 15.6867, 19.7376, 27.3382, 30.6073, 34.6894, 42.0032, 45.4457, 49.4593, 49.5405, 55.9851, 57.9663, 58.9928, 58.9097, 58.8349, 17.5312, 0.46032, 0.464578, 0.467143, 0.466735, 0.466785, 0.466477, 0.46617, 0.466529, 0.466322, 0.46622, 0.466273, 0.46504, 0.464784, 0.465913, 0.466324, 0.465552, 0.465757, 0.465402, 0.464628, 0.465655, 0.466377, 0.466376, 0.464578, 0.465349, 0.464013, 0.464784, 0.465193, 0.465041, 0.463706, 0.462832, 0.463554, 0.4635, 0.464732, 0.464322, 0.464423, 0.464066, 0.464219, 0.463811, 0.463603, 0.463806, 0.463657, 0.463961, 0.464065, 0.462628, 0.463092, 0.461601, 0.461804, 0.46181, 0.46232, 0.461652, 0.461501, 0.461548, 0.463195, 0.46314, 0.464064, 0.462937, 0.462524, 0.463605, 0.464887, 0.464578, 0.464116, 0.463397, 0.464271, 0.464527, 0.463809, 0.462885, 0.463449, 0.462832, 0.464068, 0.463962, 0.463963, 0.463705, 0.464014, 0.46427, 0.46427, 0.464733, 0.464577, 0.463039, 0.462066, 0.464628, 0.464375, 0.464064, 0.463911, 0.464053
+
+scal_read_bcm4b_current = 59.002, 58.7811, 58.7495, 58.9483, 58.6343, 58.5701, 58.6903, 59.0723, 59.147, 59.1483, 58.8585, 58.9356, 58.7891, 6.76486, 1.19263, 1.19354, 1.19354, 1.19512, 1.19376, 1.19354, 1.19467, 1.19285, 1.19535, 1.19399, 1.1958, 1.19422, 1.19263, 1.20101, 1.20214, 1.19739, 1.2026, 9.83384, 11.4536, 15.332, 19.7521, 23.8951, 29.843, 36.0208, 39.2066, 44.646, 49.7357, 52.4399, 58.026, 58.7318, 59.2118, 59.0039, 58.9536, 58.7908, 58.792, 58.7968, 58.8031, 58.9716, 59.0395, 58.9192, 59.0244, 58.7826, 58.9355, 58.8127, 58.8461, 59.2066, 58.8767, 58.7425, 59.0663, 58.9284, 58.8195, 58.827, 58.578, 58.5377, 58.7383, 58.5672, 58.4637, 58.3908, 58.6358, 58.5529, 58.5425, 58.8849, 58.7076, 58.7815, 58.7646, 58.666, 58.9463, 58.8994, 58.8977, 58.7892, 59.0263, 58.7556, 58.8302, 58.6954, 58.5721, 58.762, 58.7156, 58.444, 58.6109, 58.5399, 58.5823, 58.3203, 58.1969, 58.6693, 58.7044, 58.9119, 58.5786, 58.7115, 58.7539, 58.7761, 58.5777, 58.3181, 58.2629, 58.5886, 58.6859, 58.794, 58.8738, 59.0597, 58.515, 58.3709, 58.087, 58.4657, 58.6364, 58.3534, 58.274, 58.4303, 58.4647, 58.4974, 58.5057, 58.161, 58.2335, 58.4684, 58.2549, 19.1901, 1.18244, 1.18221, 1.18493, 1.18176, 1.18289, 1.18243, 1.18425, 1.18402, 1.18357, 1.18606, 1.18402, 1.18267, 1.18334, 1.18357, 1.18244, 1.60882, 10.3429, 11.5739, 13.166, 22.2666, 26.7264, 29.7824, 37.0822, 40.761, 44.5059, 50.4821, 53.7222, 57.9066, 58.4529, 58.5564, 58.7113, 58.5924, 6.03017, 1.1881, 1.18697, 1.19014, 1.18402, 1.18833, 1.18719, 1.18991, 1.1958, 1.19422, 1.19127, 1.18946, 1.19037, 1.18855, 1.18833, 1.18878, 1.18697, 1.18628, 1.18833, 1.18516, 1.18493, 1.19014, 1.18403, 1.18918, 1.18923, 5.02057, 11.2603, 11.5808, 19.5973, 23.6446, 29.3086, 34.0574, 37.1909, 44.3932, 48.3081, 51.6113, 58.0567, 58.1953, 52.5547, 1.19014, 1.19172, 1.19082, 1.19195, 1.18992, 1.19082, 1.19354, 1.19263, 1.18923, 1.19173, 1.19399, 1.18698, 1.18855, 1.1856, 1.18539, 1.18335, 1.18584, 1.18719, 1.18651, 1.19037, 1.19784, 1.194, 1.33803, 9.92104, 11.3313, 14.2161, 19.6854, 25.7423, 28.9946, 34.5524, 39.3125, 42.3369, 49.3132, 52.7999, 55.5131, 58.117, 58.281, 58.1234, 2.32712, 1.18697, 1.18833, 1.1958, 1.19965, 1.20033, 1.19603, 1.19399, 1.19286, 1.19263, 1.19784, 1.19694, 1.19943, 1.20033, 1.20192, 1.20305, 1.20306, 1.20418, 1.2051, 1.20509, 1.20078, 1.20192, 1.20034, 1.20215, 1.19965, 1.20102, 1.19784, 1.20102, 1.19694, 9.71188, 11.5649, 15.6779, 19.722, 27.2453, 30.4917, 34.544, 41.8076, 45.2203, 49.195, 49.2703, 55.666, 57.6391, 58.6655, 58.5765, 58.503, 17.9618, 1.20419, 1.19852, 1.19761, 1.19784, 1.19852, 1.1992, 1.19898, 1.20033, 1.19943, 1.19761, 1.19581, 1.20101, 1.19966, 1.20237, 1.20328, 1.20328, 1.20328, 1.20079, 1.20282, 1.19739, 1.19762, 1.19875, 1.20192, 1.2017, 1.19897, 1.20011, 1.19693, 1.19943, 1.19762, 1.19467, 1.19467, 1.19558, 1.19331, 1.19172, 1.1915, 1.19037, 1.19014, 1.19037, 1.19127, 1.18991, 1.18856, 1.18742, 1.19105, 1.20033, 1.19898, 1.19558, 1.19534, 1.19604, 1.19875, 1.19852, 1.19694, 1.19489, 1.19422, 1.19082, 1.19331, 1.19218, 1.19149, 1.18652, 1.18131, 1.18221, 1.18334, 1.18334, 1.18334, 1.18244, 1.1838, 1.18493, 1.1847, 1.18583, 1.1838, 1.1847, 1.18425, 1.18561, 1.1838, 1.1847, 1.18561, 1.1847, 1.18425, 1.18561, 1.18244, 1.1847, 1.18697, 1.18742, 1.1872, 1.18624
+
+scal_read_bcm4c_current = 58.7663, 58.716, 58.6852, 58.8904, 58.5719, 58.4995, 58.6246, 59.0095, 59.0887, 59.0897, 58.7971, 58.8806, 58.7488, 6.08784, 0.450523, 0.449773, 0.449698, 0.449997, 0.448946, 0.449321, 0.449697, 0.449995, 0.450825, 0.450373, 0.450822, 0.450672, 0.450748, 0.452099, 0.451497, 0.450523, 0.44902, 9.80051, 11.4002, 15.2578, 19.6548, 23.8053, 29.7677, 35.9474, 39.127, 44.5628, 49.6549, 52.3611, 57.944, 58.6587, 59.1354, 58.9193, 58.8672, 58.7044, 58.7104, 58.7083, 58.7109, 58.8834, 58.9516, 58.8286, 58.9312, 58.6975, 58.8575, 58.7396, 58.7741, 59.1343, 58.8035, 58.6635, 58.9886, 58.8532, 58.7527, 58.7553, 58.5079, 58.464, 58.6629, 58.4941, 58.3855, 58.3232, 58.5666, 58.4729, 58.4675, 58.8079, 58.6233, 58.6973, 58.6835, 58.5852, 58.8603, 58.8053, 58.8036, 58.6948, 58.9377, 58.6668, 58.7406, 58.6038, 58.4889, 58.6732, 58.6173, 58.3462, 58.5145, 58.4438, 58.4886, 58.2327, 58.1161, 58.5884, 58.6241, 58.8339, 58.4917, 58.6152, 58.6601, 58.6914, 58.4965, 58.2324, 58.1768, 58.5037, 58.6069, 58.7099, 58.7871, 58.9759, 58.4373, 58.3035, 58.0094, 58.3814, 58.5527, 58.2749, 58.1982, 58.3555, 58.3844, 58.4255, 58.4323, 58.0823, 58.1521, 58.3781, 58.1738, 18.6647, 0.45045, 0.451123, 0.451648, 0.451124, 0.451199, 0.450671, 0.45105, 0.450599, 0.451573, 0.451199, 0.451122, 0.450524, 0.450597, 0.450824, 0.450146, 0.914191, 10.3137, 11.5246, 13.1131, 22.1893, 26.661, 29.7165, 37.0233, 40.7015, 44.4445, 50.4237, 53.6531, 57.835, 58.3852, 58.4916, 58.6376, 58.515, 5.34785, 0.450446, 0.450825, 0.450674, 0.45022, 0.450148, 0.449547, 0.450297, 0.450746, 0.450826, 0.451573, 0.451572, 0.451124, 0.451197, 0.450824, 0.449322, 0.449998, 0.44932, 0.450072, 0.450975, 0.450898, 0.449395, 0.450449, 0.449997, 0.451574, 4.59769, 11.2136, 11.5338, 19.5217, 23.5637, 29.2388, 33.993, 37.1232, 44.3181, 48.2331, 51.5387, 57.9911, 58.1325, 52.416, 0.450675, 0.450597, 0.450372, 0.450824, 0.449848, 0.450522, 0.451349, 0.450973, 0.450222, 0.450373, 0.450145, 0.450151, 0.450672, 0.450896, 0.450074, 0.450298, 0.450974, 0.452397, 0.452324, 0.451349, 0.452097, 0.452177, 0.613002, 9.89223, 11.2824, 14.1489, 19.5881, 25.6504, 28.9056, 34.4665, 39.2256, 42.2407, 49.2184, 52.6969, 55.4115, 58.0275, 58.1826, 58.0183, 1.60468, 0.452776, 0.451573, 0.452325, 0.453299, 0.4536, 0.452777, 0.4518, 0.451123, 0.451799, 0.451349, 0.451875, 0.450974, 0.451122, 0.451123, 0.451647, 0.4512, 0.451872, 0.450901, 0.451272, 0.450521, 0.450522, 0.451801, 0.451725, 0.450146, 0.448797, 0.451797, 0.449699, 0.451124, 9.65115, 11.5113, 15.6029, 19.6251, 27.1587, 30.4071, 34.4614, 41.716, 45.1342, 49.1084, 49.1871, 55.5899, 57.5672, 58.5936, 58.5165, 58.4353, 17.4053, 0.448197, 0.449847, 0.450671, 0.450974, 0.450673, 0.450898, 0.450973, 0.451799, 0.452248, 0.453, 0.45165, 0.449997, 0.449247, 0.451274, 0.450823, 0.449921, 0.451272, 0.451726, 0.451722, 0.450446, 0.451351, 0.45135, 0.451424, 0.451424, 0.451723, 0.450824, 0.451122, 0.45225, 0.451874, 0.452172, 0.451726, 0.452024, 0.452099, 0.452249, 0.451947, 0.452025, 0.452099, 0.451877, 0.451723, 0.451872, 0.451877, 0.451196, 0.451574, 0.451574, 0.453002, 0.451723, 0.452172, 0.452027, 0.4527, 0.449996, 0.45045, 0.449544, 0.449774, 0.450071, 0.450822, 0.451274, 0.452473, 0.452326, 0.450748, 0.451724, 0.451649, 0.452323, 0.452475, 0.451724, 0.452325, 0.451198, 0.451123, 0.451797, 0.452102, 0.452249, 0.452025, 0.452699, 0.45225, 0.452099, 0.452324, 0.451949, 0.452473, 0.451949, 0.452027, 0.450446, 0.450975, 0.451947, 0.451048, 0.450865
+
+scal_read_event = 1, 459, 908, 1373, 1821, 2245, 2687, 3154, 3579, 4017, 4485, 4940, 5380, 5450, 5471, 5492, 5513, 5534, 5555, 5576, 5597, 5618, 5639, 5660, 5681, 5702, 5723, 5744, 5765, 5786, 5807, 5886, 5970, 6069, 6195, 6352, 6546, 6782, 7029, 7311, 7644, 8000, 8425, 8859, 9325, 9770, 10000, 10439, 10875, 11336, 11779, 12248, 12718, 13176, 13637, 14087, 14548, 14980, 15430, 15905, 16360, 16805, 17259, 17727, 18166, 18619, 19061, 19507, 19953, 20000, 20450, 20881, 21321, 21756, 22202, 22638, 23071, 23530, 23999, 24453, 24930, 25362, 25813, 26281, 26745, 27191, 27647, 28090, 28530, 28977, 29427, 29876, 30000, 30451, 30901, 31346, 31809, 32238, 32695, 33151, 33586, 34031, 34469, 34880, 35306, 35756, 36161, 36607, 37035, 37487, 37922, 38371, 38796, 39225, 39657, 40000, 40454, 40896, 41322, 41772, 42213, 42629, 43044, 43462, 43881, 44303, 44710, 44853, 44874, 44895, 44916, 44937, 44958, 44979, 45000, 45021, 45042, 45063, 45084, 45105, 45126, 45147, 45168, 45190, 45263, 45347, 45443, 45591, 45768, 45960, 46199, 46461, 46740, 47066, 47435, 47851, 48230, 48644, 49054, 49469, 49526, 49547, 49568, 49589, 49610, 49631, 49652, 49673, 49694, 49715, 49736, 49757, 49778, 49799, 49820, 49841, 49862, 49883, 49904, 49925, 49946, 49967, 49988, 50000, 50021, 50067, 50151, 50237, 50370, 50513, 50708, 50923, 51164, 51440, 51764, 52108, 52531, 52946, 53321, 53342, 53363, 53384, 53405, 53426, 53447, 53468, 53489, 53510, 53531, 53552, 53573, 53594, 53615, 53636, 53657, 53678, 53699, 53720, 53741, 53762, 53783, 53804, 53875, 53958, 54053, 54189, 54350, 54551, 54777, 55019, 55304, 55628, 56000, 56385, 56801, 57221, 57642, 57674, 57695, 57716, 57737, 57758, 57779, 57800, 57821, 57842, 57863, 57884, 57905, 57926, 57947, 57968, 57989, 58010, 58031, 58052, 58073, 58095, 58116, 58137, 58158, 58179, 58200, 58221, 58242, 58263, 58339, 58424, 58538, 58674, 58848, 59045, 59274, 59553, 59848, 60000, 60327, 60700, 61105, 61526, 61953, 62389, 62535, 62556, 62577, 62598, 62619, 62640, 62661, 62682, 62703, 62724, 62745, 62766, 62787, 62808, 62829, 62850, 62871, 62892, 62913, 62934, 62955, 62976, 62997, 63018, 63039, 63060, 63081, 63102, 63123, 63144, 63165, 63186, 63207, 63228, 63249, 63270, 63291, 63312, 63333, 63354, 63375, 63396, 63417, 63438, 63459, 63480, 63501, 63522, 63543, 63564, 63585, 63606, 63627, 63648, 63669, 63690, 63711, 63732, 63753, 63774, 63795, 63816, 63837, 63858, 63879, 63900, 63922, 63943, 63964, 63985, 64006, 64027, 64048, 64069, 64090, 64111, 64132, 64153, 64174, 64195, 64216, 64237, 64258, 64279, 1e+38
\ No newline at end of file
diff --git a/PARAM/HMS/BCM/CALIB/bcmcurrent_5000.param b/PARAM/HMS/BCM/CALIB/bcmcurrent_5000.param
new file mode 100644
index 0000000000000000000000000000000000000000..f3b92c95dd714f9ae593268c703e716379220d09
--- /dev/null
+++ b/PARAM/HMS/BCM/CALIB/bcmcurrent_5000.param
@@ -0,0 +1,13 @@
+num_scal_reads = 220
+
+scal_read_bcm1_current = 39.1052, 38.9909, 39.1079, 39.0221, 39.1188, 38.8929, 38.8653, 38.8046, 38.8996, 38.8309, 39.1422, 39.1342, 39.1693, 39.1363, 39.3047, 39.2448, 26.7397, -0.0672561, -0.0671516, -0.0676518, -0.0673615, -0.0676698, -0.0677984, -0.0679028, -0.0679842, -0.068175, -0.0680655, -0.0680494, -0.0677552, -0.0678185, -0.0678606, -0.0676307, -0.0680464, -0.0677371, -0.067944, -0.0680886, -0.0680896, -0.0682553, -0.067944, -0.0679229, -0.0678817, -0.0678606, -0.0680454, -0.0680695, -0.0680274, -0.0680675, -0.0678807, -0.0676518, -0.0677763, -0.0677984, -0.0678396, -0.0679018, -0.0677763, -0.0673194, -0.0680264, -0.0679641, -0.0665481, -0.0676528, -0.0673595, -0.0679219, -0.0671105, -0.0669628, -0.0674228, -0.0672772, -0.0682131, -0.068175, -0.0682543, -0.0683809, -0.0680685, -0.0682784, -0.0683598, -0.0680896, -0.068422, -0.068425, -0.0681318, -0.0678787, -0.0683176, -0.0675272, -0.0667158, 3.5769, 10.0458, 11.5175, 15.98, 19.6879, 27.4363, 30.4703, 34.2283, 39.0179, 39.3669, 39.2509, 39.3228, 39.2949, 39.2103, 5.83745, -0.0681941, -0.0681107, -0.0678998, -0.0673394, -0.0678185, -0.0678817, -0.0666716, -0.0673173, -0.0674871, -0.0675674, -0.0680916, -0.0681489, -0.0681519, -0.067945, -0.0676929, -0.0679239, 8.62842, 10.9102, 12.6458, 19.5308, 24.2497, 27.6846, 34.4171, 36.8219, 39.6355, 39.5532, 39.3327, 39.2651, 39.458, 39.3079, 39.1457, 39.1942, 39.1285, 39.2642, 38.8551, 38.738, 39.0192, 38.7783, 38.5423, 38.4945, 38.5122, 38.5594, 38.3753, 38.3912, 38.6797, 38.4616, 38.8492, 38.7916, 42.3902, 42.9238, 42.7027, 45.7691, 48.9435, 52.1386, 54.6475, 54.3888, 59.0389, 59.2471, 60.0092, 64.453, 64.5512, 64.4195, 64.1359, 64.273, 64.2438, 64.2214, 64.4609, 64.7737, 63.8879, 60.31, 60.4343, 60.3699, 60.2722, 60.3763, 60.4287, 60.2734, 60.1992, 59.9479, 60.1571, 60.0849, 60.382, 60.3149, 59.959, 59.5854, 59.6515, 59.0839, 58.5759, 58.7843, 58.5293, 58.3475, 58.225, 58.1528, 58.2842, 58.1768, 58.5003, 58.4154, 58.3095, 58.213, 58.3263, 58.7948, 58.6052, 58.2616, 58.5087, 58.4118, 58.6584, 58.7697, 58.4614, 58.4798, 58.6496, 59.0984, 59.0575, 58.692, 58.9043, 59.045, 58.7809, 59.0704, 58.9621, 58.7278, 58.362, 58.702, 58.4415, 58.326, 58.5115, 58.5357, 58.6292, 58.5774
+
+scal_read_bcm2_current = 39.1519, 39.0133, 39.1298, 39.0446, 39.1413, 38.9159, 38.8883, 38.8282, 38.9229, 38.8545, 39.1654, 39.1578, 39.1927, 39.1599, 39.3276, 39.2677, 26.7477, -0.0920841, -0.0921487, -0.0921487, -0.0921058, -0.0920837, -0.0920411, -0.0921488, -0.0920624, -0.0920844, -0.0920621, -0.0920412, -0.0919978, -0.0920625, -0.0920195, -0.092041, -0.0920408, -0.0919767, -0.0920195, -0.092084, -0.0920841, -0.092084, -0.0920195, -0.091998, -0.0920411, -0.0920195, -0.0920407, -0.0919765, -0.0920195, -0.0920624, -0.092041, -0.0919764, -0.0920194, -0.091955, -0.0920841, -0.0919764, -0.0920194, -0.0920627, -0.0920194, -0.092041, -0.091955, -0.0919765, -0.0920194, -0.092084, -0.0921057, -0.0920408, -0.0920841, -0.0921057, -0.0919547, -0.0920844, -0.0919977, -0.092041, -0.0920625, -0.0921058, -0.0920194, -0.0919118, -0.0919978, -0.0919982, -0.0920411, -0.0919546, -0.0919763, -0.0920195, -0.0920412, 3.55596, 10.0331, 11.5072, 15.9774, 19.6918, 27.4516, 30.4877, 34.2479, 39.0374, 39.3874, 39.2709, 39.3424, 39.3146, 39.2302, 5.82052, -0.0920195, -0.0919334, -0.0920623, -0.0919118, -0.0919764, -0.0918688, -0.0919117, -0.0919763, -0.0920628, -0.0920624, -0.0919121, -0.091976, -0.0919764, -0.0920197, -0.0919333, -0.091912, 8.61425, 10.8994, 12.6379, 19.5355, 24.2622, 27.7025, 34.4402, 36.845, 39.6585, 39.5765, 39.3569, 39.2892, 39.4818, 39.3321, 39.1702, 39.2188, 39.1533, 39.2891, 38.8807, 38.764, 39.0447, 38.8048, 38.569, 38.5214, 38.5387, 38.5859, 38.4023, 38.4176, 38.7059, 38.4884, 38.875, 38.8174, 42.4086, 42.9413, 42.7201, 45.7785, 48.9432, 52.1339, 54.6397, 54.3811, 59.0277, 59.2352, 59.9957, 64.4468, 64.5442, 64.4124, 64.1287, 64.2654, 64.2353, 64.2135, 64.4535, 64.765, 63.8798, 60.3024, 60.4274, 60.3628, 60.2636, 60.3684, 60.4208, 60.2631, 60.1886, 59.9338, 60.1449, 60.072, 60.3719, 60.3038, 59.9453, 59.5667, 59.6326, 59.0669, 58.5609, 58.7694, 58.514, 58.3318, 58.2097, 58.1368, 58.2687, 58.1604, 58.4844, 58.3994, 58.2934, 58.197, 58.31, 58.7789, 58.5894, 58.245, 58.4931, 58.3955, 58.642, 58.7531, 58.4446, 58.4631, 58.6326, 59.0789, 59.0387, 58.6749, 58.8866, 59.0265, 58.7644, 59.0516, 58.9445, 58.7111, 58.3459, 58.6854, 58.4252, 58.3101, 58.496, 58.5204, 58.6136, 58.5634
+
+scal_read_bcm4a_current = 39.2096, 39.0922, 39.2082, 39.1219, 39.2139, 38.987, 38.9642, 38.9068, 39.0038, 38.9319, 39.2477, 39.2406, 39.2779, 39.2478, 39.4154, 39.3528, 26.981, 0.462525, 0.464578, 0.464373, 0.463089, 0.464838, 0.465501, 0.46545, 0.466581, 0.463806, 0.463966, 0.463858, 0.462886, 0.462731, 0.463705, 0.463296, 0.463964, 0.4655, 0.466323, 0.466324, 0.466118, 0.466581, 0.467298, 0.464989, 0.46391, 0.46504, 0.464581, 0.464321, 0.464527, 0.463707, 0.463398, 0.463501, 0.461243, 0.461858, 0.461807, 0.462218, 0.461654, 0.462422, 0.462629, 0.463039, 0.462679, 0.461498, 0.462013, 0.461757, 0.461858, 0.462886, 0.463039, 0.461961, 0.462065, 0.461548, 0.461963, 0.462064, 0.46191, 0.462678, 0.462218, 0.462115, 0.461551, 0.462421, 0.461909, 0.461091, 0.461449, 0.462782, 0.462216, 3.91806, 10.064, 11.541, 16.0211, 19.7441, 27.5238, 30.5735, 34.3525, 39.1674, 39.517, 39.3992, 39.4693, 39.442, 39.355, 6.31253, 0.466425, 0.468376, 0.467146, 0.466939, 0.467093, 0.468273, 0.468941, 0.468223, 0.468323, 0.46771, 0.465962, 0.4653, 0.465605, 0.466732, 0.467042, 0.467194, 8.71271, 10.9367, 12.6806, 19.5964, 24.3361, 27.7847, 34.554, 36.9709, 39.8054, 39.7279, 39.5068, 39.4412, 39.6352, 39.4848, 39.3223, 39.3745, 39.3064, 39.4426, 39.0316, 38.9128, 39.1945, 38.9561, 38.7157, 38.6684, 38.6889, 38.736, 38.5536, 38.567, 38.8588, 38.6379, 39.0279, 38.9762, 42.6005, 43.135, 42.9078, 46.0147, 49.2353, 52.4981, 55.0588, 54.795, 59.6009, 59.8198, 60.6129, 65.2515, 65.3588, 65.2195, 64.9197, 65.0667, 65.0366, 65.0131, 65.2731, 65.6034, 64.6691, 60.9325, 61.061, 60.9865, 60.8861, 60.999, 61.0549, 60.8898, 60.8097, 60.5534, 60.7755, 60.7044, 61.0136, 60.9392, 60.5738, 60.1847, 60.2569, 59.6662, 59.1314, 59.3492, 59.0843, 58.8943, 58.7717, 58.6945, 58.8323, 58.7254, 59.0633, 58.9756, 58.8688, 58.7703, 58.8995, 59.3869, 59.1856, 58.8224, 59.0807, 58.9805, 59.2363, 59.3531, 59.0317, 59.0511, 59.2302, 59.6948, 59.6613, 59.2843, 59.5023, 59.6438, 59.3691, 59.6644, 59.5587, 59.3199, 58.9351, 59.2907, 59.0209, 58.8976, 59.0873, 59.1143, 59.2083, 59.1565
+
+scal_read_bcm4b_current = 38.9992, 38.8986, 39.0121, 38.925, 39.0247, 38.7975, 38.7686, 38.71, 38.8101, 38.7413, 39.052, 39.041, 39.0777, 39.0482, 39.2185, 39.1568, 27.0795, 1.18787, 1.19535, 1.19694, 1.19172, 1.19377, 1.19036, 1.1924, 1.19467, 1.1924, 1.19105, 1.18764, 1.18856, 1.18969, 1.1915, 1.18991, 1.19241, 1.19263, 1.19558, 1.19535, 1.19037, 1.19377, 1.19354, 1.19105, 1.19331, 1.19603, 1.20011, 1.206, 1.20645, 1.20736, 1.20419, 1.19671, 1.20169, 1.20079, 1.19965, 1.20124, 1.19784, 1.19648, 1.19898, 1.19354, 1.19059, 1.19059, 1.19105, 1.19195, 1.19082, 1.19037, 1.19037, 1.19172, 1.19128, 1.1924, 1.19332, 1.19263, 1.19286, 1.19217, 1.19127, 1.1915, 1.19218, 1.18945, 1.18968, 1.19173, 1.19241, 1.1915, 1.19172, 4.37742, 10.0567, 11.5413, 16.0193, 19.7371, 27.436, 30.4666, 34.2201, 38.998, 39.3465, 39.2291, 39.3046, 39.2766, 39.1925, 6.91165, 1.19852, 1.19693, 1.19671, 1.1992, 1.1983, 1.19422, 1.19354, 1.19241, 1.19331, 1.1906, 1.18742, 1.18879, 1.18855, 1.18787, 1.18833, 1.18696, 8.79756, 10.934, 12.6803, 19.5912, 24.283, 27.6995, 34.4271, 36.8295, 39.6404, 39.5561, 39.3364, 39.2697, 39.4669, 39.3164, 39.154, 39.2047, 39.1372, 39.2771, 38.866, 38.7499, 39.0339, 38.791, 38.5533, 38.5093, 38.5281, 38.5772, 38.391, 38.4037, 38.6962, 38.478, 38.8699, 38.8146, 42.4158, 42.9478, 42.7246, 45.8054, 48.9921, 52.2328, 54.7786, 54.514, 59.2933, 59.509, 60.2954, 64.8914, 64.9982, 64.858, 64.5636, 64.7137, 64.6858, 64.6606, 64.9093, 65.2294, 64.3126, 60.6069, 60.7336, 60.6706, 60.5699, 60.6789, 60.7329, 60.5748, 60.499, 60.2367, 60.4533, 60.3803, 60.6865, 60.6147, 60.2515, 59.8652, 59.9351, 59.356, 58.8319, 59.0536, 58.7872, 58.5995, 58.4711, 58.3954, 58.5336, 58.4226, 58.7587, 58.6708, 58.5582, 58.4605, 58.5795, 59.0705, 58.8761, 58.5164, 58.7799, 58.6777, 58.9379, 59.0547, 58.7332, 58.7552, 58.929, 59.3957, 59.3545, 58.9768, 59.195, 59.3383, 59.0685, 59.3634, 59.2576, 59.0185, 58.6376, 58.9964, 58.7243, 58.6031, 58.7968, 58.8215, 58.9178, 58.8641
+
+scal_read_bcm4c_current = 38.945, 38.8154, 38.9299, 38.8465, 38.9449, 38.719, 38.7074, 38.6376, 38.7276, 38.6573, 38.9664, 38.9576, 38.9925, 38.9618, 39.1305, 39.0704, 26.7846, 0.443916, 0.442114, 0.441288, 0.440987, 0.441066, 0.440987, 0.440912, 0.442566, 0.442112, 0.440316, 0.441587, 0.440463, 0.440463, 0.440387, 0.439787, 0.440389, 0.440986, 0.440462, 0.440914, 0.440838, 0.440914, 0.440988, 0.440237, 0.441588, 0.440012, 0.439189, 0.437609, 0.437459, 0.436335, 0.436184, 0.436409, 0.437911, 0.437684, 0.43836, 0.438961, 0.438812, 0.43926, 0.438887, 0.438361, 0.438735, 0.437909, 0.438511, 0.438962, 0.439186, 0.438362, 0.439111, 0.437759, 0.437761, 0.438133, 0.437837, 0.43731, 0.436634, 0.436707, 0.436334, 0.436108, 0.435133, 0.435505, 0.435056, 0.435735, 0.435209, 0.436033, 0.436106, 3.89139, 10.0332, 11.4966, 15.9519, 19.6528, 27.3708, 30.4015, 34.1541, 38.9319, 39.2807, 39.1641, 39.2354, 39.2104, 39.1277, 6.2514, 0.43318, 0.433555, 0.433483, 0.434306, 0.434006, 0.43348, 0.434232, 0.435058, 0.436181, 0.43716, 0.438583, 0.437463, 0.43791, 0.438059, 0.438136, 0.438284, 8.68882, 10.9056, 12.637, 19.5184, 24.2254, 27.6514, 34.3895, 36.7899, 39.5987, 39.516, 39.2965, 39.2291, 39.4244, 39.2733, 39.1118, 39.163, 39.0984, 39.2384, 38.8344, 38.7183, 38.9984, 38.7587, 38.523, 38.4763, 38.4961, 38.546, 38.3651, 38.3799, 38.6704, 38.4506, 38.8341, 38.7793, 42.3886, 42.9277, 42.7035, 45.7847, 48.9745, 52.2259, 54.7763, 54.5155, 59.3008, 59.5174, 60.3061, 64.9213, 65.0272, 64.8828, 64.5919, 64.7331, 64.706, 64.6858, 64.9385, 65.265, 64.3455, 60.6363, 60.767, 60.6999, 60.6045, 60.7187, 60.7737, 60.6122, 60.5337, 60.2724, 60.4918, 60.4184, 60.7273, 60.6626, 60.2963, 59.9022, 59.9679, 59.3961, 58.8794, 59.0978, 58.8338, 58.648, 58.5203, 58.4485, 58.5894, 58.4823, 58.8172, 58.7282, 58.6185, 58.5164, 58.6338, 59.1208, 58.9236, 58.5616, 58.8261, 58.7236, 58.9839, 59.0984, 58.7812, 58.8057, 58.9839, 59.4458, 59.4034, 59.035, 59.2538, 59.4019, 59.1386, 59.4247, 59.318, 59.0765, 58.6952, 59.0512, 58.7831, 58.6683, 58.8659, 58.8908, 58.9891, 58.9371
+
+scal_read_event = 1, 427, 845, 1268, 1686, 2098, 2514, 2935, 3364, 3773, 4197, 4606, 5017, 5439, 5850, 6261, 6553, 6574, 6595, 6616, 6637, 6658, 6679, 6700, 6721, 6742, 6763, 6784, 6805, 6826, 6847, 6868, 6889, 6910, 6931, 6952, 6973, 6994, 7015, 7036, 7057, 7078, 7099, 7120, 7141, 7162, 7183, 7204, 7225, 7246, 7267, 7288, 7309, 7330, 7351, 7372, 7393, 7414, 7435, 7456, 7477, 7498, 7519, 7540, 7561, 7582, 7603, 7624, 7645, 7666, 7687, 7708, 7729, 7750, 7771, 7792, 7813, 7834, 7855, 7913, 8031, 8168, 8343, 8566, 8855, 9177, 9543, 9948, 10000, 10416, 10828, 11249, 11661, 11739, 11761, 11782, 11803, 11824, 11845, 11866, 11887, 11908, 11929, 11950, 11971, 11992, 12013, 12034, 12055, 12076, 12179, 12310, 12451, 12669, 12936, 13228, 13571, 13966, 14396, 14821, 15238, 15675, 16101, 16532, 16955, 17373, 17785, 18207, 18628, 19037, 19456, 19863, 20000, 20411, 20815, 21224, 21642, 22050, 22473, 22892, 23293, 23708, 24173, 24652, 25105, 25603, 26149, 26750, 27373, 27994, 28721, 29461, 30000, 30891, 31791, 32669, 33564, 34437, 35323, 36217, 37125, 38063, 38954, 39691, 40000, 40753, 41498, 42276, 43042, 43789, 44545, 45277, 46038, 46782, 47538, 48306, 49073, 49808, 50000, 50721, 51423, 52147, 52853, 53573, 54252, 54944, 55657, 56367, 57069, 57793, 58489, 59204, 59911, 60000, 60717, 61431, 62135, 62853, 63584, 64319, 65038, 65752, 66456, 67195, 67928, 68635, 69369, 70000, 70730, 71458, 72162, 72870, 73572, 74271, 74986, 75672, 76364, 77052, 77770, 1e+38
\ No newline at end of file
diff --git a/PARAM/SHMS/AERO/paero_calib_after_aerogel_change_011.param b/PARAM/SHMS/AERO/paero_calib_after_aerogel_change_011.param
new file mode 100644
index 0000000000000000000000000000000000000000..a7d5c15dc2eea860e409f2cf3946946ce095bdad
--- /dev/null
+++ b/PARAM/SHMS/AERO/paero_calib_after_aerogel_change_011.param
@@ -0,0 +1,4 @@
+
+; SHMS aerogel gain factors from 0.5% C production run 4698
+paero_neg_gain = 1./13.0028, 1./10.9573, 1./12.5605, 1./11.7673, 1./10.4386, 1./8.43599, 1./12.7153, 
+paero_pos_gain = 1./7.3107, 1./9.89528, 1./10.4261, 1./12.6266, 1./10.4952, 1./10.6188, 1./10.7433, 
diff --git a/macros/ped_trk.C b/macros/ped_trk.C
new file mode 100644
index 0000000000000000000000000000000000000000..77e7ff9f0e4c7240e8833f96bd05755388c0a0b2
--- /dev/null
+++ b/macros/ped_trk.C
@@ -0,0 +1,158 @@
+
+
+// static const Int_t numRuns    = 8;
+static const Int_t numRuns    = 6;
+static const Int_t numLayers  = 4;
+// static const Int_t numPidLegs = 3;
+static const Int_t numPidLegs = 2;
+
+Int_t irun, ilayer, pid;
+// Int_t runList[numRuns]   = {4681, 4709, 4745, 4786, 4817, 4828, 4876, 4900};
+Int_t runList[numRuns]   = {4800, 4825, 4866, 4897, 4922, 4938};
+// Int_t colorList[numRuns] = {1, 2, 4, 6, 7, 8, 9, 28}; 
+Int_t colorList[numRuns] = {1, 2, 4, 6, 7, 8}; 
+// Int_t fillList[numRuns]  = {3004, 3005, 3006, 3007, 3016, 3020, 3021, 3022};
+// Int_t fillList[numRuns]  = {3003, 3003, 3003, 3003, 3003, 3003, 3003, 3003}; 
+Int_t fillList[numRuns]  = {3003, 3003, 3003, 3003, 3003, 3003};
+Double_t normFactor;
+
+TH1F *layerHistos[numLayers];
+TH1F *hASum[numRuns],    *hBSum[numRuns], *hCSum[numRuns], *hDSum[numRuns];
+TH1F *hPreShwr[numRuns], *hShwr[numRuns], *hCerSum[numRuns], *pPreShwr[numRuns], *pHgcSum[numRuns];
+
+TFile *rif[numRuns];
+
+TCanvas *layerCan, *pidLegCan;
+
+TLegend *layerLeg[numLayers], *pidLeg[numPidLegs];
+
+void ped_trk() {
+
+  layerCan = new TCanvas("layerCan", "layerCan", 1600, 1600);
+  layerCan->Divide(2, 2);
+
+  pidLegCan = new TCanvas("pidLegCan", "pidLegCan", 1600, 1600);
+  pidLegCan->Divide(2, 1);
+  
+  for (ilayer = 0; ilayer < numLayers; ilayer++)
+    layerLeg[ilayer] = new TLegend(0.1, 0.6, 0.2, 0.9);
+
+  for (ipid = 0; ipid < numPidLegs; ipid++)
+    pidLeg[ipid] = new TLegend(0.1, 0.6, 0.2, 0.9);
+
+
+  for (irun = 0; irun < numRuns; irun++) {
+    
+    // rif[irun] = new TFile(Form("ROOTfiles/hms_coin_replay_production_%d_50000.root", runList[irun]), "READ");
+    rif[irun] = new TFile(Form("ROOTfiles/shms_coin_replay_production_%d_50000.root", runList[irun]), "READ");
+    
+    // layerCan->cd(1);
+    // hASum[irun] = dynamic_cast <TH1F*> (rif[irun]->FindObjectAny("htrig_hASum_adc_pped"));
+    // hASum[irun]->SetLineColor(colorList[irun]);
+    // hASum[irun]->SetFillColor(colorList[irun]);
+    // hASum[irun]->SetFillStyle(fillList[irun]);
+    // normFactor = hASum[irun]->GetEntries();
+    // hASum[irun]->Scale(1./normFactor);
+    // hASum[irun]->Draw("hist same");
+    // hASum[irun]->GetYaxis()->SetRangeUser(0, 0.4);
+    // layerLeg[0]->AddEntry(hASum[irun], Form("Run %d", runList[irun]));
+    // layerLeg[0]->Draw();
+    
+    // layerCan->cd(2);
+    // hBSum[irun] = dynamic_cast <TH1F*> (rif[irun]->FindObjectAny("htrig_hBSum_adc_pped"));
+    // hBSum[irun]->SetLineColor(colorList[irun]);
+    // hBSum[irun]->SetFillColor(colorList[irun]);
+    // hBSum[irun]->SetFillStyle(fillList[irun]);
+    // normFactor = hBSum[irun]->GetEntries();
+    // hBSum[irun]->Scale(1./normFactor);
+    // hBSum[irun]->Draw("hist same"); 
+    // hBSum[irun]->GetYaxis()->SetRangeUser(0, 0.4);
+    // layerLeg[1]->AddEntry(hBSum[irun], Form("Run %d", runList[irun]));
+    // layerLeg[1]->Draw(); 
+
+    // layerCan->cd(3);
+    // hCSum[irun] = dynamic_cast <TH1F*> (rif[irun]->FindObjectAny("htrig_hCSum_adc_pped"));
+    // hCSum[irun]->SetLineColor(colorList[irun]);
+    // hCSum[irun]->SetFillColor(colorList[irun]);
+    // hCSum[irun]->SetFillStyle(fillList[irun]);
+    // normFactor = hCSum[irun]->GetEntries();
+    // hCSum[irun]->Scale(1./normFactor);
+    // hCSum[irun]->Draw("hist same");
+    // hCSum[irun]->GetYaxis()->SetRangeUser(0, 0.4);
+    // layerLeg[2]->AddEntry(hCSum[irun], Form("Run %d", runList[irun]));
+    // layerLeg[2]->Draw();
+
+    // layerCan->cd(4);
+    // hDSum[irun] = dynamic_cast <TH1F*> (rif[irun]->FindObjectAny("htrig_hDSum_adc_pped"));
+    // hDSum[irun]->SetLineColor(colorList[irun]);
+    // hDSum[irun]->SetFillColor(colorList[irun]);
+    // hDSum[irun]->SetFillStyle(fillList[irun]);
+    // normFactor = hDSum[irun]->GetEntries();
+    // hDSum[irun]->Scale(1./normFactor);
+    // hDSum[irun]->Draw("hist same");  
+    // hDSum[irun]->GetYaxis()->SetRangeUser(0, 0.4);
+    // layerLeg[3]->AddEntry(hDSum[irun], Form("Run %d", runList[irun]));
+    // layerLeg[3]->Draw();
+
+    // pidLegCan->cd(1);
+    // hPreShwr[irun] = dynamic_cast <TH1F*> (rif[irun]->FindObjectAny("htrig_hpreShwr_adc_pped"));
+    // hPreShwr[irun]->SetLineColor(colorList[irun]);
+    // hPreShwr[irun]->SetFillColor(colorList[irun]);
+    // hPreShwr[irun]->SetFillStyle(fillList[irun]);
+    // normFactor = hPreShwr[irun]->GetEntries();
+    // hPreShwr[irun]->Scale(1./normFactor);
+    // hPreShwr[irun]->Draw("hist same"); 
+    // hPreShwr[irun]->GetYaxis()->SetRangeUser(0, 0.4);
+    // pidLeg[0]->AddEntry(hPreShwr[irun], Form("Run %d", runList[irun]));
+    // pidLeg[0]->Draw();    
+
+    // pidLegCan->cd(2);
+    // hShwr[irun] = dynamic_cast <TH1F*> (rif[irun]->FindObjectAny("htrig_hshwr_adc_pped"));
+    // hShwr[irun]->SetLineColor(colorList[irun]);
+    // hShwr[irun]->SetFillColor(colorList[irun]);
+    // hShwr[irun]->SetFillStyle(fillList[irun]);
+    // normFactor = hShwr[irun]->GetEntries();
+    // hShwr[irun]->Scale(1./normFactor);
+    // hShwr[irun]->Draw("hist same"); 
+    // hShwr[irun]->GetYaxis()->SetRangeUser(0, 0.4);
+    // pidLeg[1]->AddEntry(hShwr[irun], Form("Run %d", runList[irun]));
+    // pidLeg[1]->Draw();
+
+    // pidLegCan->cd(3);
+    // hCerSum[irun] = dynamic_cast <TH1F*> (rif[irun]->FindObjectAny("htrig_hcersum_adc_pped"));
+    // hCerSum[irun]->SetLineColor(colorList[irun]);
+    // hCerSum[irun]->SetFillColor(colorList[irun]);
+    // hCerSum[irun]->SetFillStyle(fillList[irun]);
+    // normFactor = hCerSum[irun]->GetEntries();
+    // hCerSum[irun]->Scale(1./normFactor);
+    // hCerSum[irun]->Draw("hist same"); 
+    // hCerSum[irun]->GetYaxis()->SetRangeUser(0, 0.4);
+    // pidLeg[2]->AddEntry(hCerSum[irun], Form("Run %d", runList[irun]));
+    // pidLeg[2]->Draw();
+
+    pidLegCan->cd(1);
+    pPreShwr[irun] = dynamic_cast <TH1F*> (rif[irun]->FindObjectAny("ptrig_prshwr_sum_pped"));
+    pPreShwr[irun]->SetLineColor(colorList[irun]);
+    pPreShwr[irun]->SetFillColor(colorList[irun]);
+    pPreShwr[irun]->SetFillStyle(fillList[irun]);
+    normFactor = pPreShwr[irun]->GetEntries();
+    pPreShwr[irun]->Scale(1./normFactor);
+    pPreShwr[irun]->Draw("hist same"); 
+    pPreShwr[irun]->GetYaxis()->SetRangeUser(0, 0.5);
+    pidLeg[0]->AddEntry(pPreShwr[irun], Form("Run %d", runList[irun]));
+    pidLeg[0]->Draw();    
+
+    pidLegCan->cd(2);
+    pHgcSum[irun] = dynamic_cast <TH1F*> (rif[irun]->FindObjectAny("ptrig_phgc_sum_pped"));
+    pHgcSum[irun]->SetLineColor(colorList[irun]);
+    pHgcSum[irun]->SetFillColor(colorList[irun]);
+    pHgcSum[irun]->SetFillStyle(fillList[irun]);
+    normFactor = pHgcSum[irun]->GetEntries();
+    pHgcSum[irun]->Scale(1./normFactor);
+    pHgcSum[irun]->Draw("hist same"); 
+    pHgcSum[irun]->GetYaxis()->SetRangeUser(0, 0.5);
+    pidLeg[1]->AddEntry(pHgcSum[irun], Form("Run %d", runList[irun]));
+    pidLeg[1]->Draw();
+
+  }
+}