File indexing completed on 2026-12-02 10:00:47
0001
0002
0003
0004 #pragma once
0005
0006 #include <string>
0007 #include <vector>
0008
0009 namespace eicrecon {
0010
0011 struct MatrixConfig {
0012
0013 double nomMomentum;
0014 std::vector<std::vector<double>> aX;
0015 std::vector<std::vector<double>> aY;
0016 double local_x_offset;
0017 double local_y_offset;
0018 double local_x_slope_offset;
0019 double local_y_slope_offset;
0020 };
0021
0022 struct MatrixTransferStaticConfig {
0023
0024 float partMass{0.938272};
0025 float partCharge{1};
0026 long long partPDG{2212};
0027
0028 double crossingAngle{0.025};
0029
0030 std::vector<MatrixConfig> matrix_configs;
0031
0032 double hit1minZ{0};
0033 double hit1maxZ{0};
0034 double hit2minZ{0};
0035 double hit2maxZ{0};
0036
0037 std::string readout{""};
0038
0039 bool requireBeamProton{true};
0040 bool requireMatchingMatrix{true};
0041 };
0042
0043 }