]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STRUCT/AliPIPEv1.cxx
PHOS calibrations for LHC13xxx updated
[u/mrichter/AliRoot.git] / STRUCT / AliPIPEv1.cxx
index c59f7e169c832a8f60192469c16d0241bb194fed..75ec264151738b7f830a2bd3828513a5f4db4616 100644 (file)
@@ -240,43 +240,6 @@ void AliPIPEv1::CreateGeometry()
   }
 }
 
-//_____________________________________________________________________________
-void AliPIPEv1::DrawModule() const
-{
-  //
-  // Draw a shaded view of the Beam Pipe
-  //
-
-  // Set everything unseen
-  gMC->Gsatt("*", "seen", -1);
-  // 
-  // Set ALIC mother transparent
-  gMC->Gsatt("ALIC","SEEN",0);
-  //
-  // Set the volumes visible
-  gMC->Gsatt("QQMO","seen",1);
-  gMC->Gsatt("QDT1","seen",1);
-  gMC->Gsatt("QTB1","seen",1);
-  gMC->Gsatt("QDT2","seen",1);
-  gMC->Gsatt("QTB2","seen",1);
-  gMC->Gsatt("QDT5","seen",1);
-  gMC->Gsatt("QTB5","seen",1);
-  gMC->Gsatt("QDT7","seen",1);
-  gMC->Gsatt("QTB7","seen",1);
-  gMC->Gsatt("QN63","seen",1);
-  //
-  gMC->Gdopt("hide", "on");
-  gMC->Gdopt("shad", "on");
-  gMC->Gsatt("*", "fill", 7);
-  gMC->SetClipBox(".");
-  gMC->SetClipBox("*", 0, 3000, -3000, 3000, -6000, 6000);
-  gMC->DefaultRange();
-  gMC->Gdraw("alic", 40, 30, 0, 3, 5, .04, .04);
-  gMC->Gdhead(1111, "Beam Pipe");
-  gMC->Gdman(16, 6, "MAN");
-  gMC->Gdopt("hide","off");
-}
-
 //_____________________________________________________________________________
 void AliPIPEv1::CreateMaterials()
 {
@@ -284,8 +247,8 @@ void AliPIPEv1::CreateMaterials()
   // Create materials for beam pipe
   //
 
-  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 asteel[4] = { 55.847,51.9961,58.6934,28.0855 };
   Float_t zsteel[4] = { 26.,24.,28.,14. };