You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// condition for sign: we want to work only with pi, p and K, without antiparticles
332
+
if ((pid == particlesPdgCode[i]) & (track.sign() == 1)) {
327
333
if (pdgCodeMC == particlesPdgCode[i]) {
328
334
fillPidHistos<i>(track, pdgCodeMC, true);
329
335
} else {
@@ -332,19 +338,28 @@ struct pidml {
332
338
}
333
339
}
334
340
335
-
PidONNXModel model211;
336
-
PidONNXModel model2212;
337
-
PidONNXModel model321;
341
+
// one model for one particle; Model with all TPC and TOF signal
342
+
PidONNXModel model211All;
343
+
PidONNXModel model2212All;
344
+
PidONNXModel model321All;
345
+
// Model with only TPC model
346
+
PidONNXModel model211TPC;
347
+
PidONNXModel model2212TPC;
348
+
PidONNXModel model321TPC;
338
349
339
-
Configurable<bool> cfgUseTOF{"useTOF", true, "Use ML model with TOF signal"};
350
+
//Configurable<bool> cfgUseTOF{"useTOF", true, "Use ML model with TOF signal"};
340
351
Configurable<std::string> cfgModelDir{"model-dir", "http://alice-ccdb.cern.ch/Users/m/mkabus/pidml/onnx_models", "base path to the directory with ONNX models"};
341
352
Configurable<std::string> cfgScalingParamsFile{"scaling-params", "http://alice-ccdb.cern.ch/Users/m/mkabus/pidml/onnx_models/train_208_mc_with_beta_and_sigmas_scaling_params.json", "base path to the ccdb JSON file with scaling parameters from training"};
0 commit comments