49c37ad8 |
1 | // $Id$ |
2 | |
3 | |
4 | This directory contains a set of scripts related to PHOS alignment. |
b79eb35f |
5 | Method used in 2015: |
6 | 1) using minuit minimization find PHOS alignment matrixes which produce correct position of repers in ALICE. |
7 | This is done with CheckPHOSAlignment.C macros. |
8 | 2) with macros MakeFinalAlignment.C one first creates ideal PHOS rotation matrixes, |
9 | then calculates correct rotation matrixes and finally calculates offses. Rotation matrixes |
10 | created in reconstruction and stored in ESD file can be ptinted with PrintPHOSMatrix.C macros. |
11 | |
12 | |
13 | |
14 | |
15 | |
16 | |
49c37ad8 |
17 | |
18 | The PHOS alignment object (AliPHOSAlignData) contans as data members 3 |
19 | parameters: |
20 | number of modules |
21 | center position of each module in MARS |
22 | module orientation in MARS |
23 | |
24 | The script AliPHOSSetAlignment.C allows to set PHOS align object for |
25 | two cases: |
26 | 1) PHOS geometry for the first LHC run 2007, one module with ideal |
27 | position; |
28 | 2) Full PHOS geometry with all 5 modules randomly displaced. |
29 | The align object is being written to CBD to the local directory |
30 | InitAlignDB/PHOS/Alignment/Geometry for the case 1 and directory |
31 | DisAlignDB/PHOS/Alignment/Geometry for the case 2. |
32 | This script uses a menu (TControlBar) to set and read the align |
33 | object. |
34 | |
35 | The script AliPHOSDisalign.C runs simulations described in Config.C |
36 | (100 electrons towards the PHOS apperture, all detectors but PHOS are |
37 | switched off). Before running simulations, the PHOS align object is |
38 | read from the CDB. The first argument of the function AliPHOSDisalign |
39 | sets the upper level directory name containing the CBD object. |
40 | |
41 | When the disaligned PHOS geometry was created, one has to check it for |
42 | oberlaps: |
43 | gGeoManager->CheckOverlaps(0.1); |
44 | gGeoManager->PrintOverlaps(); |
45 | |
46 | Yuri Kharlov |
47 | 5 March 2006 |