void MUONTest(Int_t testNumber)
{
- gAlice->Init("./Config_MUON_test.C");
+ gAlice->Init("./Config.C");
cout << "Init done " << endl;
- AliMUONTest test("./Config_MUON_test.C");
+ AliMUONTest test("./Config.C");
switch (testNumber) {
case 1: test.DetElemTransforms(); break;
case 2: test.ForWhole(kPrintPads); break;
How to run a MUON generation
==========================================================
aliroot
-root [0] gAlice->Run(10,"$ALICE_ROOT/MUON/Config_MUON_test.C");
+root [0] gAlice->Run(10,"$ALICE_ROOT/MUON/Config.C");
1 single muon of 7 GeV/c in the MUON spectrometer
acceptance will be simulated using geant3.
============================================================
How to check the Geometry
============================================================
-gAlice->Init("$ALICE_ROOT/MUON/Config_MUON_test.C");
+gAlice->Init("$ALICE_ROOT/MUON/Config.C");
.L $ALICE/geant3/TGeant3/G3GUI.C
G3GUI()
// To run MUONTracker
MUONTracker(iEventMin,iEventMax,"galice.root"); // iEventMin: first event
- // iEventMax: last event
+
+===========================================================
+ Macro MUONGenerateGeometryData.C
+===========================================================
+
+Macro for generating the geometry data files:
+(transform_*.dat, svmap_*.dat).
+- MUON/data/transform_*dat files contain all the information
+about the transformation (traslation + rotation) needed for
+the positionning of each detection element of the MUON
+spectrometer.
+- MUON/data/svmap_*.dat files contain all the information to link
+each geant volume (it can be extended to other virtual MC) with
+a detection element. The point here is that a given detection
+element, i.e. a slat chamber consists of many geant volumes.
+the correspondence is then defined in an input file.
+Eanch time there is a change in the virtual MC geometry, these
+input files must be re-generated via the macro
+MUONGenerateGeometryData.C
+
+To be run from aliroot:
+.x MUONGenerateGeometryData.C
+
+The generated files do not replace the existing ones
+but have different names (with extension ".out").
+To compare/replace the existing files with generated ones
+run the scripts in MUON/data:
+compare_data [transform] [svmaps ]
+reset_data [transform] [svmaps]
+Author: I. Hrivnacova, IPN Orsay
===========================================================