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