]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STRUCT/AliBODY.cxx
Do not save CVS subdirectories
[u/mrichter/AliRoot.git] / STRUCT / AliBODY.cxx
index 469ba841090dfcb723accc9314c1ae75ddacd4ff..35f40c00749c50952d0c9961f83a046e1c7e70df 100644 (file)
 //                                                                           //
 ///////////////////////////////////////////////////////////////////////////////
 
-#include "AliMC.h"
-#include "AliBODY.h"
-#include <TNode.h>
-#include <TBRIK.h>
 #include "AliRun.h"
+#include "AliBODY.h"
 
 ClassImp(AliBODY)
  
 //_____________________________________________________________________________
-  AliBODY::AliBODY() : AliDetector()
+AliBODY::AliBODY()
 {
   //
   // Default constructor
@@ -37,7 +34,7 @@ ClassImp(AliBODY)
  
 //_____________________________________________________________________________
 AliBODY::AliBODY(const char *name, const char *title)
-       : AliDetector(name,title)
+       : AliModule(name,title)
 {
   //
   // Standard constructor of the Alice external volume
@@ -47,14 +44,6 @@ AliBODY::AliBODY(const char *name, const char *title)
   SetMarkerSize(0.4);
 }
  
-//_____________________________________________________________________________
-void AliBODY::BuildGeometry()
-{
-  //
-  // Build the ROOT TNode geometry. Only for detectors
-  //
-}
 //_____________________________________________________________________________
 void AliBODY::CreateGeometry()
 {
@@ -88,7 +77,7 @@ void AliBODY::CreateGeometry()
   Int_t *idtmed = gAlice->Idtmed();
   AliMC *pMC = AliMC::GetMC();
   //
-  if(gAlice->GetDetector("ZDC")) {
+  if(gAlice->GetModule("ZDC")) {
     //
     // If the ZDC is present we have an asymmetric box
     // made by a four sides polygone
@@ -131,7 +120,7 @@ void AliBODY::CreateMaterials()
 }
  
 //_____________________________________________________________________________
-void AliBODY::DrawDetector()
+void AliBODY::DrawModule()
 {
   //
   // Draw a view of the Alice outside box
@@ -147,7 +136,7 @@ void AliBODY::DrawDetector()
   // Set the volumes visible
   //
   pMC->Gdopt("hide","off");
-  if(gAlice->GetDetector("ZDC")) {
+  if(gAlice->GetModule("ZDC")) {
     //
     // ZDC is present
     //
@@ -164,10 +153,4 @@ void AliBODY::DrawDetector()
   pMC->Gdman(18, 4, "MAN");
 }
  
-//_____________________________________________________________________________
-void AliBODY::StepManager()
-{
-  //
-  // Called at every step in the Alice Body
-  //
-}
+