]>
Commit | Line | Data |
---|---|---|
4ebdd20e | 1 | The idea is to document the different steps needed to make spectra. |
2 | ||
3 | STEP 1: GRID CODE | |
4 | ================= | |
5 | ||
6 | In the directory grid you will find the code used to produce the trees. For | |
7 | info on how to use have a look at runAAF.C | |
8 | ||
9 | STEP 2: EXTRACT TREES | |
10 | ===================== | |
11 | ||
12 | The file produced on the grid contains the trees in the list. This means that | |
13 | one cannot direcrtly chain tghem. Therefore we use the code in extract_code to | |
14 | make new files with the trees only. | |
15 | ||
16 | Example: | |
17 | ./merge.sh aortizve/Trees_LHC10b_Pass3/files/ | |
18 | and | |
19 | ./merge.sh aortizve/Trees_LHC10b_Pass3/files/ HighPtDeDxV0 | |
20 | ||
21 | STEP 3: COMPILE LIBRARY | |
22 | ======================= | |
23 | ||
24 | cd lib | |
25 | make clean | |
26 | make | |
27 | ||
28 | ||
29 | STEP 4: DETERMINE RATIOS | |
30 | ======================== | |
31 | ||
32 | This is the biggest step. | |
33 | ||
34 | mkdir ratios_7tevb | |
35 | cd ratios_7tevb | |
36 | ||
37 | First we need to create the text files we want to analyze. | |
38 | Example: | |
39 | find /home/pchristi/work/analysis/7tev/ | grep HighPtDeDx_Tree | grep new | grep 117059 > 7tev_b_test.dat | |
40 | find /home/pchristi/work/analysis/7tev/ | grep HighPtDeDx_Tree | grep new > 7tev_b.dat | |
41 | ||
42 | find /home/pchristi/work/analysis/7tev/ | grep HighPtDeDxV0_Tree | grep new | grep 117059 > 7tev_b_test_v0.dat | |
43 | find /home/pchristi/work/analysis/7tev/ | grep HighPtDeDxV0_Tree | grep new > 7tev_b_v0.dat | |
44 | ||
45 | ln -s ../macros/run_code.C . | |
46 | ln -s ../macros/calibrate_de_dx.C . | |
47 | ||
48 | cp ../macros/drawText.C . | |
49 | Edit the text here. This macro is used to tag the pictures. | |
50 | ||
51 | Follow the example in the macro run_code.C | |
52 | ||
53 | Step 1-5 is about determining the dE/dx calibrations and the input data to the | |
54 | fits in pT. | |
55 | ||
56 | Now it is time for extracting the uncorrected ratios. | |
57 | ||
58 | ln -s ../macros/fit_yields_final.C . | |
59 | ||
60 | This is documented in fit_yields_final.C | |
61 | ||
62 | ||
63 | There is still things missing: | |
64 | - Option to generate tree when generating the data. | |
65 | - The code to estimate systematic errors | |
66 | - Efficiency code | |
67 | - Corrected fractions | |
68 | - Spectra and RAA code | |
69 | ||
70 | But that will come soon - hopefully next week. | |
71 | ||
72 | ||
73 | ||
74 | ||
75 | To zip: | |
76 | ||
77 | ls -1 README.txt lib/Makefile lib/*.cxx lib/*.h macros/*.C > tozip.txt | |
78 | tar -hcvzf analysis.tgz -T tozip.txt | |
79 |