Corrected logics (I.Hrivnacova)
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 6 Nov 2002 15:20:32 +0000 (15:20 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 6 Nov 2002 15:20:32 +0000 (15:20 +0000)
STRUCT/AliMAG.cxx

index 46e3d64a58b8adee3e31b243b24c22f363f4ceb5..f6248884c2b95156718a9fd7e2b930f3951bca6b 100644 (file)
@@ -15,6 +15,9 @@
 
 /*
 $Log$
+Revision 1.12  2002/11/01 10:59:49  hristov
+Correcting geometry (corresponds to version 1.9)
+
 Revision 1.11  2002/10/17 16:33:07  hristov
 Corrected check of the MC type
 
@@ -219,7 +222,7 @@ void AliMAG::CreateGeometry()
   gMC->Gspos("L3FX", 1, "L3DX", 0., 0., 0., 0, "MANY");
   gMC->Gspos("L3IX", 1, "L3DX", 0., 0., 0., 0, "MANY");
 
-  if(strcmp(gMC->GetName(),"TGeant3")) {
+  if(!strcmp(gMC->GetName(),"TGeant3")) {
 
     gMC->Gspos("L3O1", 1, "L3FR", 0., 30., 0., 0, "MANY");
     gMC->Gspos("L3O2", 1, "L3IR", 0., 30., 0., 0, "MANY");