49c37ad8 |
1 | // $Id$ |
2 | |
3 | |
4 | This directory contains a set of scripts related to PHOS alignment. |
5 | |
6 | The PHOS alignment object (AliPHOSAlignData) contans as data members 3 |
7 | parameters: |
8 | number of modules |
9 | center position of each module in MARS |
10 | module orientation in MARS |
11 | |
12 | The script AliPHOSSetAlignment.C allows to set PHOS align object for |
13 | two cases: |
14 | 1) PHOS geometry for the first LHC run 2007, one module with ideal |
15 | position; |
16 | 2) Full PHOS geometry with all 5 modules randomly displaced. |
17 | The align object is being written to CBD to the local directory |
18 | InitAlignDB/PHOS/Alignment/Geometry for the case 1 and directory |
19 | DisAlignDB/PHOS/Alignment/Geometry for the case 2. |
20 | This script uses a menu (TControlBar) to set and read the align |
21 | object. |
22 | |
23 | The script AliPHOSDisalign.C runs simulations described in Config.C |
24 | (100 electrons towards the PHOS apperture, all detectors but PHOS are |
25 | switched off). Before running simulations, the PHOS align object is |
26 | read from the CDB. The first argument of the function AliPHOSDisalign |
27 | sets the upper level directory name containing the CBD object. |
28 | |
29 | When the disaligned PHOS geometry was created, one has to check it for |
30 | oberlaps: |
31 | gGeoManager->CheckOverlaps(0.1); |
32 | gGeoManager->PrintOverlaps(); |
33 | |
34 | Yuri Kharlov |
35 | 5 March 2006 |