]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/Config.C
Possibility to specify user defined OCDB path for
[u/mrichter/AliRoot.git] / MUON / Config.C
index fc8aa1e730bfd3f50022bf4baf051d6e6f501b2d..e2f67adc47d9749dcb6bec9b147bce9fbab7ec6c 100644 (file)
@@ -29,11 +29,11 @@ void Config(char directory[100]="", char option[6]="param", const char* digitsto
   // Config file for MUON test
   //=====================================================================
   //  Libraries required by geant321
-  gSystem->Load("libEG");
-  gSystem->Load("libEGPythia6");
-  gSystem->Load("libgeant321.so");
   gSystem->Load("liblhapdf.so");      // Parton density functions
   gSystem->Load("libpythia6.so");     // Pythia
+  gSystem->Load("libgeant321.so");
+  gSystem->Load("libEG");
+  gSystem->Load("libEGPythia6");
   gSystem->Load("libAliPythia6.so");  // ALICE specific implementations
 
   new TGeant3TGeo("C++ Interface to Geant3");
@@ -174,8 +174,7 @@ void Config(char directory[100]="", char option[6]="param", const char* digitsto
   }  
   //============================================================= 
   // Field (L3 0.5 T)
-  AliMagFMaps* field = new AliMagFMaps("Maps","Maps", 1, 1., 10., AliMagFMaps::k5kG);
-  gAlice->SetField(field);
+  TGeoGlobalMagField::Instance()->SetField(new AliMagF("Maps","Maps", 2, 1., 1, 10., AliMagF::k5kG));
   //============================================================= 
   //=================== Alice BODY parameters =============================
   AliBODY *BODY = new AliBODY("BODY","Alice envelop");
@@ -210,8 +209,9 @@ void Config(char directory[100]="", char option[6]="param", const char* digitsto
   // Noise-only digits in tracker/trigger (0=no noise, 1=default (noise in tracker), 2=noise in tracker and trigger):
   //MUON->SetDigitizerWithNoise(kFALSE);
 
-  // Use fast raw data decoder
-  // MUON->SetFastDecoder(kTRUE);  
+  // Use non-high performance raw data decoder 
+  //MUON->SetFastTrackerDecoder(kFALSE);  
+  //MUON->SetFastTriggerDecoder(kFALSE);  
   
   //
   // If SetAlign, the detection elements transformations