From c31f1d37e0d8ec57640f3508368d0517cde8f0c0 Mon Sep 17 00:00:00 2001 From: morsch Date: Fri, 20 Jun 2003 13:14:22 +0000 Subject: [PATCH] PrintParticles: Getting in synch with root. --- PYTHIA6/AliPythia.cxx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/PYTHIA6/AliPythia.cxx b/PYTHIA6/AliPythia.cxx index a380e9c5414..c07ce5dae44 100644 --- a/PYTHIA6/AliPythia.cxx +++ b/PYTHIA6/AliPythia.cxx @@ -445,17 +445,15 @@ void AliPythia::PrintParticles() { // Print list of particl properties Int_t np = 0; - + char* name = new char[16]; for (Int_t kf=0; kf<1000000; kf++) { for (Int_t c = 1; c > -2; c-=2) { - Int_t kc = Pycomp(c*kf); if (kc) { Float_t mass = GetPMAS(kc,1); Float_t width = GetPMAS(kc,2); Float_t tau = GetPMAS(kc,4); - - char* name = new char[8]; + Pyname(kf,name); np++; -- 2.43.0