message: Fix double counting in Like Sign
diff: @@ -168,7 +168,6 @@ void AliVertexerHyperTriton2Body::CreateV0(const AliESDVertex *vtxT3D, int nidx,
  AliTrackerBase::PropagateTrackTo(ptp, xp, lPosMassForTracking, 3, kFALSE, 0.75, kFALSE, kTRUE);
  }
  -
  AliESDv0 vertex(nt, nidx, pt, pidx);
  //Experimental: refit V0 if asked to do so
  @@ -266,7 +265,8 @@ void AliVertexerHyperTriton2Body::CreateV0(const AliESDVertex *vtxT3D, int nidx,
  fV0s.push_back(vertex);
  };
  -std::vector<AliESDv0> AliVertexerHyperTriton2Body::Tracks2V0verticesEM(AliESDEvent *event, AliPIDResponse *pid, std::vector<AliESDtrack*>& he3, std::vector<AliESDtrack*>& antihe3) {
  +std::vector<AliESDv0> AliVertexerHyperTriton2Body::Tracks2V0verticesEM(AliESDEvent *event, AliPIDResponse *pid, std::vector<AliESDtrack *> &he3, std::vector<AliESDtrack *> &antihe3)
  +{
  fV0s.clear();
  const AliESDVertex *vtxT3D = event->GetPrimaryVertex();
  @@ -493,14 +493,12 @@ std::vector<AliESDv0> AliVertexerHyperTriton2Body::Tracks2V0vertices(AliESDEvent
  {
  AliPID::EParticleType pPart = index == 1 ? AliPID::kHe3 : AliPID::kPion;
  AliPID::EParticleType nPart = index == 1 ? AliPID::kPion : AliPID::kHe3;
  - for (int charge{0}; charge < 2; ++charge)
  - {
  - for (auto &nidx : tracks[charge][index])
  + for (auto &nidx : tracks[0][index])
  {
  AliESDtrack *ntrk = event->GetTrack(nidx);
  if (!ntrk)
  continue;
  - for (auto &pidx : tracks[charge][index > 0 ? 0 : 1])
  + for (auto &pidx : tracks[1][index > 0 ? 0 : 1])
  {
  AliESDtrack *ptrk = event->GetTrack(pidx);
  if (!ptrk)
  @@ -510,7 +508,6 @@ std::vector<AliESDv0> AliVertexerHyperTriton2Body::Tracks2V0vertices(AliESDEvent
  }
  }
  }
  - }
  return fV0s;
  }
  //________________________________________________________________________
  @@ -587,12 +584,11 @@ std::vector<AliESDv0> AliVertexerHyperTriton2Body::Tracks2V0vertices3Body(std::v
  else
  {
  for (int index{0}; index < 2; ++index)
  - {
  - for (int charge{0}; charge < 2; ++charge)
  {
  for (int nidx = 0; nidx < tracks[0][index].size(); nidx++)
  {
  auto ntrk = tracks[0][index][nidx];
  + if (!ntrk)
  continue;
  for (int pidx = 0; pidx < tracks[1][index == 1 ? 0 : 1].size(); pidx++)
  @@ -608,7 +604,6 @@ std::vector<AliESDv0> AliVertexerHyperTriton2Body::Tracks2V0vertices3Body(std::v
  }
  }
  }
  - }
  return fV0s;
  }
  