* provided "as is" without express or implied warranty. *
**************************************************************************/
-/*
-$Log$
-Revision 1.7 2000/06/11 12:32:51 morsch
-Coding rule violations corrected
-
-Revision 1.6 1999/09/29 09:24:30 fca
-Introduction of the Copyright and cvs Log
-
-*/
+/* $Id$ */
///////////////////////////////////////////////////////////////////////////////
// //
// //
///////////////////////////////////////////////////////////////////////////////
-#include "AliRun.h"
-#include "AliMC.h"
-#include "AliMagF.h"
+#include <TVirtualMC.h>
+
#include "AliBODY.h"
+#include "AliMagF.h"
+#include "AliRun.h"
ClassImp(AliBODY)
dALIC[1]=360;
dALIC[2]=4;
dALIC[3]=2;
- dALIC[4]=-3000;
+
+ dALIC[4]=-15000;
dALIC[5]=0;
dALIC[6]=2000;
- dALIC[7]=15000;
+
+ dALIC[7]=3000;
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]=13000.;
+ dALIC[1]=5000.;
+ dALIC[2]=13000.;
+ 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;
}
//_____________________________________________________________________________
-void AliBODY::DrawModule()
+void AliBODY::DrawModule() const
{
//
// Draw a view of the Alice outside box