@@ -377,7 +377,8 @@ struct TrHeAnalysis {
377377 histos.fill (HIST (" histogram/cuts" ), 7 );
378378 continue ;
379379 }
380- if (cfgCutMinItsClusterSizeH3 < getMeanItsClsSize (track) / std::cosh (track.eta ()) && getMeanItsClsSize (track) / std::cosh (track.eta ()) < cfgCutMaxItsClusterSizeH3) {
380+ if (getMeanItsClsSize (track) / std::cosh (track.eta ()) <= cfgCutMinItsClusterSizeH3 ||
381+ getMeanItsClsSize (track) / std::cosh (track.eta ()) >= cfgCutMaxItsClusterSizeH3) {
381382 histos.fill (HIST (" histogram/cuts" ), 12 );
382383 continue ;
383384 }
@@ -422,7 +423,8 @@ struct TrHeAnalysis {
422423 histos.fill (HIST (" histogram/cuts" ), 7 );
423424 continue ;
424425 }
425- if (cfgCutMinItsClusterSizeHe < getMeanItsClsSize (track) / std::cosh (track.eta ()) && getMeanItsClsSize (track) / std::cosh (track.eta ()) < cfgCutMaxItsClusterSizeHe) {
426+ if (getMeanItsClsSize (track) / std::cosh (track.eta ()) <= cfgCutMinItsClusterSizeHe ||
427+ getMeanItsClsSize (track) / std::cosh (track.eta ()) >= cfgCutMaxItsClusterSizeHe) {
426428 histos.fill (HIST (" histogram/cuts" ), 12 );
427429 continue ;
428430 }
@@ -524,7 +526,8 @@ struct TrHeAnalysis {
524526 histos.fill (HIST (" histogram/cuts" ), 7 );
525527 continue ;
526528 }
527- if (cfgCutMinItsClusterSizeH3 < getMeanItsClsSize (track) / std::cosh (track.eta ()) && getMeanItsClsSize (track) / std::cosh (track.eta ()) < cfgCutMaxItsClusterSizeH3) {
529+ if (getMeanItsClsSize (track) / std::cosh (track.eta ()) <= cfgCutMinItsClusterSizeH3 ||
530+ getMeanItsClsSize (track) / std::cosh (track.eta ()) >= cfgCutMaxItsClusterSizeH3) {
528531 histos.fill (HIST (" histogram/cuts" ), 12 );
529532 continue ;
530533 }
@@ -568,7 +571,8 @@ struct TrHeAnalysis {
568571 histos.fill (HIST (" histogram/cuts" ), 7 );
569572 continue ;
570573 }
571- if (cfgCutMinItsClusterSizeHe < getMeanItsClsSize (track) / std::cosh (track.eta ()) && getMeanItsClsSize (track) / std::cosh (track.eta ()) < cfgCutMaxItsClusterSizeHe) {
574+ if (getMeanItsClsSize (track) / std::cosh (track.eta ()) <= cfgCutMinItsClusterSizeHe ||
575+ getMeanItsClsSize (track) / std::cosh (track.eta ()) >= cfgCutMaxItsClusterSizeHe) {
572576 histos.fill (HIST (" histogram/cuts" ), 12 );
573577 continue ;
574578 }
0 commit comments