]>
Commit | Line | Data |
---|---|---|
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. | |
88cb7938 | 16 | If you want to change the option or to define a new directory |
17 | for hits, you have to do the following before: | |
18 | root [0] gAlice->SetConfigFunction("Config( \"/home/martinez/aliroot/work_NewIO/test/\" , \"box\" );"); | |
19 | ||
20 | ============================================================ | |
21 | How to run MUON Digitalization | |
22 | ============================================================ | |
23 | To process the digitalization of hits the AliRunDigitizer | |
24 | framework is used: | |
25 | ||
2058bf30 | 26 | AliRunDigitizer * manager = new AliRunDigitizer(1,1); |
27 | manager->SetInputStream(0,"galice.root"); | |
e6dd99fc | 28 | AliMUONDigitizerv1* dMUON = new AliMUONDigitizerv1(manager) |
2058bf30 | 29 | manager->AddDigitizer(dMUON); |
30 | manager->Exec("deb"); | |
88cb7938 | 31 | |
32 | ============================================================ | |
33 | How to run MUON RecPoint clusterization | |
34 | ============================================================ | |
35 | aliroot -b << EOF | |
278a86d5 | 36 | .includepath $ALICE_ROOT/STEER |
37 | .includepath $ALICE_ROOT/MUON | |
38 | .L $ALICE_ROOT/MUON/MUONrawclusters.C++ | |
bf17dbfd | 39 | MUONrawclusters("galice.root",0,9999); |
40 | to Load | |
41 | gSystem->Load("$ALICE_ROOT/MUON/MUONrawclusters_C.so") | |
88cb7938 | 42 | |
43 | First event and last event are given by hand, but this will change. | |
44 | ||
45 | ============================================================ | |
46 | How to run MUON Trigger | |
47 | ============================================================ | |
ba9436c6 | 48 | .includepath $ALICE_ROOT/STEER |
49 | .includepath $ALICE_ROOT/MUON | |
50 | .L $ALICE_ROOT/MUON/MUONtrigger.C++ | |
bf17dbfd | 51 | MUONtrigger("galice.root",0,9999); |
88cb7938 | 52 | |
53 | ============================================================ | |
dcd2690d | 54 | How to run MUON Tracking reconstruction (old output) |
fb76e306 | 55 | =========================================================== |
2058bf30 | 56 | .includepath $ALICE_ROOT/STEER |
57 | .includepath $ALICE_ROOT/MUON | |
58 | .L $ALICE_ROOT/MUON/MUONrecoNtuple.C++ | |
ba9436c6 | 59 | MUONrecoNtuple(0,9999,0,"galice.root") |
88cb7938 | 60 | |
61 | First event and last event are given by hand, but this will change. | |
62 | ||
dcd2690d | 63 | =========================================================== |
64 | How to run MUON Tracking reconstruction (new output) | |
65 | =========================================================== | |
66 | .includepath $ALICE_ROOT/STEER | |
67 | .includepath $ALICE_ROOT/MUON | |
68 | .L $ALICE_ROOT/MUON/MUONTracker.C++ | |
bf17dbfd | 69 | MUONTracker("galice.root",0,9999); |
dcd2690d | 70 | |
71 | Output in MUON.Tracks.root using the new IO | |
72 | as a TClonesArray of AliMUONTrack | |
73 | ||
88cb7938 | 74 | ============================================================ |
75 | How to run MUONCheck macro | |
76 | ============================================================ | |
77 | To check the content of a root data file, the MUONCheck | |
78 | provides a ascii output on screen. | |
79 | ||
80 | To compile MUONCheck.C | |
2058bf30 | 81 | .includepath $ALICE_ROOT/STEER |
82 | .includepath $ALICE_ROOT/MUON | |
83 | .L $ALICE_ROOT/MUON/MUONCheck.C++ | |
bf17dbfd | 84 | To Load |
85 | gSystem->Load("$ALICE_ROOT/MUON/MUONCheck_C.so") | |
2058bf30 | 86 | |
278a86d5 | 87 | To print Kine : (default file is galice.root ) |
88 | MUONkine() | |
88cb7938 | 89 | |
90 | To print hits : (default file is galice.root if not MUONhits("toto.root""); ) | |
2058bf30 | 91 | MUONhits() |
88cb7938 | 92 | |
93 | To print digits : (default file is galice.root) | |
2058bf30 | 94 | MUONdigits() |
88cb7938 | 95 | |
96 | To print rawcluster : (default file is galice.root) | |
2058bf30 | 97 | MUONrecpoints() |
88cb7938 | 98 | |
99 | To print trigger : (default file is galice.root) | |
2058bf30 | 100 | MUONTestTrigger() |
88cb7938 | 101 | |
102 | =========================================================== | |
103 | Still working .............. | |
104 | =========================================================== |