PrintParticles: Getting in synch with root.
authormorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 20 Jun 2003 13:14:22 +0000 (13:14 +0000)
committermorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 20 Jun 2003 13:14:22 +0000 (13:14 +0000)
PYTHIA6/AliPythia.cxx

index a380e9c..c07ce5d 100644 (file)
@@ -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++;