]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Avoid errors in the VirtuaMC version of AliRoot
authoralibrary <alibrary@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 23 Jul 2002 08:08:59 +0000 (08:08 +0000)
committeralibrary <alibrary@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 23 Jul 2002 08:08:59 +0000 (08:08 +0000)
EMCAL/AliEMCALv0.cxx

index 58c057165e72116dacaaaac34ad29e0c1cfea759..8274bc0bac36664394d9b5af3ee79a6db19dd153 100644 (file)
@@ -178,6 +178,8 @@ void AliEMCALv0::CreateGeometry(){
 
     Float_t etamin,etamax;
 
+    Float_t *dum=0;
+
 
 
     if(!(fGeom->IsInitialized())){
@@ -340,9 +342,9 @@ void AliEMCALv0::CreateGeometry(){
 
     // The polystyrene layers will be defined when placed 
 
-    gMC->Gsvolu("XPST", "PGON", idtmed[1601], 0, 0);
+    gMC->Gsvolu("XPST", "PGON", idtmed[1601], dum, 0);
 
-    gMC->Gsvolu("XPBX", "PGON", idtmed[1600], 0, 0);//  as will the lead layers
+    gMC->Gsvolu("XPBX", "PGON", idtmed[1600], dum, 0);//  as will the lead layers
 
     //  Dividind eta polystyrene divisions into phi segments.