88cb7938 |
1 | ========================================================== |
2 | Please add to this README file all information concerning |
3 | config files, simulation, digitalization, clusterization, |
4 | reconstruction and macro analysis |
5 | |
6 | ========================================================== |
7 | How to run a MUON simulation |
8 | ========================================================== |
9 | aliroot |
10 | root [0] gAlice->Run(10,"$ALICE_ROOT/MUON/Config_MUON_test.C"); |
11 | |
12 | 1 single muon of 7 GeV/c in the MUON spectrometer |
13 | acceptance will be simulated using geant3. |
14 | Hit information will be store in the root file in the |
15 | execution directory. |
16 | |
17 | If you want to change the option or to define a new directory |
18 | for hits, you have to do the following before: |
19 | root [0] gAlice->SetConfigFunction("Config( \"/home/martinez/aliroot/work_NewIO/test/\" , \"box\" );"); |
20 | |
21 | ============================================================ |
22 | How to run MUON Digitalization |
23 | ============================================================ |
24 | To process the digitalization of hits the AliRunDigitizer |
25 | framework is used: |
26 | |
2058bf30 |
27 | AliRunDigitizer * manager = new AliRunDigitizer(1,1); |
28 | manager->SetInputStream(0,"galice.root"); |
e6dd99fc |
29 | AliMUONDigitizerv1* dMUON = new AliMUONDigitizerv1(manager) |
2058bf30 |
30 | manager->AddDigitizer(dMUON); |
31 | manager->Exec("deb"); |
88cb7938 |
32 | |
33 | ============================================================ |
34 | How to run MUON RecPoint clusterization |
35 | ============================================================ |
36 | aliroot -b << EOF |
278a86d5 |
37 | .includepath $ALICE_ROOT/STEER |
38 | .includepath $ALICE_ROOT/MUON |
39 | .L $ALICE_ROOT/MUON/MUONrawclusters.C++ |
2058bf30 |
40 | MUONrawclusters("galice.root",0,10); |
88cb7938 |
41 | |
42 | First event and last event are given by hand, but this will change. |
43 | |
44 | ============================================================ |
45 | How to run MUON Trigger |
46 | ============================================================ |
2058bf30 |
47 | .L $ALICE_ROOT/MUON/MUONtrigger.C |
e6dd99fc |
48 | MUONtrigger("galice.root",0,10); |
88cb7938 |
49 | >> IMPORTANT NOTE: in the present version, one can only have either |
50 | >> rawclusters or trigger information written in MUON.RecPoints.root |
51 | >> but not both of them i.e. running MUONtrigger after MUONrawclusters |
52 | >> will erase rawclusters from TreeR and vice versa. |
53 | |
54 | First event and last event are given by hand, but this will change. |
55 | |
56 | ============================================================ |
57 | How to run MUON Tracking reconstruction |
fb76e306 |
58 | =========================================================== |
2058bf30 |
59 | .includepath $ALICE_ROOT/STEER |
60 | .includepath $ALICE_ROOT/MUON |
61 | .L $ALICE_ROOT/MUON/MUONrecoNtuple.C++ |
62 | MUONrecoNtuple(0,10,0,"galice.root") |
88cb7938 |
63 | |
64 | First event and last event are given by hand, but this will change. |
65 | |
66 | ============================================================ |
67 | How to run MUONCheck macro |
68 | ============================================================ |
69 | To check the content of a root data file, the MUONCheck |
70 | provides a ascii output on screen. |
71 | |
72 | To compile MUONCheck.C |
2058bf30 |
73 | .includepath $ALICE_ROOT/STEER |
74 | .includepath $ALICE_ROOT/MUON |
75 | .L $ALICE_ROOT/MUON/MUONCheck.C++ |
76 | |
278a86d5 |
77 | To print Kine : (default file is galice.root ) |
78 | MUONkine() |
88cb7938 |
79 | |
80 | To print hits : (default file is galice.root if not MUONhits("toto.root""); ) |
2058bf30 |
81 | MUONhits() |
88cb7938 |
82 | |
83 | To print digits : (default file is galice.root) |
2058bf30 |
84 | MUONdigits() |
88cb7938 |
85 | |
86 | To print rawcluster : (default file is galice.root) |
2058bf30 |
87 | MUONrecpoints() |
88cb7938 |
88 | |
89 | To print trigger : (default file is galice.root) |
2058bf30 |
90 | MUONTestTrigger() |
88cb7938 |
91 | |
92 | =========================================================== |
93 | Still working .............. |
94 | =========================================================== |