14 static constexpr std::array<int, 10> i1 = {0, 0, 3, 2, 9, 12, 10, 9, 0, 2};
15 static constexpr std::array<int, 10> i2 = {2, 1, 12, 12, 13, 13, 13, 13, 1, 4};
16 static constexpr double xnorm = 14.1591;
18#ifndef LARG4_STAND_ALONE
22 for (
int iregion = 0; iregion <
MAX_REGIONS; ++iregion) {
25 for (
int ifold = i1[iregion]; ifold <= i2[iregion]; ++ifold) {
27 std::string filename = std::format(
"fold{}_region{}.map", ifold, iregion);
29 std::string fileLocation =
30#ifdef LARG4_STAND_ALONE
31 std::format(
"{}/{}", m_directory, filename);
33 std::format(
"{}/{}", larLocation, filename);
36 auto cm = std::make_unique<CurrMap>(fileLocation, xnorm);
40 m_xmin[ifold] =
cm->GetXmin() + 0.1f;
41 m_xmax[ifold] =
cm->GetXmax() - 0.1f;
42 m_ymin[ifold] =
cm->GetYmin() + 0.1f;
43 m_ymax[ifold] =
cm->GetYmax() - 0.1f;
49 for (
int istr = 1; istr <= 2; ++istr) {
50 int ifold = 20 + istr;
52 std::string filename = std::format(
"straight{}_region{}.map", istr, iregion);
54 std::string fileLocation =
55#ifdef LARG4_STAND_ALONE
56 std::format(
"{}/{}", m_directory, filename);
58 std::format(
"{}/{}", larLocation, filename);
60 m_fastMap[ifold][iregion] = std::make_unique<CurrMap>(fileLocation, xnorm);