// //
///////////////////////////////////////////////////////////////////////////////
+#include <TGeoGlobalMagField.h>
+
#include "AliABSO.h"
#include "AliRun.h"
#include "AliMagF.h"
//
// Default constructor
//
+ for (Int_t i = 0; i < 2; i++)
+ {
+ fNLayers[i] = 0;
+ for (Int_t j = 0; j < 15; j++)
+ {
+ fZLayers[i][j] = 0.;
+ fMLayers[i][j] = 0;
+ }
+ }
}
//_____________________________________________________________________________
//
// Standard constructor
//
- //PH SetMarkerColor(7);
- //PH SetMarkerStyle(2);
- //PH SetMarkerSize(0.4);
+ for (Int_t i = 0; i < 2; i++)
+ {
+ fNLayers[i] = 0;
+ for (Int_t j = 0; j < 15; j++)
+ {
+ fZLayers[i][j] = 0.;
+ fMLayers[i][j] = 0;
+ }
+ }
}
//_____________________________________________________________________________
//
}
-//_____________________________________________________________________________
-void AliABSO::DrawModule() const
-{
- //
- // Draw a shaded view of the muon absorber
- //
-}
-
-
//_____________________________________________________________________________
void AliABSO::CreateMaterials()
{
//
// Define materials for muon absorber
//
- Int_t isxfld = gAlice->Field()->Integ();
- Float_t sxmgmx = gAlice->Field()->Max();
+ Int_t isxfld = ((AliMagF*)TGeoGlobalMagField::Instance()->GetField())->Integ();
+ Float_t sxmgmx = ((AliMagF*)TGeoGlobalMagField::Instance()->GetField())->Max();
//
// Air
//