Larger BOX in case CRT is present.
authormorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 20 Jun 2002 15:33:13 +0000 (15:33 +0000)
committermorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 20 Jun 2002 15:33:13 +0000 (15:33 +0000)
STRUCT/AliBODY.cxx

index 1a4eaba44e69f13caca3a2822461a1833fe3aac5..0a85365ad8c6ab950c536b581e9365d2d3067e54 100644 (file)
@@ -15,6 +15,9 @@
 
 /*
 $Log$
+Revision 1.8  2000/10/02 21:28:15  fca
+Removal of useless dependecies via forward declarations
+
 Revision 1.7  2000/06/11 12:32:51  morsch
 Coding rule violations corrected
 
@@ -119,9 +122,19 @@ void AliBODY::CreateGeometry()
     dALIC[8]=0;
     dALIC[9]=2000;
     gMC->Gsvolu("ALIC","PGON",idtmed[1],dALIC,10);
+  } else if ( gAlice->GetModule("CRT")) {
+    //
+    // If the Cosmic Ray Trigger  is present we need a large box
+    // 
+    //
+    dALIC[0]=5000.;
+    dALIC[1]=5000.;
+    dALIC[2]=15000.;
+    gMC->Gsvolu("ALIC","BOX ",idtmed[1],dALIC,3);
+      
   } else {
     //
-    // If the ZDC is not present make just a BOX
+    // If the ZDC and CRT are not present make just a BOX
     //
     dALIC[0]=2000;
     dALIC[1]=2000;