4 This directory contains a set of scripts related to PHOS alignment.
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.
18 The PHOS alignment object (AliPHOSAlignData) contans as data members 3
21 center position of each module in MARS
22 module orientation in MARS
24 The script AliPHOSSetAlignment.C allows to set PHOS align object for
26 1) PHOS geometry for the first LHC run 2007, one module with ideal
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
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.
41 When the disaligned PHOS geometry was created, one has to check it for
43 gGeoManager->CheckOverlaps(0.1);
44 gGeoManager->PrintOverlaps();