]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Call BuildGeometry() after Init() to be able to share common detector parameters.
authormorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 6 Nov 2000 11:35:46 +0000 (11:35 +0000)
committermorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 6 Nov 2000 11:35:46 +0000 (11:35 +0000)
TGeant3/AliGeant3.cxx

index 8eb99d0fe4083ff8ac7bd601bc38e4928375c120..da4a512ccad4882f1b5a9f4978ec0878ab345e5c 100644 (file)
@@ -15,6 +15,9 @@
 
 /*
 $Log$
+Revision 1.11  2000/10/04 16:30:22  fca
+Add include for exit()
+
 Revision 1.10  2000/10/02 21:28:16  fca
 Removal of useless dependecies via forward declarations
 
@@ -105,8 +108,8 @@ void AliGeant3::Init()
     // Initialise detector materials and geometry
     detector->CreateMaterials();
     detector->CreateGeometry();
-    detector->BuildGeometry();
     detector->Init();
+    detector->BuildGeometry();
   }
 
   //Terminate building of geometry