Updated for new magnetic field setting.
authormorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 23 Sep 2009 16:43:53 +0000 (16:43 +0000)
committermorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 23 Sep 2009 16:43:53 +0000 (16:43 +0000)
TFluka/macro/FlukaConfig.C

index ed73a61..6b5c14e 100644 (file)
@@ -173,10 +173,9 @@ void Config()
                                                                                 
                                                                                 
 // Field (L3 0.4 T)
-    AliMagF *field = new AliMagF("Maps","Maps", 2, 1., 1., 10., smag);
-    field->SetL3ConstField(0); //Using const. field in the barrel
-    TGeoGlobalMagField::Instance()->SetField(field);
+    TGeoGlobalMagField::Instance()->SetField(new AliMagF("Maps","Maps", 2, 1., 1., 10., AliMagF::k5kG));
     rl->CdGAFile();
+
  
   Int_t   iABSO    = 0; 
   Int_t   iACORDE  = 0; 
@@ -247,7 +246,7 @@ void Config()
     {
         //=================== SHIL parameters ============================
 
-        AliSHIL *SHIL = new AliSHILv2("SHIL", "Shielding Version 2");
+        AliSHIL *SHIL = new AliSHILv3("SHIL", "Shielding Version 2");
     }