@@ -105,7 +105,7 @@ struct HfTaskCorrelationDsHadrons {
105105 // Configurable<bool> doMcCollisionCheck{"doMcCollisionCheck", false, "Flag for applying the collision check and selection based on MC collision info"};
106106 Configurable<int > centEstimator{" centEstimator" , 2 , " Centrality estimation (FT0A: 1, FT0C: 2, FT0M: 3, FV0A: 4)" };
107107 Configurable<int > selectionFlagDs{" selectionFlagDs" , 7 , " Selection Flag for Ds (avoid the case of flag = 0, no outputMlScore)" };
108- Configurable<int > nTpcCrossedRaws{ " nTpcCrossedRaws " , 70 , " Number of crossed TPC Rows" };
108+ Configurable<int > nTpcCrossedRows{ " nTpcCrossedRows " , 70 , " Number of crossed TPC Rows" };
109109 // Configurable<int> eventGeneratorType{"eventGeneratorType", -1, "If positive, enable event selection using subGeneratorId information. The value indicates which events to keep (0 = MB, 4 = charm triggered, 5 = beauty triggered)"};
110110 Configurable<int > decayChannel{" decayChannel" , 1 , " Resonant decay channels: 1 for Ds->PhiPi->KKpi, 2 for Ds->K0*K->KKPi" };
111111 Configurable<float > cutCollPosZMc{" cutCollPosZMc" , 10 ., " max z-vertex position for collision acceptance" };
@@ -535,7 +535,7 @@ struct HfTaskCorrelationDsHadrons {
535535 continue ;
536536 }
537537
538- if (trackDcaXY > dcaXYTrackMax || trackDcaZ > dcaZTrackMax || trackTpcCrossedRows < nTpcCrossedRaws ) {
538+ if (std::abs ( trackDcaXY) >= dcaXYTrackMax || std::abs ( trackDcaZ) >= dcaZTrackMax || trackTpcCrossedRows < nTpcCrossedRows ) {
539539 continue ;
540540 }
541541
@@ -645,7 +645,7 @@ struct HfTaskCorrelationDsHadrons {
645645 continue ;
646646 }
647647
648- if (trackDcaXY > dcaXYTrackMax || trackDcaZ > dcaZTrackMax || trackTpcCrossedRows < nTpcCrossedRaws ) {
648+ if (std::abs ( trackDcaXY) > dcaXYTrackMax || std::abs ( trackDcaZ) > dcaZTrackMax || trackTpcCrossedRows < nTpcCrossedRows ) {
649649 continue ;
650650 }
651651
@@ -762,7 +762,7 @@ struct HfTaskCorrelationDsHadrons {
762762 continue ;
763763 }
764764
765- if (trackDcaXY > dcaXYTrackMax || trackDcaZ > dcaZTrackMax || trackTpcCrossedRows < nTpcCrossedRaws ) {
765+ if (std::abs ( trackDcaXY) > dcaXYTrackMax || std::abs ( trackDcaZ) > dcaZTrackMax || trackTpcCrossedRows < nTpcCrossedRows ) {
766766 continue ;
767767 }
768768
@@ -901,7 +901,7 @@ struct HfTaskCorrelationDsHadrons {
901901 continue ;
902902 }
903903
904- if (trackDcaXY > dcaXYTrackMax || trackDcaZ > dcaZTrackMax || trackTpcCrossedRows < nTpcCrossedRaws ) {
904+ if (std::abs ( trackDcaXY) > dcaXYTrackMax || std::abs ( trackDcaZ) > dcaZTrackMax || trackTpcCrossedRows < nTpcCrossedRows ) {
905905 continue ;
906906 }
907907
@@ -1246,7 +1246,7 @@ struct HfTaskCorrelationDsHadrons {
12461246
12471247 // reconstructed track loop
12481248 for (const auto & track : groupedTracks) {
1249- if (!track.isGlobalTrackWoDCA () || track.tpcNClsCrossedRows () < nTpcCrossedRaws ) {
1249+ if (!track.isGlobalTrackWoDCA () || track.tpcNClsCrossedRows () < nTpcCrossedRows ) {
12501250 continue ;
12511251 }
12521252 if (track.has_mcParticle ()) {
0 commit comments