// //
///////////////////////////////////////////////////////////////////////////////
-#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
//_____________________________________________________________________________
AliBODY::AliBODY(const char *name, const char *title)
- : AliDetector(name,title)
+ : AliModule(name,title)
{
//
// Standard constructor of the Alice external volume
SetMarkerSize(0.4);
}
-//_____________________________________________________________________________
-void AliBODY::BuildGeometry()
-{
- //
- // Build the ROOT TNode geometry. Only for detectors
- //
-}
-
//_____________________________________________________________________________
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
}
//_____________________________________________________________________________
-void AliBODY::DrawDetector()
+void AliBODY::DrawModule()
{
//
// Draw a view of the Alice outside box
// Set the volumes visible
//
pMC->Gdopt("hide","off");
- if(gAlice->GetDetector("ZDC")) {
+ if(gAlice->GetModule("ZDC")) {
//
// ZDC is present
//
pMC->Gdman(18, 4, "MAN");
}
-//_____________________________________________________________________________
-void AliBODY::StepManager()
-{
- //
- // Called at every step in the Alice Body
- //
-}
+