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
o2::framework::Configurable<int> useNetworkHe{"useNetworkHe", 1, {"Switch for applying neural network on the helium3 mass hypothesis (if network enabled) (set to 0 to disable)"}};
128
128
o2::framework::Configurable<int> useNetworkAl{"useNetworkAl", 1, {"Switch for applying neural network on the alpha mass hypothesis (if network enabled) (set to 0 to disable)"}};
129
129
o2::framework::Configurable<float> networkBetaGammaCutoff{"networkBetaGammaCutoff", 0.45, {"Lower value of beta-gamma to override the NN application"}};
130
+
o2::framework::Configurable<std::string> irSource{"irSource", "ZNC hadronic", "Estimator of the interaction rate (Recommended: pp --> T0VTX, Pb-Pb --> ZNC hadronic)"};
130
131
};
131
132
132
133
// helper getter - FIXME should be separate
@@ -432,6 +433,8 @@ class pidTPCModule
432
433
// Filling a std::vector<float> to be evaluated by the network
433
434
// Evaluation on single tracks brings huge overhead: Thus evaluation is done on one large vector
434
435
for (int i = 0; i < 9; i++) { // Loop over particle number for which network correction is used
436
+
float hadronicRate = 0.;
437
+
uint64_t timeStamp_bcOld = 0;
435
438
for (autoconst& trk : tracks) {
436
439
if (!trk.hasTPC()) {
437
440
continue;
@@ -450,9 +453,22 @@ class pidTPCModule
450
453
if (input_dimensions == 7 && networkVersion == "2") {
0 commit comments