forked from AliceO2Group/AliceO2
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME_mft
More file actions
70 lines (39 loc) · 1.75 KB
/
Copy pathREADME_mft
File metadata and controls
70 lines (39 loc) · 1.75 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
How to perform a simulation chain with the MFT detector
-------------------------------------------------------
1) simulation:
10 events each with 100 muons using GEANT3 as transport engine:
./run_sim_mft.sh 10 100 TGeant3
2) digitization:
./run_digi_mft.sh 10 100 TGeant3 1 50.e3
- the fourth parameter is "1=true" to use the ALPIDE digitization
- the fifth <rate> parameter can be zero, which means the digitization is
done in "triggered" mode, when all digits are available at once, or
it can have a value in Hz (50.e3 = 50kHz) which means that the
digitization is done in continuous mode, per Read-Out frame at 50kHz
collision frequency
3) clusterization:
./run_clus_mft.sh 10 100 TGeant3
4) check the digits:
root.exe
.x CheckDigits_mft.C+(10,100,"TGeant3")
5) check the clusters:
root.exe
.x CheckClusters_mft.C+(10,100,"TGeant3")
6) launch the tracker
./run_trac_mft.sh 10 100 TGeant3 <rate>
Conversion to/from raw format
-----------------------------
1) rename the MC simulations and parameter files as o2sim.root and o2sim_par.root (keep also the old file names if the steps above are to be executed too)
2) run the digitization
./run_digi_mft.sh
this will produce the files o2digi_mft.root and o2sim_grp.root
copy the file o2digi_mft.root to AliceO2_TGeant3.digi_<nev>ev_<nmu>mu.root for
the clusterization from the ROOT digits directly
previous point 2) becomes obsolete!
3) convert digits to raw format
root.exe -b -q run_digi2raw_mft.C+
this will produce the file o2digi_mft.raw
4) run clusterization from digits in raw format
root.exe -b -q 'run_clus_mftSA.C+("o2clus_mft_raw.root","o2digi_mft.raw",1)'
Note: the macro CheckClusters_mft.C can not be executed because the MC
information is missing when clusterizing from the raw format digits.