Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2024-09-27 07:02:58

0001 // SPDX-License-Identifier: LGPL-3.0-or-later
0002 // Copyright (C) 2023, Simon Gardner
0003 
0004 #pragma once
0005 
0006 namespace eicrecon {
0007 
0008   struct MatrixTransferStaticConfig {
0009 
0010     float     partMass  {0.938272};
0011     float     partCharge{1};
0012     long long partPDG   {2212};
0013 
0014     // Defaults here are for RPOTS
0015     double local_x_offset      {0.0};
0016     double local_y_offset      {0.0};
0017     double local_x_slope_offset{-0.00622147};
0018     double local_y_slope_offset{-0.0451035};
0019     double crossingAngle       {0.025};
0020     double nomMomentum         {100.0};
0021 
0022     //std::vector<std::vector<double>> aX = {{2.102403743, 29.11067626},
0023     //                                       {0.186640381, 0.192604619}};
0024     //std::vector<std::vector<double>> aY = {{0.0000159900, 3.94082098},
0025     //                                       {0.0000079946, -0.1402995}};
0026 
0027 
0028     //x_offset       = 0.00979216;
0029     //y_offset       = -0.00778646;
0030     //x_slope_offset = 0.004526961;
0031     //y_slope_offset = -0.003907849;
0032 
0033     std::vector<std::vector<double>> aX = {{2.03459216, 22.85780784},
0034                                            {0.179641961, -0.306626961}};
0035     std::vector<std::vector<double>> aY = {{0.38879, 3.71612646},
0036                                            {0.022685, -0.003907849}};
0037 
0038     double hit1minZ{0};
0039     double hit1maxZ{0};
0040     double hit2minZ{0};
0041     double hit2maxZ{0};
0042 
0043     std::string readout{""};
0044 
0045   };
0046 
0047 }