3333#include < array>
3434#include < cmath>
3535#include < cstdint>
36- #include < limits>
3736#include < string>
3837#include < unordered_map>
3938#include < vector>
@@ -342,8 +341,8 @@ class CascadeSelection : public baseselection::BaseSelection<float, o2::analysis
342341 this ->evaluateObservable (kBachelorTofPion , bachelor.tofNSigmaPi ());
343342 this ->evaluateObservable (kBachelorTofKaon , bachelor.tofNSigmaKa ());
344343 } else if (mKeepTracksWithoutTof ) {
345- this ->setBitmask (kBachelorTofPion , 0 );
346- this ->setBitmask (kBachelorTofKaon , 0 );
344+ this ->evaluateObservable (kBachelorTofPion , 0 );
345+ this ->evaluateObservable (kBachelorTofKaon , 0 );
347346 }
348347
349348 // depending on the charge, we check lambda or antilambda hypothesis
@@ -353,25 +352,25 @@ class CascadeSelection : public baseselection::BaseSelection<float, o2::analysis
353352 if (posDaughter.hasTOF ()) {
354353 this ->evaluateObservable (kPosDauTof , posDaughter.tofNSigmaPr ());
355354 } else if (mKeepTracksWithoutTof ) {
356- this ->setBitmask (kPosDauTof , 0 );
355+ this ->evaluateObservable (kPosDauTof , 0 );
357356 }
358357 if (negDaughter.hasTOF ()) {
359358 this ->evaluateObservable (kNegDauTof , negDaughter.tofNSigmaPi ());
360359 } else if (mKeepTracksWithoutTof ) {
361- this ->setBitmask (kNegDauTof , 0 );
360+ this ->evaluateObservable (kNegDauTof , 0 );
362361 }
363362 } else if (cascade.sign () > 0 ) {
364363 this ->evaluateObservable (kPosDauTpc , posDaughter.tpcNSigmaPi ());
365364 this ->evaluateObservable (kNegDauTpc , negDaughter.tpcNSigmaPr ());
366365 if (posDaughter.hasTOF ()) {
367366 this ->evaluateObservable (kPosDauTof , posDaughter.tofNSigmaPi ());
368367 } else if (mKeepTracksWithoutTof ) {
369- this ->setBitmask (kPosDauTof , 0 );
368+ this ->evaluateObservable (kPosDauTof , 0 );
370369 }
371370 if (negDaughter.hasTOF ()) {
372371 this ->evaluateObservable (kNegDauTof , negDaughter.tofNSigmaPr ());
373372 } else if (mKeepTracksWithoutTof ) {
374- this ->setBitmask (kNegDauTof , 0 );
373+ this ->evaluateObservable (kNegDauTof , 0 );
375374 }
376375 } else {
377376 LOG (warn) << " Encountered Cascade candidate with 0 charge" ;
0 commit comments