]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STRUCT/AliMAG.cxx
Corrections to obey the coding conventions
[u/mrichter/AliRoot.git] / STRUCT / AliMAG.cxx
index aae399358477905295cb41ec68683f13e89516fa..f6d176391a90fddd1345957c5b63d8c024085be4 100644 (file)
  * provided "as is" without express or implied warranty.                  *
  **************************************************************************/
 
-/*
-$Log$
-Revision 1.10  2002/10/17 16:14:05  hristov
-MAG geometry with resolved MANY (I.Hrivnacova)
-
-Revision 1.9  2001/05/16 14:57:22  alibrary
-New files for folders and Stack
-
-Revision 1.8  2000/10/02 21:28:15  fca
-Removal of useless dependecies via forward declarations
-
-Revision 1.7  2000/06/11 12:35:56  morsch
-Coding rule violations corrected
-
-Revision 1.6  1999/09/29 09:24:30  fca
-Introduction of the Copyright and cvs Log
-
-*/
+/* $Id$ */
 
 ///////////////////////////////////////////////////////////////////////////////
 //                                                                           //
@@ -53,7 +36,6 @@ Introduction of the Copyright and cvs Log
  
 #include "AliMAG.h"
 #include "AliRun.h"
-#include "AliMC.h"
 #include "AliMagF.h"
  
 ClassImp(AliMAG)
@@ -112,7 +94,7 @@ void AliMAG::CreateGeometry()
   //  Define Mother 
   
   par[0] = 22.5;
-  par[1] = 337.5;
+  par[1] = 360.;
   par[2] = 8.;
   par[3] = 2.;
   par[4] = -600.;
@@ -179,7 +161,7 @@ void AliMAG::CreateGeometry()
   //     DOOR OPENING 
   
   dpar[0] = 22.5;
-  dpar[1] = 337.5;
+  dpar[1] = 360;
   dpar[2] = 8.;
   dpar[3] = 3.;
   dpar[4] = 610.;
@@ -216,7 +198,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");