message: add missing particle counting
diff: @@ -144,6 +144,7 @@ bool AliMultDepSpecOnTheFlyAnalysisTask::InitEvent()
  AliError("fMCEvent not available\n");
  return false;
  }
  + fMCVtxZ = fMCEvent->GetPrimaryVertex()->GetZ();
  LoopTrue(true); // set true multiplicity fTrueMult
  fMCIsGoodZPos = std::abs(fMCVtxZ) <= 10;
  fMCIsGoodEventClass = (fMultTrue > 0);
  @@ -164,11 +165,16 @@ void AliMultDepSpecOnTheFlyAnalysisTask::LoopTrue(bool count)
  for (int particleID = 0; particleID < fMCEvent->GetNumberOfTracks(); ++particleID) {
  if (!InitParticle<AliMCParticle>(particleID)) continue;
  if (!fMCIsChargedPrimary) continue;
  +
  + if (count) {
  + ++fMultTrue;
  + } else {
  if (fMCAcceptEvent) {
  fHist_multPtSpec_prim_gen.Fill(fMultTrue, fMCPt);
  }
  }
  }
  +}
  //**************************************************************************************************
  /**
  