Skip to content

Commit dacf0f6

Browse files
authored
[PWGHF] Fix UPC online gap selection bug (#15418)
1 parent dda4e8e commit dacf0f6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

PWGHF/Utils/utilsUpcHf.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,14 +81,16 @@ inline auto determineGapType(TCollision const& collision,
8181
float amplitudeThresholdFT0C = defaults::AmplitudeThresholdFT0C)
8282
{
8383
using BCType = std::decay_t<decltype(collision.template foundBC_as<TBCs>())>;
84+
const float amplitudeThresholdsFDDA = -1.0f; // Not used in SGSelector, set to -1 to indicate unused
85+
const float amplitudeThresholdsFDDC = -1.0f; // Not used in SGSelector, set to -1 to indicate unused
8486

8587
// Configure SGSelector thresholds
8688
SGCutParHolder sgCuts;
8789
sgCuts.SetNDtcoll(nDtColl);
8890
sgCuts.SetMinNBCs(nBcsMin);
8991
sgCuts.SetNTracks(nContributorsPvMin, nContributorsPvMax);
9092
sgCuts.SetMaxFITtime(timeFitMax);
91-
sgCuts.SetFITAmpLimits({amplitudeThresholdFV0A, amplitudeThresholdFT0A, amplitudeThresholdFT0C});
93+
sgCuts.SetFITAmpLimits({amplitudeThresholdFV0A, amplitudeThresholdFT0A, amplitudeThresholdFT0C, amplitudeThresholdsFDDA, amplitudeThresholdsFDDC});
9294

9395
// Get BC and BC range
9496
if (!collision.has_foundBC()) {

0 commit comments

Comments
 (0)