Run selection cuts = isElectron == 1 && pt > 10 && p > 1500 && p < 100000 && !std::isnan(ideal_state_770_x) && !std::isnan(ideal_state_9410_x) && !std::isnan(ideal_state_10000_x) && std::abs(match_chi2) < 6
Concatenate polarities ...
hadd Target file: data/tracking_losses_ntuple_B_BJpsi_def_selected.root
hadd compression setting for meta data: 101
hadd Source file 1: data/tracking_losses_ntuple_B_def_selected.root
hadd Source file 2: data/tracking_losses_ntuple_BJpsi_def_selected.root
hadd Target path: data/tracking_losses_ntuple_B_BJpsi_def_selected.root:/
Parameterise magnet kink position ...
Parameterisation for z_mag_xEndT:
intercept= 5308.689740859701
coef= {'dSlope_xEndT_abs': 94.8390840129271, 'x_EndT_abs': 0.03952176022974936, 'ideal_state_770_tx^2': 70418.55504271125, 'ideal_state_770_tx dSlope_xEndT': 62087.4827671762, 'dSlope_xEndT^2': 13580.830615214854, 'x_EndT_abs^2': -0.000842287765099925, 'ideal_state_770_ty^2': -2237.8985443626666, 'ideal_state_770_tx^2 x_EndT_abs': -16.447718852307414, 'ideal_state_770_tx dSlope_xEndT x_EndT_abs': -13.929546692369508, 'dSlope_xEndT^2 x_EndT_abs': -3.2033475757333143, 'dSlope_xEndT_abs ideal_state_770_ty^2': 3364.6401097763382, 'x_EndT_abs^3': 1.936634587279551e-07}
r2 score= 0.8153420697863665
RMSE = 37.11860171392724

Parameterise track model ...
Parameterisation for yDiffOut:
intercept= 0.0
coef= {'dSlope_yEndT': 4349.958490794569, 'dSlope_xEndT dSlope_yEndT': 23.412267157820907, 'ideal_state_770_ty dSlope_xEndT^2': 1217.6046177241865, 'ideal_state_770_ty dSlope_yEndT^2': -17594.965665893247}
r2 score= 0.8630980499661214
RMSE = 10.206148569489939

Parameterisation for yDiffEndT:
intercept= 0.0
coef= {'dSlope_yEndT': 2727.4382768214373, 'ideal_state_770_ty dSlope_xEndT_abs': 171.62746271508692, 'ideal_state_770_ty dSlope_yEndT_abs': -1639.9176239198928, 'ideal_state_770_ty ideal_state_770_tx dSlope_xEndT': 2841.0170296705633, 'ideal_state_770_ty dSlope_xEndT^2': 490.03818091751873, 'ideal_state_770_ty dSlope_yEndT^2': 34340.21609055052, 'ideal_state_770_tx^2 dSlope_yEndT': 2885.8437352087253, 'ideal_state_770_ty ideal_state_770_tx^2 dSlope_xEndT_abs': -697.8060002066588, 'ideal_state_770_ty^3 ideal_state_770_tx dSlope_xEndT': 17736.16501881911}
r2 score= 0.8567992421700392
RMSE = 8.668896312856239
