]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Bug fixes
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 10 Oct 2000 06:40:25 +0000 (06:40 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 10 Oct 2000 06:40:25 +0000 (06:40 +0000)
STRUCT/AliALIFE.cxx

index 785153c6ea00e8fa64b4e2d539c2d3e134dfba9d..79822f0e2903495f76f31148c98a3609834bfb1f 100644 (file)
@@ -15,6 +15,9 @@
 
 /*
 $Log$
 
 /*
 $Log$
+Revision 1.1  2000/07/26 15:10:57  morsch
+Helper class to write geometry in ALIFE format in parallel with Geant geometry definition.
+
 */
 
 #include <AliALIFE.h>
 */
 
 #include <AliALIFE.h>
@@ -160,7 +163,7 @@ void AliALIFE::OnionCylinder(Float_t* r, Int_t nr, Float_t zmin, Float_t zmax,
            fprintf(fFile2,"+%5s-%5s+%5s\n", nameZou, nameZin, nameRou);
        }
        fprintf(fFile2,"\n");
            fprintf(fFile2,"+%5s-%5s+%5s\n", nameZou, nameZin, nameRou);
        }
        fprintf(fFile2,"\n");
-       nameRin=nameRou;
+       strcpy(nameRin,nameRou);
     }
 }
 
     }
 }
 
@@ -368,7 +371,7 @@ void AliALIFE::OnionCone (Float_t* r1, Float_t* r2, Int_t nr,
            hasInner=kTRUE;
        }
        fprintf(fFile2,"\n");        
            hasInner=kTRUE;
        }
        fprintf(fFile2,"\n");        
-       nameCin=nameCou;
+       strcpy(nameCin,nameCou);
     }
 }
 
     }
 }
 
@@ -392,7 +395,7 @@ void AliALIFE::PolyCone(Float_t* rmin, Float_t* rmax, Float_t* z,
 void AliALIFE::OnionPolyCone(Float_t** r, Float_t* z,
                             Int_t nr, Int_t nz,
                             Float_t pos[3], 
 void AliALIFE::OnionPolyCone(Float_t** r, Float_t* z,
                             Int_t nr, Int_t nz,
                             Float_t pos[3], 
-                            char** Materials, char** Fields=0, char** Cuts)
+                            char** Materials, char** Fields, char** Cuts)
 {
 //
 // Concentric PCONS
 {
 //
 // Concentric PCONS