// //
///////////////////////////////////////////////////////////////////////////////
-#include <TVirtualMC.h>
-#include <TGeoMedium.h>
-#include <TGeoVolume.h>
+#include <TGeoCompositeShape.h>
+#include <TGeoGlobalMagField.h>
+#include <TGeoManager.h>
#include <TGeoMatrix.h>
+#include <TGeoMedium.h>
#include <TGeoPgon.h>
+#include <TGeoVolume.h>
#include <TGeoXtru.h>
-#include <TGeoCompositeShape.h>
-#include <TGeoManager.h>
+#include <TVirtualMC.h>
#include "AliMAG.h"
#include "AliMagF.h"
const Float_t kStartAngle = 22.5; // deg
const Float_t kFullAngle = 360.0; // deg
// Mother volume
- const Float_t kRBMotherInner = 560.00; // cm
+ const Float_t kRBMotherInner = 600.00; // cm
const Float_t kRBMotherOuter = 790.50; // cm
const Float_t kLBMother = 706.00; // cm
// Yoke
const Float_t kRThermalShieldInner = 566.00; // cm
const Float_t kRThermalShieldOuter = 571.00; // cm
// Crown
- const Float_t kRCrownInner = 560.00; // cm
+ const Float_t kRCrownInner = 600.00; // cm
const Float_t kRCrownOuter = 785.50; // cm
const Float_t kLCrown1 = 605.00; // cm
const Float_t kLCrown2 = 620.00; // cm
const Float_t kLCrown3 = 706.00; // cm
// Door
- const Float_t kRDoorOuter = 560.00; // cm
+ const Float_t kRDoorOuter = 600.00; // cm
const Float_t kRPlugInner = 183.50; // cm
const Float_t kLDoor1 = 615.50; // cm
const Float_t kLDoor2 = 714.60; // cm
shBMother->DefineSection(0, -kLBMother, kRBMotherInner, kRBMotherOuter);
shBMother->DefineSection(1, kLBMother, kRBMotherInner, kRBMotherOuter);
//
- TGeoVolume* voBMother = new TGeoVolume("L3BM", shBMother, medAir);
+ TGeoVolumeAssembly* voBMother = new TGeoVolumeAssembly("L3BM");
//
// Define Thermal Shield
//
// Create materials for L3 magnet
//
- 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();
Float_t epsil, stmin, deemax, tmaxfd, stemax;