Skip to content

Commit 1b664af

Browse files
authored
Remove track counting in analyzeSingles function
Removed track counting variable from analyzeSingles function.
1 parent cd29d3d commit 1b664af

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

PWGCF/TwoParticleCorrelations/Tasks/lambdaR2Correlation.cxx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1591,11 +1591,7 @@ struct LambdaSpinCorrelation {
15911591
void analyzeSingles(T const& tracks)
15921592
{
15931593
static constexpr std::string_view SubDirHist[] = {"LaP", "LaM"};
1594-
int ntrk = 0;
15951594
for (auto const& track : tracks) {
1596-
// Count tracks
1597-
++ntrk;
1598-
15991595
// Get four-momentum of lambda
16001596
std::array<float, 4> l = {MassLambda0, track.px(), track.py(), track.pz()};
16011597
std::array<float, 4> p = {MassProton, track.prPx(), track.prPy(), track.prPz()};

0 commit comments

Comments
 (0)