Updated macros for PHOS alignment calculation
[u/mrichter/AliRoot.git] / PHOS / macros / AlignmentDB / README
CommitLineData
49c37ad8 1// $Id$
2
3
4This directory contains a set of scripts related to PHOS alignment.
b79eb35f 5Method used in 2015:
61) using minuit minimization find PHOS alignment matrixes which produce correct position of repers in ALICE.
7 This is done with CheckPHOSAlignment.C macros.
82) 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
18The PHOS alignment object (AliPHOSAlignData) contans as data members 3
19parameters:
20 number of modules
21 center position of each module in MARS
22 module orientation in MARS
23
24The script AliPHOSSetAlignment.C allows to set PHOS align object for
25two 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.
29The align object is being written to CBD to the local directory
30InitAlignDB/PHOS/Alignment/Geometry for the case 1 and directory
31DisAlignDB/PHOS/Alignment/Geometry for the case 2.
32This script uses a menu (TControlBar) to set and read the align
33object.
34
35The script AliPHOSDisalign.C runs simulations described in Config.C
36(100 electrons towards the PHOS apperture, all detectors but PHOS are
37switched off). Before running simulations, the PHOS align object is
38read from the CDB. The first argument of the function AliPHOSDisalign
39sets the upper level directory name containing the CBD object.
40
41When the disaligned PHOS geometry was created, one has to check it for
42oberlaps:
43 gGeoManager->CheckOverlaps(0.1);
44 gGeoManager->PrintOverlaps();
45
46Yuri Kharlov
475 March 2006