3 #ifndef PHTPCCENTRALMEMBRANEMATCHER_H
4 #define PHTPCCENTRALMEMBRANEMATCHER_H
161 static constexpr
double mm = 1.0;
162 static constexpr
double cm = 10.0;
174 static constexpr std::array<double, nRadii>
R1_e = {{227.0902789 *
mm, 238.4100043 *
mm, 249.7297296 *
mm, 261.049455 *
mm, 272.3691804 *
mm, 283.6889058 *
mm, 295.0086312 *
mm, 306.3283566 *
mm}};
175 static constexpr std::array<double, nRadii>
R1 = {{317.648082 *
mm, 328.9678074 *
mm, 340.2875328 *
mm, 351.6072582 *
mm, 362.9269836 *
mm, 374.246709 *
mm, 385.5664344 *
mm, 396.8861597 *
mm}};
176 static constexpr std::array<double, nRadii>
R2 = {{421.705532 *
mm, 442.119258 *
mm, 462.532984 *
mm, 482.9467608 *
mm, 503.36069 *
mm, 523.774416 *
mm, 544.188015 *
mm, 564.601868 *
mm}};
177 static constexpr std::array<double, nRadii>
R3 = {{594.6048725 *
mm, 616.545823 *
mm, 638.4867738 *
mm, 660.4277246 *
mm, 682.3686754 *
mm, 704.3096262 *
mm, 726.250577 *
mm, 748.1915277 *
mm}};
199 static constexpr std::array<int, nRadii>
keepUntil_R1_e = {{4, 4, 5, 4, 5, 5, 5, 5}};
200 static constexpr std::array<int, nRadii>
keepUntil_R1 = {{5, 5, 6, 5, 6, 5, 6, 5}};
201 static constexpr std::array<int, nRadii>
keepUntil_R2 = {{7, 7, 8, 7, 8, 8, 8, 8}};
202 static constexpr std::array<int, nRadii>
keepUntil_R3 = {{11, 10, 11, 11, 11, 11, 12, 11}};
219 const std::array<double, nRadii>&
R,
220 std::array<int, nRadii>& nGoodStripes,
221 const std::array<int, nRadii>& keepUntil,
222 std::array<int, nRadii>& nStripesIn,
223 std::array<int, nRadii>& nStripesBefore,
224 double cx[][
nRadii],
double cy[][nRadii] );
240 std::vector<double>
getRPeaks(TH2F *r_phi);
242 int getClusterRMatch( std::vector<int> hitMatches, std::vector<double> clusterPeaks,
double clusterR);
245 #endif // PHTPCCENTRALMEMBRANEMATCHER_H