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
staticconstexprfloatkCfgPairCutDefaults[1][5] = {{-1, -1, -1, -1, -1}};// o2-linter: disable=name/constexpr-constant (preserve the established configurable-default identifier)
88
89
89
90
structCorrelationTask {
90
91
SliceCache cache;
@@ -449,10 +450,10 @@ struct CorrelationTask {
449
450
450
451
if (cfgCorrelationMethod == 1 && track1.decay() != track2.decay())
451
452
continue;
452
-
if (cfgCorrelationMethod == 2 && track1.decay() == track2.decay())
453
+
if (cfgCorrelationMethod == 2 && track1.decay() == track2.decay())// o2-linter: disable=magic-number (value is the established ddbar correlation-method mode)
if (cfgCorrelationMethod == 1 && track1.decay() != track2.decay())
745
746
continue;
746
-
if (cfgCorrelationMethod == 2 && track1.decay() == track2.decay())
747
+
if (cfgCorrelationMethod == 2 && track1.decay() == track2.decay())// o2-linter: disable=magic-number (value is the established ddbar correlation-method mode)
747
748
continue;
748
749
}
749
750
@@ -857,7 +858,7 @@ struct CorrelationTask {
857
858
if (cfg.mEfficiencyTrigger == nullptr) {
858
859
LOGF(fatal, "Could not load efficiency histogram for trigger particles from %s", cfgEfficiencyTrigger.value.c_str());
859
860
}
860
-
LOGF(info, "Loaded efficiency histogram for trigger particles from %s (%p)", cfgEfficiencyTrigger.value.c_str(), (void*)cfg.mEfficiencyTrigger);
861
+
LOGF(info, "Loaded efficiency histogram for trigger particles from %s (%p)", cfgEfficiencyTrigger.value.c_str(), static_cast<void*>(cfg.mEfficiencyTrigger));
861
862
}
862
863
if (cfgEfficiencyAssociated.value.empty() == false) {
863
864
if (cfgLocalEfficiency > 0) {
@@ -869,7 +870,7 @@ struct CorrelationTask {
869
870
if (cfg.mEfficiencyAssociated == nullptr) {
870
871
LOGF(fatal, "Could not load efficiency histogram for associated particles from %s", cfgEfficiencyAssociated.value.c_str());
871
872
}
872
-
LOGF(info, "Loaded efficiency histogram for associated particles from %s (%p)", cfgEfficiencyAssociated.value.c_str(), (void*)cfg.mEfficiencyAssociated);
873
+
LOGF(info, "Loaded efficiency histogram for associated particles from %s (%p)", cfgEfficiencyAssociated.value.c_str(), static_cast<void*>(cfg.mEfficiencyAssociated));
0 commit comments