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