//7.7 GeV const float BBC_gain_east[9][16] = { {1.07219,0.98483,0.791642,1.02509,1.04218,1.1714,0.569758,1.1709,1.33675,0.951171,1.24855,0.608584,1.39466,1.46012,1.02589,1.29759}, {1.07592,0.982328,0.801693,1.02877,1.03312,1.15575,0.566463,1.16283,1.34241,0.971472,1.25558,0.611333,1.36423,1.4495,1.02917,1.29263}, {1.06856,0.983884,0.80543,1.03264,1.03114,1.15205,0.569052,1.14707,1.33258,0.990038,1.24045,0.61645,1.34461,1.45174,1.03557,1.27571}, {1.07097,0.989018,0.803664,1.0356,1.0274,1.1469,0.582093,1.12327,1.31812,1.01949,1.21526,0.62435,1.32135,1.4036,1.0452,1.24732}, {1.06888,1.00565,0.800409,1.03935,1.02228,1.1359,0.595355,1.09028,1.29,1.05322,1.19665,0.637961,1.27078,1.37124,1.07037,1.21231}, {1.07336,1.02893,0.796318,1.03151,1.01319,1.13092,0.612158,1.06869,1.27052,1.0849,1.1617,0.650398,1.22639,1.32845,1.09603,1.18622}, {1.07693,1.05573,0.784272,1.02935,1.00559,1.13222,0.639171,1.04466,1.23825,1.10929,1.13104,0.664,1.17564,1.29343,1.1261,1.15311}, {1.08816,1.07395,0.779264,1.01332,1.00848,1.12592,0.657719,1.02523,1.20978,1.12889,1.10956,0.676791,1.14703,1.27107,1.14625,1.13379}, {1.08821,1.09124,0.787159,1.00209,0.992901,1.12458,0.670614,1.02503,1.21112,1.13039,1.08219,0.675601,1.12924,1.26107,1.15431,1.14437} }; const float BBC_gain_west[9][16] = { {1.01977,0.898821,0.925072,1.15416,0.963188,1.08558,0.774708,1.32308,1.23961,0.882387,1.11408,0.603301,1.09775,1.21096,1.16502,1.15857}, {1.01345,0.893219,0.927361,1.15337,0.972128,1.08731,0.781737,1.30756,1.22879,0.87639,1.11277,0.607988,1.09687,1.20422,1.16742,1.16409}, {1.01622,0.886989,0.923557,1.15747,0.973342,1.09357,0.789862,1.30157,1.22264,0.893032,1.11007,0.609302,1.08436,1.18698,1.16959,1.15444}, {1.01731,0.886346,0.921166,1.15918,0.971731,1.09716,0.803049,1.27468,1.21123,0.923221,1.09894,0.620159,1.05802,1.15831,1.18455,1.12827}, {1.027,0.890922,0.915506,1.16346,0.962402,1.09529,0.825402,1.25214,1.20813,0.960546,1.07807,0.632204,1.03336,1.11438,1.19343,1.10049}, {1.04165,0.904914,0.92118,1.16468,0.941099,1.0774,0.85645,1.22514,1.19037,0.999034,1.05996,0.650748,1.00695,1.07567,1.207,1.05962}, {1.05845,0.930467,0.929816,1.16265,0.915338,1.04995,0.881451,1.21158,1.18509,1.04446,1.03891,0.669694,0.984358,1.026,1.22082,1.02727}, {1.0619,0.969888,0.940541,1.15681,0.893664,1.01979,0.904009,1.20607,1.19451,1.09481,1.04352,0.682661,0.95611,0.989377,1.21101,0.991515}, {1.07416,0.981863,0.95593,1.15298,0.882881,0.995524,0.920936,1.22686,1.19551,1.10373,1.03952,0.689155,0.938266,0.968416,1.21707,0.977062} }; //11.5 GeV const float BBC_gain_east[9][16] = {{1.02952,0.939127,0.774656,1.10154,1.07931,1.19243,0.591101,1.09236,1.26576,0.974573,1.20276,0.63919,1.2948,1.42143,1.11008,1.24365}, {1.03113,0.933042,0.775607,1.10267,1.08156,1.19383,0.589856,1.09152,1.27238,0.983038,1.19675,0.637872,1.29988,1.41993,1.10394,1.24591}, {1.03402,0.93217,0.775755,1.09878,1.08333,1.19349,0.591065,1.08845,1.27206,0.993849,1.19251,0.637561,1.28525,1.41555,1.11326,1.23873}, {1.0366,0.942876,0.777008,1.09103,1.07595,1.18799,0.597055,1.0748,1.26822,1.01575,1.18193,0.643023,1.26415,1.39399,1.12045,1.22015}, {1.04288,0.961816,0.777222,1.0804,1.06234,1.17941,0.609624,1.05935,1.2539,1.04288,1.16427,0.649116,1.23399,1.36487,1.13438,1.19728}, {1.0513,0.987642,0.775808,1.06883,1.04645,1.16811,0.624943,1.03836,1.24314,1.07291,1.14574,0.658975,1.19952,1.33144,1.14622,1.17252}, {1.06249,1.02509,0.775428,1.04797,1.02691,1.15519,0.645756,1.02361,1.22591,1.10227,1.12348,0.66786,1.15382,1.29934,1.16662,1.14855}, {1.07223,1.05693,0.776821,1.02754,1.00843,1.15063,0.663686,1.01073,1.21296,1.12448,1.10072,0.675561,1.12536,1.27841,1.17827,1.13395}, {1.08285,1.07951,0.777898,1.01236,1.00176,1.13815,0.67323,1.01028,1.21512,1.1277,1.09161,0.679585,1.10841,1.25929,1.18495,1.12701} }; const float BBC_gain_west[9][16] = {{0.977301,0.86034,0.929931,1.25335,0.993754,1.06958,0.797914,1.26515,1.22983,0.970452,1.1162,0.639181,1.0647,1.11192,1.14657,1.06203}, {0.973937,0.858284,0.931889,1.2588,0.993258,1.07085,0.796699,1.25848,1.23531,0.969931,1.11841,0.635676,1.06086,1.11984,1.14858,1.06817}, {0.973542,0.859859,0.936978,1.25304,0.989936,1.07026,0.799166,1.24888,1.2349,0.977296,1.11562,0.634449,1.05494,1.12009,1.16057,1.06374}, {0.978827,0.867081,0.938934,1.24531,0.978791,1.06911,0.809229,1.24672,1.22925,0.997025,1.10027,0.637946,1.04213,1.10208,1.17262,1.05315}, {0.989757,0.876009,0.940048,1.23321,0.967081,1.06451,0.82872,1.23455,1.21666,1.02153,1.08918,0.644603,1.02042,1.07677,1.18586,1.04054}, {1.00708,0.892602,0.940485,1.21997,0.948363,1.05342,0.851634,1.21936,1.2076,1.05103,1.06959,0.655416,0.996019,1.05262,1.20436,1.01923}, {1.02966,0.916121,0.945028,1.20063,0.926148,1.03473,0.879779,1.20778,1.20343,1.0895,1.0532,0.668771,0.969864,1.015,1.22229,0.992666}, {1.05064,0.944534,0.949853,1.18033,0.909957,1.00959,0.902828,1.19855,1.2088,1.12032,1.04554,0.680917,0.951786,0.982337,1.22599,0.972011}, {1.05923,0.965168,0.955424,1.16972,0.897358,0.996134,0.916256,1.21332,1.20469,1.13916,1.03791,0.687554,0.937153,0.969105,1.22126,0.960778,} }; //14.5 GeV const float BBC_gain_east[9][16] = { {0.71495,1.0255,0.92819,1.03999,1.33298,1.19466,0.966011,1.06256,1.02908,0.886954,0.979571,0.985536,0.953767,1.00549,1.07154,1.09564}, {0.711417,1.02903,0.931125,1.04267,1.33606,1.18899,0.968575,1.05792,1.02559,0.887078,0.979767,0.989907,0.95176,1.01043,1.07709,1.08657}, {0.706504,1.03369,0.93535,1.04357,1.33982,1.18563,0.973319,1.05073,1.02555,0.892674,0.973456,0.994816,0.94182,1.01084,1.08896,1.08258}, {0.700001,1.03367,0.940841,1.04791,1.34584,1.1851,0.979884,1.03685,1.02041,0.90325,0.968426,1.00426,0.934576,1.01073,1.10164,1.07248}, {0.691842,1.03513,0.950015,1.05287,1.35437,1.17957,0.984951,1.01879,1.00995,0.917984,0.964727,1.02085,0.920811,1.00774,1.12127,1.06682}, {0.682219,1.03309,0.96101,1.06086,1.36493,1.17595,0.993845,0.997134,0.998803,0.931047,0.959438,1.04257,0.910224,1.00559,1.14488,1.05518}, {0.672014,1.02899,0.97272,1.07126,1.37571,1.17414,1.00254,0.969172,0.983183,0.948999,0.952039,1.07059,0.902866,1.00215,1.17772,1.04069}, {0.661099,1.02364,0.987857,1.08425,1.39079,1.16705,1.00589,0.947098,0.968506,0.964214,0.950061,1.09563,0.895638,1.00115,1.20433,1.0316}, {0.652404,1.01961,0.998468,1.09391,1.40382,1.16494,1.00258,0.92813,0.957193,0.972514,0.950912,1.11126,0.895668,1.00494,1.22429,1.02851} }; const float BBC_gain_west[9][16] = { {0.985148,1.58654,1.47853,0.835975,0.778679,0.834837,1.0477,0.967771,1.16169,1.30214,1.28072,0.967513,0.96771,0.811125,0.837537,0.901834}, {0.98847,1.5941,1.48311,0.828967,0.776159,0.838894,1.04712,0.962854,1.16814,1.30715,1.2836,0.962274,0.963235,0.809789,0.844548,0.900944}, {0.981993,1.58081,1.48748,0.829841,0.779817,0.840763,1.05213,0.952671,1.16726,1.31621,1.28112,0.96171,0.957743,0.809281,0.852198,0.901063}, {0.96374,1.55752,1.48823,0.839202,0.793387,0.835865,1.05629,0.946502,1.1642,1.32757,1.27739,0.971058,0.952466,0.8047,0.858369,0.897426}, {0.939212,1.5256,1.48725,0.853091,0.814754,0.827923,1.06369,0.933555,1.1543,1.34514,1.27203,0.989517,0.944519,0.802279,0.870967,0.885832}, {0.916378,1.48404,1.47433,0.873734,0.84214,0.816545,1.078,0.919245,1.13705,1.36244,1.25985,1.01197,0.938176,0.79645,0.888055,0.875942}, {0.893777,1.44158,1.45535,0.893513,0.878697,0.804427,1.09327,0.904765,1.12044,1.37587,1.24591,1.03961,0.932984,0.790267,0.907383,0.864368}, {0.878417,1.40899,1.43239,0.908637,0.913223,0.794815,1.10545,0.891307,1.10399,1.38454,1.23923,1.06421,0.932266,0.786504,0.922978,0.85382}, {0.872163,1.38793,1.41424,0.913197,0.934058,0.793535,1.11192,0.88741,1.08987,1.37878,1.22996,1.07883,0.928386,0.790285,0.932783,0.850029} }; //19.6 GeV const float BBC_gain_east[9][16] = {{1.03064,0.963881,0.854262,1.08799,1.05754,1.045,0.579069,1.19406,1.44648,1.03307,1.06782,0.683063,1.27843,1.2774,0.985951,1.25549}, {1.03097,0.962733,0.853853,1.09039,1.05714,1.0448,0.580128,1.18803,1.44708,1.04228,1.06707,0.68157,1.27227,1.27221,0.993244,1.24866}, {1.03317,0.967319,0.852414,1.0875,1.05679,1.04233,0.582513,1.18334,1.4455,1.05493,1.05943,0.682755,1.26417,1.26165,0.999157,1.24154}, {1.03768,0.975296,0.851191,1.08122,1.05031,1.04257,0.586864,1.17691,1.4393,1.06923,1.04998,0.68483,1.24472,1.24819,1.01155,1.23372}, {1.04569,0.983928,0.847904,1.07037,1.04757,1.04261,0.594483,1.16878,1.42729,1.08761,1.04052,0.687275,1.22644,1.23052,1.02096,1.22158}, {1.05632,0.995866,0.843038,1.05694,1.041,1.04577,0.605751,1.15851,1.41784,1.10735,1.02086,0.690973,1.19793,1.2113,1.03759,1.2096}, {1.07126,1.01147,0.833164,1.03938,1.03701,1.05131,0.620768,1.14766,1.40092,1.12792,0.999086,0.697542,1.1662,1.18847,1.05623,1.19451}, {1.08955,1.02846,0.8233,1.01893,1.03178,1.05864,0.636238,1.13762,1.38918,1.14251,0.977594,0.702515,1.13991,1.16529,1.07806,1.1838}, {1.10335,1.04217,0.814872,1.00109,1.03195,1.06497,0.648771,1.13347,1.38177,1.15311,0.96343,0.704085,1.117,1.15466,1.09118,1.17723} }; const float BBC_gain_west[9][16] = {{0.921422,0.809101,0.841044,1.37998,1.03173,1.25645,0.734316,1.11798,1.27386,0.991889,1.11778,0.766532,1.07733,1.0587,1.05851,1.07088}, {0.922029,0.812334,0.84333,1.3717,1.02488,1.25961,0.734162,1.11693,1.27843,1.00057,1.11246,0.761186,1.06835,1.055,1.06797,1.07753}, {0.927892,0.820355,0.845604,1.35474,1.01027,1.26146,0.7418,1.11534,1.2762,1.0131,1.10535,0.759479,1.05191,1.04568,1.07963,1.07516}, {0.939297,0.834144,0.848596,1.3299,0.990277,1.2557,0.752217,1.11643,1.28015,1.03277,1.09256,0.756729,1.03386,1.03223,1.09006,1.06919}, {0.952596,0.853325,0.852086,1.30574,0.965269,1.24544,0.765159,1.11258,1.28228,1.05602,1.08284,0.757353,1.0126,1.01605,1.10065,1.06017}, {0.971497,0.879698,0.855534,1.27411,0.93865,1.22726,0.782378,1.1092,1.28678,1.08771,1.06908,0.760359,0.989918,0.994115,1.10696,1.04848}, {0.9972,0.916973,0.862075,1.23864,0.904842,1.19882,0.805851,1.10871,1.28739,1.12615,1.05765,0.766314,0.96189,0.964555,1.11806,1.02969}, {1.02212,0.95655,0.870625,1.20885,0.874369,1.16727,0.824366,1.10952,1.29433,1.16342,1.04748,0.775274,0.941148,0.937953,1.12126,1.01169}, {1.04265,0.986777,0.879012,1.18576,0.853146,1.14365,0.841535,1.10933,1.29974,1.18735,1.04698,0.779804,0.926543,0.920214,1.12093,0.996962} };