]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Updated documentation for changes in the framework
authorivana <ivana@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 3 Mar 2009 17:02:58 +0000 (17:02 +0000)
committerivana <ivana@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 3 Mar 2009 17:02:58 +0000 (17:02 +0000)
MUON/READMEgeometry.txt
MUON/READMEsim.txt

index b37d61bdc88bf96839a43344e62216b9e2a9ab05..271b2d6cb3fd64219d126e86be7c1456db2f59bd 100644 (file)
@@ -40,8 +40,7 @@ file.
 \see http://agenda.cern.ch/fullAgenda.php?ida=a05212
 
 <pre>
-AliMpCDB::LoadMpSegmentation2(); 
-gAlice->Init("$ALICE_ROOT/MUON/Config.C");
+TGeoManager::Import("geometry.root");
 gGeoManager->GetMasterVolume()->Draw();
 </pre>
 
@@ -55,8 +54,7 @@ scene, MUONGeometryViewingHelper.C is also available.
 \see  http://agenda.cern.ch/fullAgenda.php?ida=a05212
 
 <pre>
-AliMpCDB::LoadMpSegmentation2(); 
-gAlice->Init("$ALICE_ROOT/MUON/Config.C");
+TGeoManager::Import("geometry.root");
 gGeoManager->CheckOverlaps(0.001);
 gGeoManager->PrintOverlaps();
 </pre>
index c4112a1bbd76554d632dca75de15b62baf598b19..6144300c039e2ab003a8cd643ab67bc3d9acd42d 100644 (file)
@@ -47,7 +47,7 @@ distribution (mean value and fluctuations) in the active gas.
 
 \section sim_s3  Tracking of particle in the magnetic field
 
-GEANT has two ways for tracking charged particles in the 
+GEANT has two integration methods for tracking charged particles in the 
 magnetic field: HELIX et RKUTA.
 HELIX is faster and works well if the gradient of magnetic 
 field is small. 
@@ -56,12 +56,14 @@ use RKUTA to get the optimal mass resolution of the
 spectrometer. The choice of HELIX or RKUTA is done in the
 config file when the magnetic field is defined:
 <pre>
-  AliMagFMaps* field = new AliMagFMaps("Maps","Maps", TRACKING, FACTOR, MAXB, AliMagFMaps::k5kG);
-  gAlice->SetField(field);
+  TGeoGlobalMagField::Instance()
+    ->SetField(new AliMagF("Maps","Maps", INTEG, FACTOR_SOL, FACTOR_DIP, MAXB, AliMagF::k5kG));  
 </pre>  
-TRACKING must be 1 for RKUTA and 2 for HELIX (the default value for aliroot is 2 (HELIX))
-FACTOR allows you to set the magnetic field to 0, just putting FACTOR=0. Default value is 1.
-MAXB is the maximum magnetic field which is 10.T
+INTEG must be 1 for RKUTA and 2 for HELIX (the default value for aliroot is 2 (HELIX)).
+FACTOR_SOL, FACTOR_DIP allow you to set the multiplicative factor for solenoid
+and dipole, respectively; just putting FACTOR_SOL=0 or FACTOR_DIP=0 will set the
+magnetic field for solenoid or dipole to 0. Default values are 1.0, 1.0. 
+MAXB is the maximum magnetic field which default value is 10.T
 
 \section sim_s4 Tailing effect