Skip to content
Snippets Groups Projects
Commit e7a253e2 authored by Sylvester Joosten's avatar Sylvester Joosten Committed by Cdaq User
Browse files

intermediate backup after hallc_replay file system restore

parent 5fad7094
No related branches found
No related tags found
No related merge requests found
......@@ -9,6 +9,7 @@
*.eps
*.pdf
.nfs*
*.root
# Directories
REPORT_OUTPUT
......
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,
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,
......@@ -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
This diff is collapsed.
This diff is collapsed.
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
; 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,
// 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();
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment